LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting graphic data to analog data

Solved!
Go to solution

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

0 Kudos
Message 1 of 4
(2,681 Views)
Solution
Accepted by topic author UdeS

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
0 Kudos
Message 2 of 4
(2,671 Views)

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

0 Kudos
Message 3 of 4
(2,663 Views)

Hello UdeS,

 

I found this example that maybe could help you.

 

 

Mr.O
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,633 Views)