www.vtiinstruments.com
EX1629 Command Set 199
vtex1629_load_stored_config
FUNCTION PROTOTYPE
ViStatus vtex1629_load_stored_config (ViSession vi, ViInt32 digestArraySize, ViInt8 _VI_FAR digest[],
ViPInt32 digestActualSize);
FUNCTION PARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
digestArraySize = contains the size of the allocated digest array. For consistency, the client application should
allocate VTEX1629_MAX_DIGEST_LENGTH bytes.
digest[] = the stored configuration’s digest.
digestActualSize = the actual configuration digest size.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function loads the stored configuration from the instrument’s non-volatile memory. It also returns a copy of the
stored configuration digest, which is a digital signature representing the actual configuration data.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 digestActualSize;
ViInt8 digest[VTEX1629_MAX_DIGEST_LENGTH];
…
status = vtex1629_load_stored_config(instrumentHandle,
VTEX1629_MAX_DIGEST_LENGTH,
&digestActualSize);