VTI Instruments Corp.
116
EX1629 Command Set
vtex1629_enable_logging
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_enable_logging (ViChar _VI_FAR
filename[]
, ViBoolean
append
);
F
UNCTION
P
ARAMETERS
filename
= an input string that specifies the file to which logging data will be recorded. The format may be simply a
file name (“ex1629_log”) or an absolute path (“C:\vxipnp\vtex1629\ex1629_log.txt”). If a file name (relative path)
is provided, the file will be created in the current working directory of the application.
append
= a Boolean input value that specifies if log results will be appended to an existing file. A value of
VI_TRUE will cause logged information to be appended to an existing file. Otherwise, any previous data will be
overwritten.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
E
XAMPLE
ViStatus status;
ViString fileName = “myTemporaryFile”;
ViBoolean append = VI_TRUE;
…
status = vtex1629_enable_logging (fileName, append);
if (status < VI_SUCCESS)
{
<inform the user the API call failed>
}
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...