# GetSVIDValue

### int GetSVIDValue(int SVID, ref string pszCurrentValue)

EZGemPlus 라이브러리에 등록된 특정 \*\*SVID의 현재 설정값(Current Value)\*\*을 문자열 형식으로 읽어옵니다. 호스트(Host)가 수시로 장비의 상태를 모니터링하거나 로그를 기록할 때 내부 데이터를 조회하는 용도로 사용됩니다.

Parameters

<table data-header-hidden><thead><tr><th width="252" valign="top"></th><th width="102" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Name</td><td valign="top">Type</td><td valign="top">Description</td></tr><tr><td valign="top">SVID</td><td valign="top">int</td><td valign="top">대상 SVID</td></tr><tr><td valign="top">pszCurrentValue</td><td valign="top">ref string</td><td valign="top">대상 SVID의 설정된 Current Value</td></tr></tbody></table>

```csharp
int targetSvid = 2005; // 예: Chamber Temperature SVID
string currentValue = "";

// SVID 2005번의 현재 데이터 값 조회
int result = m_gem.GetSVIDValue(targetSvid, ref currentValue);

if (result >= 0)
{
    Console.WriteLine($"[SVID {targetSvid}] Current Value: {currentValue}");
}
else
{
    // SVID가 등록되지 않았거나 통신 라이브러리 오류 발생 시
    Console.WriteLine($"Error retrieving SVID value. Code: {result}");
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nviasoft.gitbook.io/nviasoft-docs/api-reference/item-parsing/getsvidvalue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
