取消
显示结果 
搜索替代 
您的意思是: 

DAQmx Create Multiple Channels

已解决!
转到解答

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 项奖励
1 条消息(共 9 条)
5,928 次查看

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 项奖励
2 条消息(共 9 条)
5,879 次查看

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 项奖励
3 条消息(共 9 条)
5,873 次查看
解答
已被主题作者 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 channel吃惊表情


"Should be" isn't "Is" -Jay
0 项奖励
4 条消息(共 9 条)
5,868 次查看

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 项奖励
5 条消息(共 9 条)
5,824 次查看
When you click on the control, are you selecting 'Browse' or just viewing the default list of single channels?
0 项奖励
6 条消息(共 9 条)
5,820 次查看

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

0 项奖励
7 条消息(共 9 条)
5,817 次查看
You have to click on browse.
8 条消息(共 9 条)
5,810 次查看

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 项奖励
9 条消息(共 9 条)
5,802 次查看