LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize Serial Communication and DAQ

That is a snippet. Use the new pic viewer and you can drag-n-drop it too your desktop then to a block diagram.  

 

Kudos for a Jing link with the new viewer.


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 13
(830 Views)

Jeff

 

I took your advice. 

 

I played around with random generator, it is working fine. However I am facing problems when I use a waveform generator and producer consumer architecture. I am still loosing the serial data when I queue it to the consumer loop. The serial producer loop gets data every 10ms, and it puts in the queue, apparently when I am plotting it in the consumer loop. I am loosing the information. Two radings between every other reading is reading zero.

 

Is there a reason, you would like me to use notifiers rather than producer consumer architecture? My belief was that they should be able to do the same job.

0 Kudos
Message 12 of 13
(828 Views)

I used the notifier for the slower aquisition because you can use get notifier status to expand the data to the queued data rate.   A queue does not work as a "latest element memory object" like a notifier can.

 

Subtle, but useful difference in a case like this.


"Should be" isn't "Is" -Jay
Message 13 of 13
(812 Views)