LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

producer consumer waveform x axis

I've run into a problem and I'm not sure of the source.  I'm developing a program that reads, displays, and writes thermocouple readings at different rates.  I'm using the producer-consumer architecture and while the sample rate will not be an option, the refresh rate of the chart that displays some of the temperatures will be controlled by the user.  I've been working with the attached example trying to understand where the problem lies with no luck.  The consumer loop is set to wait 2 seconds which I can tell it does but the x-axis still counts every second.  How do I sample from the producer loop and have the correct time and temperature displayed by the chart in the consumer loop?

 

Thanks.

LabVIEW 2016 - Windows 7

CLAD
0 Kudos
Message 1 of 2
(1,927 Views)
Sorry I can't look at your code right now as I am still waiting for my beta copy of LV for Android to arrive -- but seriously the x axis of a graph increments by 1 unless you set the multiplier property to something else.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(1,897 Views)