LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Create Multiple Channels

Solved!
Go to solution

I have downloaded the NI Bridge-Continuous Input Program and am trying to modify it slightly to allow for multiple Wheatstone bridges to be connected. Currently, it has the option to connect to a single channel but not to acquire information from multiple channels simultaneously. All of the information in terms of shunt calibration, bridge information, and waveform graph output will remain the same. Ideally, the program will show the largest value in the final waveform graph but it's fine if it shows separate graphs for each of the two inputs. I have been playing around with it without much luck although if I start from scratch and use the DAQ assistant I am able to get the information without trouble. Any help would be much appreciated.

0 Kudos
Message 1 of 9
(5,027 Views)

tumblingari,

 

Since both channels you are reading from are performing the same task with the same parameters, you simply need to specify more than one channel. This link will instruct you on how to do so

0 Kudos
Message 2 of 9
(4,978 Views)

For some reason the link you had sent doesn't work. Would you mind sending it again?

 

In terms of your suggestion, that is exactly what I want to do but I am not sure exactly how whether it is simply right clicking and selecting a preferance or if there is something more to it.

0 Kudos
Message 3 of 9
(4,972 Views)
Solution
Accepted by topic author tumblingari

Actually you are 99.99% of the way there.

 

You just need 4 characters

Capture.PNG

The Name filtering on that control is even properly set to allow multiple selections so just shift click the second channelSmiley Surprised


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 9
(4,967 Views)

For some reason, it still wont let me input two values. I tried using shift select and it wouldn't allow me to select multiple items. I also tried typing it in (cDAQ1Mod1/ai0:ai1) and got an error code 200498 saying the syntax for a range of objects in the input string is invalid. I'm not sure why this is.

0 Kudos
Message 5 of 9
(4,923 Views)
When you click on the control, are you selecting 'Browse' or just viewing the default list of single channels?
0 Kudos
Message 6 of 9
(4,919 Views)

It has 'Browse' on the top and then the other 4 options.

0 Kudos
Message 7 of 9
(4,916 Views)
You have to click on browse.
Message 8 of 9
(4,909 Views)

It works!!! Thank you guys so much for all the help. Also, is there an easy way to get it to display the max force (no matter which channel it's coming from) versus having two lines on the waveform?

0 Kudos
Message 9 of 9
(4,901 Views)