LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send and receive a signal using daqmx and asynchronous call

Hi to all,

     I have attached a vi to send and receive a signal from data acquisition device, however i can control the sampling rate or i can send a signal to the call vi but i can't receive the reading signal back i don't know why?

is that somebody can explain about this?

Thanks in advance,

Regards,

Dinesh

Download All
0 Kudos
Message 1 of 2
(2,318 Views)

To get the Receive data VI to work add the following

Snap3.png

 However, your VIs may have other problems:

  1. Your send data does not append any new data with the old data, there is no difference in your outputs. (Same with your receive data)
  2. You are open and closing the DAQ reference multiple times in your receive data loop, you should open once, close once.
  3. Your send data will run 501 times before it finishes one run, is this really what you want?
  4. Get rid of all of the Waits, the DAQ device will control the loop timing.

mcduff

 

 

 

0 Kudos
Message 2 of 2
(2,309 Views)