Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB 6008 multi analogue input

I am attempted to get 2 differential and 4 single ended measurements from a single USB-6008.
to measure the level of 2 tanks and the calling of the pumps from 4 relays

I have successfully charted either Dev1/ai0 or Dev/ai1 diffrential but cannot get chart to plot both channels at the same time, not can I get the output from the read to update 2 graphical tank outputs at the same time.

I am at a loss to understand how the base task configuration utilty links to my vi as I will somehow need to change the input from differential to single inside my vi to show the status of the pumps.

Can anyone help

Dan
0 Kudos
Message 1 of 5
(3,738 Views)
Dan,

Answer as per my mail to you however here is the sample VI that can be used for this setup. Just incase anyone on the Forum looks for this in the future.

Kind regards

Joe

NI-UK
0 Kudos
Message 2 of 5
(3,713 Views)
Is there anyway to do this in C++? I have a USB-6009 and I want to get differential for Channels ai0 and ai1, but single ended for ai2 and ai6 seperately.
0 Kudos
Message 3 of 5
(3,633 Views)
You can do this in C++ a couple of different ways.  If you are not on Windows, you should use the DAQmx Base C API to write this application.  However, if you are on windows, and using CVI, or Visual Studio, you can do this in DAQmx Base, through the C API, or DAQmx through the C API.  I would suggest using DAQmx if you are on windows.
 
Also, if you have Measurement Studio, then you have access to our C++ API for DAQmx, allowing you to use classes, as well as supplying graphs and charts to display your data.
0 Kudos
Message 4 of 5
(3,607 Views)
Already do this with my own classes Tiptop Smiley Wink

Question was answered here:
http://forums.ni.com/ni/board/message?board.id=250&message.id=15306#M15306

Thanks!


0 Kudos
Message 5 of 5
(3,599 Views)