F
P
UNCTION
ROTOTYPE
ViStatus vtex1629_get_sample_count (ViSession vi, ViPInt32 preTrigSampleCount, ViPInt32
postTrigSampleCount);
F
P
UNCTION
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
I
R
V
ATA
TEM
ESET
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 Command Set
vtex1629_get_sample_count
www.vtiinstruments.com
179
Need help?
Do you have a question about the EX1629 and is the answer not in the manual?