Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Stream vs Digital Single/Multiple Writer/Reader APIs

Dear All,
 
CNiDAQmxTask::Stream  vs CNiDAQmxDigitalSingleChannelWriter::WriteSingleSampleMultiLine()  OR
CNiDAQmxDigitalSingleChannelReader::ReadSingleSampleMultiLine()  [and other variation of these APIs]
 
 
I am aware that these two function deal with reading and writing sample/s.
Please explain the difference between two functions (green vs blue) in terms of behaviour.
Is there a general rule or guideline regarding the usage?
 
 
Thanks,
A
0 Kudos
Message 1 of 2
(6,372 Views)
Hi A,
 
CNiDAQmxTask::Stream exposes a data stream on a CNiDAQmxTask that can be used to control reading and writing behavior and can be used in conjunction with reader and writer classes to read or write samples to or from a DAQmx task. This class is a sub-object of CNiDAQmxTask.
 
For specific definitions of these different methods and declarations, refer to the DAQmx .NET Framework 2.0 Help found in you Start Menu under National Instruments » NI-DAQ. Here you can find the specific classes of interest and associations.
PBear
NI RF
0 Kudos
Message 2 of 2
(6,347 Views)