High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i get two channel's data simultaniously using 5124?

hi,
i am using PXI 5124 for an application to acquire two channel data, i am using scope read vi for getting the acquired waveform, but i am able to get only one channel data,
i need to get two channels data in two columns simultaniously how to do this?  
0 Kudos
Message 1 of 3
(6,517 Views)

Hello Ak ats,

 

The PXI-5124 has two simultaneously sampled channels which is what you are looking for. Now, to be able to acquire data from two channels simultaneously, you would have to specify the channel numbers in the Channel Name input of the "ni_Scope Multi Read Cluster.VI" This VI has two instances: The Single Waveform and the Multi Waveform. You would need to select the Multi Waveform in order to display data of two channels.Please refer to the Getting Started Example that ships with the NI Scope driver for a description of how this is used. When specifying the channel name, you could use the following to acquire from both channels: 0,1.

The getting started example could be found in the following directory (C:\Program Files\National Instruments\LabVIEW 7.1\examples\instr\niScope\niScope EX Getting Started.vi)

Please let me know if you have any further questions.

Ayman K

0 Kudos
Message 2 of 3
(6,507 Views)
Hello,
 
This is what we need to do too. However, we are using the NI PCI-5112 DAQ. It also comes with a Getting Started Example. However, we need to use the example for C++ and NOT the LabView example. Can we use this example to get data from two channels simultaneously? Also, we need to output the data into a text file or some other type of document. Can we do that with this example as well? We don' have much background in C++ so any help with how we can modify the code will be very helpful.
 
Our project is to analyze the data, however, we have to first get the data before we can analyze it. We have spent so much time just trying to get data from two channels simultaneously and output the data as a text file.
 
Our objective now is to get data from two channels simultaneously and output the data as a text file.
 
Any help will be greatly appreciated.
 
Thanks.
0 Kudos
Message 3 of 3
(6,351 Views)