Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

simultaneous analog input and analog output

Hi, I'm new to LabVIEW and am trying to figure out a simple program.  I need to generate a sine wave and output it through an anlog output channel, which is connected to a motor, and then I have the output of the motor circuit connected to an analog input channel, which needs to be sent to a waveform graph.  I haven't used LabVIEW much, so I tried using DAQ Assistants to connect my analog input and output channels.  I have one DAQ Assistant for the analog output, and one for the analog input.  However, I've found that only one DAQ Assistant can be run at one time.  Is there a way that I could connect these two DAQ Assistants at all, so that I could run them simultaneously?!  I've never programmed in C++ before, and I'm not really sure how to do much else in LabVIEW, but if there is a simple solution to this, I would be willing to give it a shot!  I appreciate the help!
 
Thanks a lot,
alissa
0 Kudos
Message 1 of 6
(6,792 Views)
Which DAQ card are you using??
with this info, we can point to a specfic solution
 
There are examples shipped with LabVIEW.
In it, go to Find Examples>> Hardware input output>>DAQmx>>Synchronization>>Multifunction>>look at " Multi-Function-Sync-AI-AO.vi"
 
This vi will do just what you want to achieve
 
Any doubts, do ask
 
Regards,
Dev
0 Kudos
Message 2 of 6
(6,779 Views)

Thanks for this! Although extensive, the help in LabVIEW can be hard to negotiate.

0 Kudos
Message 3 of 6
(6,312 Views)

Hi,

 

I am also trying to simultaneously read analog input and send analog output with LabVIEW 2012 and an X-Series Multifunction DAQ. I tried to look for this example but in the Synchronization folder all I have is Analog Input Synchronization examples. I tried to looking on ni.com but didn't come up with anything. Is there another way I can access this example? Or is there an example in the newer version of LabVIEW that would help me with this?

 

Thanks

 

Quinn

0 Kudos
Message 4 of 6
(5,865 Views)

To find those older examples start here.

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 5 of 6
(5,855 Views)

This VI does not exist.

0 Kudos
Message 6 of 6
(4,069 Views)