NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
KECHE
Posts: 8
0 Kudos

how to generate 3 different waveform on 3 chanels Simultaneously(请教一下如何把文件中的数据,在3通道中用waveform同步输出 )

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

 

我是一个新手,现在想把文件中的数据在3通道中用waveform同步输出

参照labview中的例子,写了下面的程序,可是出错(错误对话框显示:the specified resource is reversed.)

请教高人指点一下

我的邮箱:tyututy@126.com

Member
KECHE
Posts: 8
0 Kudos

回复: how to generate 3 different waveform on 3 chanels Simultaneously(请教一下如何把文件中的数据,在3通道中用waveform同步输出 )

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

...

Knight of NI
RavensFan
Posts: 13,226

Re: how to generate 3 different waveform on 3 channels Simultaneously

First, you should have posted this message in the LabVIEW board rather than the LabVIEW Beta version forum.

 

Second, you should post the error number.  I'm sure it must be -50103.

 

Third, you should search the forums for error 50103.  There are hundreds of messages about it.  http://forums.ni.com/ni/search?board_id=170&submitted=true&q=error+50103

 

The reason is you can't create 3 separate tasks all using the same clock.  You need to create a single DAQmx task that contains all 3 channels.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page