03-23-2010 04:31 PM
I have two counters generating continuous digial pulse trains from my PCI 6010, and I'm trying to display the output on a graph. I've got the output of one counter connected to an AI line that leads to a waveform graph, but I can't get anything on the graph. I've measured the output via external means, so I know the counters are generating the appropriate pulses.
Eventually I'd like to have some sort of indicator for each counter that indicates whether the counter is in the 'on' or 'off' state, but I figured getting the counter outputs to diplay on a graph would be a good first step.
My VI is below; the display part that isn't working is at the bottom of the case structure.
Thanks.
03-23-2010 04:46 PM
03-24-2010 02:47 PM
I'm not sure what exactly you mean by use a parallel and a queue. I tried putting my graphing code into a while loop that's inside a flat sequence structure with the counter while loop. Is this what you meant by a parallel? Or maybe the rendezvous VI? I still get nothing on my graph. My code is posted below. I read about queues, but is a queue really necessary? My counter output is wired directly to an analog input, so I really just want to graph what's coming into the input.
I also tried putting the graphing code inside the same while loop that my counter is using - still nothing on the graph.
Thanks for your help.
03-25-2010 09:42 AM