Dear all
I'm a new user of labview. I want to generate 3 different waveform from the file on 3 chanels Simultaneously. Referring to the examples in the labview(there are only examples of single channel in my version),I wrote the file below(multi-AO.vi).But an erro dialog message(the specified resource is reversed.) show up when running it.
my email: tyututy@126.com
waiting for your reply,thank you
我是一个新手,现在想把文件中的数据在3通道中用waveform同步输出
参照labview中的例子,写了下面的程序(multi-AO.vi),运行时出错(错误对话框显示:the specified resource is reversed.)
请教高人指点一下
我的邮箱:tyututy@126.com
谢谢 pine
不好意思,忘了说明,physical I/O要分别选择Dev1/ao0 Dev1/ao1 Dev1/ao2
我的labview中,没有多通道的例子
addition:
the parameter need to be set
the physical I/O of channel x: dev1/ao0
the physical I/O of channel y: dev1/ao1
the physical I/O of channel z: dev1/ao2
the structure of the data file is
x1 y1 z1
x2 y2 z2
x3 y3 z3
...
补充:
文件里的参数需要设定一下
三个通道的physical i/o 需要在框图中分别选择为dev1/ao0 dev1/ao1 dev1/ao2
数据文件的结构为:
x1 y1 z1
x2 y2 z2
x3 y3 z3
...
也可以设置输出通道为 Dev1/ao0:2, 这意味着Dev1/ao0为x信号,Dev1/ao1为y信号,Dev1/ao2为z信号,再把x,y,z三组信号合并成一个数组作为输出信号。这样你就只需要一个while循环了,而且不用做额外的同步处理。