05-22-2012 11:29 AM
Rather than attach my code (which is cluttered with many irrelevant features), I'll try to describe my situation as briefly as possible:
I have an indefinite loop which contains two things: a data read from a DAQ card (which outputs to a waveform chart) and a flat sequence of ~16 frames. Several of these frames are also data reads from the same DAQ card, with a few frames of processing and analysis in between each.
Currently only my initial data read (before the sequence) outputs to my chart. I would also like the data reads from within the sequence to be included on the chart. (It is the same data, after all, and I would like to watch it during the processing frames of my sequence).
Is there some way to do this? Perhaps by somehow appending data from multiple points in my sequence to a single waveform?
05-22-2012 12:23 PM
Do you really need a 16 fram flat sequence structure?
It sounds like you should be using a state machine architecture.
05-22-2012 12:44 PM
That's very possible. I'm not the most skilled LabView programmer ever, and I just stumbled into using this sequence in order to force function calls in a particular order. Basically I'm trying to repeat a multi-step process that involves several instances of data-taking and device-tweaking.
Even if my sequence is a bit clunky, I don't think that would impact what I'm trying to do with my chart.
05-22-2012 03:39 PM
You really should post your code so we can see what your exact situation is and maybe help with your architecture as well.