Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel timed and while loop

Hi, I generated sine wave from analog out and wanted to read it with analog in. I put this two out/in functions to seperate loops: timed loop and while loop. Timed loop works good, and I able to generate frequency I want which is 300Hz. But the analog in reads 15Hz only, looks like undersampling. 

 

How to syncronize the while loop with timed while loop, so that analog in read exactly what is produced from analog out?

 

I am using myRIO-1900

 

Thank you!

0 Kudos
Message 1 of 1
(3,962 Views)