I have a problem understanding many DAQ functions that seem to need arrays of a size twice what is
expected.
1st example: WFM_Op needs an output vector twice the size necessary for a single channel. Only the
1st half of the array is used for the waveform generation.
2nd example: SCAN_Op needs a receiving buffer, also twice the size. The resulting is an array of
short whose resulting content in single channel is 0,A1,0,A2,0,A3 ('A' being the data on 1st
channel) and in dual channel is 0,A1,0,B1,0,A2,0,B2,0...
Even if I compile some of the sample codes found in ...\Samples\Ao and A1 I need to double the
array sizes or they won't compile. Has the array type been changed from short to int and the
documentation not updated or
am I completely missing the point ?
(Using CVI 7.0 with NI-DAQ 7.2)
--
Guillaume Dargaud
http://www.gdargaud.net/
"Electrical force is defined as something which causes motion of electrical charge; an
electrical charge is something which exerts electric force." - Arthur Eddington (1882-1944),
British astronomer.