08-05-2009 11:54 PM
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().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
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
...
我是一个新手,现在想把文件中的数据在3通道中用waveform同步输出
参照labview中的例子,写了下面的程序,可是出错(错误对话框显示:the specified resource is reversed.)
请教高人指点一下
我的邮箱:tyututy@126.com
文件里的参数需要设定一下
三个通道的physical i/o 需要在框图中分别选择为dev1/ao0 dev1/ao1 dev1/ao2
数据文件的结构为:
x1 y1 z1
x2 y2 z2
x3 y3 z3
...
08-06-2009 01:24 AM
您好,
在一个VI里不能对I/O设备同时调用多个DAQmx读写操作。您可以把三个任务分别写到三个SubVI中,或者把三个任务集成成一个任务。
08-06-2009 02:18 AM
Hi KECHE,
here is an example written in LabVIEW 8.6.1. I have used a simulated I/O card just to see if the program can run successfully. You should check your program and adjust where to make necessary changes.
Hope it can help you.
08-06-2009 08:12 PM
Thank MY NI for your help.
I merged the three tasks into one, and it work out.
谢谢MY NI 的帮助
通过合并三个任务为一个,我的问题解决了