www.vtiinstruments.com
EX1629 Command Set 157
vtex1629_get_fifo_count
FUNCTION PROTOTYPE
ViStatus vtex1629_get_fifo_count (ViSession vi, ViPInt32 pageCount);
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.
pageCount = an integer return value that indicates the current number of pages stored in the FIFO.
DATA ITEM RESET VALUE
Not applicable to this function.
DESCRIPTION
This function queries the EX1629 for the current FIFO memory page count. One page of data in the FIFO
corresponds to one scan, or sample of all enabled channels, taken by the instrument.
NOTE When this function is used, data may be buffered which may lead to a lower count being returned.
This function is best used as a “sanity check” to ensure that data is being captured. To accurately
return data, the vtex1629_read_fifo or vtex1629_read_fifoEx should be used.
EXAMPLE
ViSession instrumentHandle;
ViStatus status;
ViInt32 fifo_count;
…
status = vtex1629_get_fifo_count(instrumentHandle, &fifo_count);