STAR-LINK™
34
3
METHOD SAVE
PURPOSE
Saves the control parameters to the Hard Disk.
DESCRIPTION
This method allows saving to the Hard Disk the control configuration parameters.
This method (with the Load method) implements a kind of persistence of the control.
You can save more than one configuration file, and then load the correct file you
need.
IDL
[id(12), helpstring("method Save")] HRESULT Save([optional]VARIANT Path);
INPUT PARAMETERS
VARIANT Path
It is the path of the directory where the control can store its configuration file
(RFNCCTL.CFG).
OUTPUT VALUE
None
EXAMPLE
...
‘ Setting control parameters
RFNCCTL.CommPort = “COM1”
RFNCCTL.BaudRate = “38400”
RFNCCTL.Timeout = 100
RFNCCTL.Synchro = FALSE
RFNCCTL.Timer = 200
‘ Save control parameters
RFNCCTL.Save “C:\ RFNCCTL\Settings”
...
Commentaires sur ces manuels