LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ assistant sync

I'm launching a website webshaker.ucsd.edu and I'm having trouble with LabVIEW's DAQ assistant.

 

  • When I run the VI manually, it seems to sync the DAQ input and DAQ output just fine. But when it's run continously, they fall out of sync.  
  • Sometimes the outputs don't show. If I run the same inputs a second time, the output shows up just fine. 

Thanks for the help

Download All
0 Kudos
Message 1 of 4
(3,119 Views)

1. You should NOT use the Run Continuous function.  That is a debug tool, not a way to properly run your code.  If you should be constantly sending and reading data, then your code should be inside of a loop.

2. You really should not be using the DAQ Assistant here.  You are trying to sychronize clocks which is an advanced thing that you should be doing with the real DAQmx API.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 4
(3,096 Views)

I'm not too familiar with the NI-DAXmx functions. what's the best way to rewrite this with the DAQ function nodes?

0 Kudos
Message 3 of 4
(3,080 Views)

Read this excellent White Paper.

 

Bob Schor

0 Kudos
Message 4 of 4
(3,070 Views)