Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Write & Display multiple channels

Hi, In the attached VI I am trying to syncronise the read the write of a single AO channel and multiple AI channel. While I try to display the data (AI) I am unable to see all the 3 channels that I have acquired and save them in a single file. Please advise. Best, BSG
0 Kudos
Message 1 of 2
(3,044 Views)

Hi Biswa,

 

Good Morning and I hope your well today.

 

Thanks for the post.

 

Your code looks correct, but I would ask if you could try running the example code.

 

In LabVIEW NI Example Finder (Help>>Find Examples>>...) Hardware Input/Output>>DAQmx>> Synchronization >> MultiFunction >> Multi-Function Synch AI-AO.vi.

 

 The for the input physical channel you can type something like  Dev1/ai0:3. Then change the Ni-DAQmx read to Nchannels. The chart should then display x number of lines. If you may need to extend the plot legend. (top right of the chart).

 

Please let me know if the example works correctly, or even if you change the chart to an array - does all the data appear appear for the channels? If not, then maybe you've not selected all the channels.

 

Hope this helps,  

 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 2
(3,014 Views)