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
UdeS
Posts: 2
0 Kudos
Accepted Solution

Converting graphic data to analog data

[ Edited ]

Hello,

 

I have to realize a LabView program to command a step by step motor.

My problem is that the command sent to the motor is not the instruction I give to the program. I found that the error is made when the data are converted from graphics to analog data.

I don't understand what is the problem. Is the problem comes from the functions I use to convert the data ? (see my attached picture of the program)

 

Thanking you

Member
CCornish
Posts: 42
0 Kudos

Re: Converting graphic data to analog data

[ Edited ]

Try using a build array node in place of the build cluster node and convert from cluster to array node.

 

Normally, the data type to be expected by the Analog 1D Waveform N Channels N Samples VI is an array of waveforms.

 

Also, you do not include your basic DAQ setup in the image; it would be helpful to see how you are configuring the device.

CLD | CTD
LabVIEW 2011 SP1 | TestStand 4.5
Member
UdeS
Posts: 2
0 Kudos

Re: Converting graphic data to analog data

now you can see the entire program. Tell me if there is something wrong.

Member
macncheese
Posts: 50
0 Kudos

Re: Converting graphic data to analog data

Hello UdeS,

 

I found this example that maybe could help you.

 

 

Mr.O
Applications Engineer
National Instruments
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