# SaveConfigFile

### void SaveConfigFile(string strConfigFile)

EZGemPlus에 현재 설정된 파라미터의 설정 값을 원하는 파일명으로 저장하는 함수.

저장한 파일은 SetConfigFile함수를 이용하여 읽어 들일 수 있습니다.

Parameters

<table data-header-hidden><thead><tr><th valign="top"></th><th 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">strConfigFile</td><td valign="top">string</td><td valign="top">파일명</td></tr></tbody></table>

{% hint style="info" %}
절대경로, 상대경로 모두 가능합니다.
{% endhint %}

```csharp
m_gem.SaveConfigFile("TEST");
```

<figure><img src="/files/2CGU1trybTQmg9t24hVj" alt=""><figcaption></figcaption></figure>

TEST파일이 생성되었고 Config관련 설정값을 확인할 수 있습니다.

```
IP=127.0.0.1 
PORT=5000 

#SECSI_PROPERTIES 
COMM=1 
BAUDRATE=9600 
PARITYBITS=NONE 
DATABITS=8 
STOPBITS=1 

#TIMER_PROPERTIES 
T1=0 
T2=0 
T3=10 
T4=0 
T5=10 
T6=10 
T7=10 
T8=10 
LINKTESTINTERVAL=60 
RETRY=0 
```


---

# 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/undefined-1/saveconfigfile.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.
