LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Persistence of chart display on remote panel

I have a cFP-2100 hosting a remote panel for a thermocouple monitoring program.  Every half hour, the program will grab data from several thermocouple channels and write it into a table along with a timestamp.  This portion works fine.  Seperately from this , I have a waveform chart which should display a week's worth of temperature data from all the thermocouple channels.  This chart gets a data point directly every half hour from the thermocouples, it isn't connected to the table in any way.  When I connect to the remote panel, the chart will begin updating normally, and if I stay connected long enough, I'll be able to see an entire week's worth of data before it begins scrolling.  However, if I've had the program running on the Fieldpoint for a while and then connect to the remote panel, the chart will be blank, but will begin logging data normally as soon as I'm connected.  I need a way for this chart's display to "persist" even when I'm logged off, so that when I log on again I'll be able to see thermocouple data from the previous week.

0 Kudos
Message 1 of 2
(2,593 Views)
Hey MrFisher,
 
Thank you for contacting National Instruments.  Perhaps you could try having an array of 336 (2 readings per hour * 24 hours * 7 days) elements, and everytime the VI launches, it gets the table information and populates the array.  Then just wire the array to the chart.  Everytime the table gets updated after that, you can simple update that array with the latest 336 readings, and the chart should reflect the change.
 
Let me know if you would like me to clarify anything!
 
 
Regards,
 
Kevin H
National Instruments
WSN/Wireless DAQ Product Support Engineer
0 Kudos
Message 2 of 2
(2,573 Views)