Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem getting analog data out from labview to CYDAS1602 DAQ card

Hi all,

I am generating a signal through labview and giving that signal to an analog output vi for CYDAS 1602 (PCI DAQ card). The problem is when I see the output of the Analog out vi, i get only 0 or 1 and not the actual signal value which is generated through Labview. Can anyone help with this?
I have attached the entire example vi.

Thanks,
Shubham
0 Kudos
Message 1 of 5
(3,612 Views)

What is the type of data that the AOut.vi takes as an analog signal? Is it a scalar or an array. The thing with dynamic data as the express VI generates, you can wire it to anything. That doesn't make it work though. Unless the input requires an array, what you are seeing is expected since the dynamic data would be converted to a single scalar. If the AOut does have a scalar as an input, you would have to convert the dynamic data to a waveform data type, use the Get Waveform Components to get the Y array, and then place your function inside a for loop to autoindex each element of the y array. I have no idea what kind of frequency out this would produce. You would need to use a function that you can specify a clock.

Also, in the future, you should not post questions about this hardware to this board. This is for GPIB, serial, etc. types of instruments. Since it's not NI hardware, the LabVIEW board would be the best place to post. You might even get a response from someone who has used this hardware.

0 Kudos
Message 2 of 5
(3,608 Views)
Thanks, I think the Aout.vi takes an input as an unsigned word. The Aout.vi is provided by the company which makes the card. Can anyone help me make a vi which will save the time of all these datatype conversion?
0 Kudos
Message 3 of 5
(3,596 Views)
Hi skb,

Let's continue with your other post here.
David L.
Systems Engineering
National Instruments
0 Kudos
Message 4 of 5
(3,567 Views)
yeah,I will continue the post on the other forum.

0 Kudos
Message 5 of 5
(3,564 Views)