Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66749

sy

$
0
0

Dear all, 

 

I need help to solve my problem which about synchronize the input voltage with output. I am trying to write a code that can synchronize the output voltage ( to the actuator) with input voltage (from the sensor) with changing the offset voltage (Dc voltage) while the code is running.

I have tried to test the code by connecting the input with output voltage as can be seen in the attached figure.

I found there is a delay between generating a date and acquiring a data by (Fs* number of sample). For example, if i set the number of sample (10000 )and sampling rate (1000 Hz), the delay is 10 s. I need to improve the code where it can write and read simultaneously with changing the offset voltage (Dc voltage).

 

Could do you please  help me to improve this code.

 

Khalid


Viewing all articles
Browse latest Browse all 66749

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>