05-18-2023 03:49 PM - edited 05-18-2023 03:49 PM
Hello all,
I have a VI with a waveform chart that seems to reset itself intermittently... it'll run for 5 to 90 seconds and then restart for no apparent reason.
Things I've tried...
Hardware...Chassis is a cDAQ-9189, I have a total of 79 analog output channels coming from my task and the data is being fed directly into my waveform chart with the plot legend turned on so my guys can select which channels they want to watch... signals in question are predominantly thermocouples (4x NI-9213 modules). While I'm trouble shooting I only have a single TC channel turned on and it reads perfectly... just restarts the chart randomly.
Software... LabVIEW version 21.0
NIMAX... version 21.0.0.0f0, Task is set to Continuous Samples, 100 samples @ 100Hz
If anyone has any thoughts I'd appreciate a point in the general direction. 🙂
TIA!
Chad
05-18-2023 04:30 PM
"Resetting" is not a clear term to me. Does it lose all history at that point?
Do you have property nodes for the chart anywhere in the program and what do they do? What is the update mode for the chart?
What is the datatype wired to the chart (dynamic, waveform, scalar, array, etc.). Is the number of channels always the same, but some traces potentially hidden using the visibility checkbox?
If you say 100samples at 100Hz, I assume that is for multiple channels as you mentioned earlier.
Can you share some simple code that demonstrates the problem?