Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronizing two analog signals

Hi,

I'm using a USB-4431 to receive a analog signal from an accelerometer and send an analog signal.
I'm trying to implement the synchronization of this two signals, using the manner see in the pictures.
But I notice that this device don't allow synchronization, and exist a delay between the two signals. Is there a way to know through software that delay?
I also use the function "wait" to ensure that the output and the input take the same time to write and read, respectively, but I don't know if it's a good manner.

I hope you can understand my English, and can help me.

Thanks,
Silvia

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

Hi,

 

The "wait" function only waits a fixed period to execute next iteration. It's used to let time to processor to make other tasks. So you can't fixed the period of your while loop iteration with this function. I advise you to use "Wait Until Next ms Multiple Function".

Another solution is to use "Timed loop" whereas "While loop". Indeed, you can take the time of an iteration and information about it.

 

I wish it will be helpful for you

 

Best Regards

David S.| Certified LabVIEW Associate Developer
National Instruments France


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