www.vtiinstruments.com
EX1629 Command Set
179
vtex1629_get_sample_count
F
UNCTION
P
ROTOTYPE
ViStatus vtex1629_get_sample_count (ViSession
vi
, ViPInt32
preTrigSampleCount
, ViPInt32
postTrigSampleCount
);
F
UNCTION
P
ARAMETERS
vi
= contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
preTrigSampleCount
= an integer return value indicating the currently configured pre-trigger sample count. Valid
return values: 0 to 400000000.
postTrigSampleCount
= an integer return value indicating the currently configured post-trigger sample count.
Valid return values: 0 to 400000000.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function queries and returns both the pre-trigger and the post-trigger sample count for the EX1629.
Specifically, this is the number of samples that will be taken per TRIG event. If “0” is returned, the sample count is
infinite.
NOTE
Pre-trigger sampling is not currently supported. Setting the
preTrigSampleCount
to a value other
than zero (0) will result in an error.
E
XAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 pretrig, posttrig;
…
status = vtex1629_get_sample_count(instrumentHandle, &pretrig, &posttrig);
Содержание EX1629
Страница 310: ...VTI Instruments Corp 310 EX1629 Command Set...
Страница 342: ...VTI Instruments Corp 342 EX1629 Onboard Memory...