Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

NI DAQ function reference question: GPCRT_READ_BUFFER

In the NI Daq function reference manual, the GPCTR_READ_BUFFER function has the variable 'buffer' as the destination buffer for the data, listed as u32. Should this be [u32] instead?
Thanks
rd
0 Kudos
Message 1 of 4
(3,879 Views)

Apparantly, i have an old manual- not only is buffer [u32], there is an additional variable in the list: &NumPtsToRead. Sorry, i know this isnt very helpful.

0 Kudos
Message 2 of 4
(3,875 Views)
 Hi rd,

 The variable buffer is an array of u32 where the conversion samples are stored.
 The variable numPtsToread specifies how many points to read from the buffer.

 The latest version of the NI-DAQ drivers is 7.4.4, the manual should say version 7.x at the top.

 
 Thanks and  have a great afternoon!
 
 Best regards,

 MatthewW
 Applications Engineer
 National Instruments

0 Kudos
Message 3 of 4
(3,863 Views)

 Hi rd,

 The variable buffer is an array of u32 where the conversion samples are stored.
 The variable numPtsToread specifies how many points to read from the buffer.

 The latest version of the NI-DAQ drivers is 7.4.4, the Traditional NI-DAQ C Function Reference help manual will be installed when you install those drivers.
 
 Thanks and  have a great afternoon!
 
 Best regards,

 MatthewW
 Applications Engineer
 National Instruments

0 Kudos
Message 4 of 4
(3,862 Views)