05-14-2013 09:44 PM
Hello,
I am collecting data over 16 channels from an experimental engine, and along with recording it, I would like to have a real time representation of some of it. For some reason, the charts and a few other display functions won't display anything. The tachometer works well, but nothing else does. The data is being recorded, so I know the signals are coming in.
There are multiple sub VIs I didn't attach that simply convert the voltage signal to a meaningful value. The logger vi runs on the host PC while the DAQ runs from the PXI. I used shared variable nodes to transfer the data between them.
Thanks for any advice.
05-14-2013 09:59 PM
Your rightmost while loop won't run until your large middle while loop finishes because you have a data depedency of the boolean wire coming from the Stop button in the middle while loop. (At least I assume it is stop because it looks like one and behaves like one. The button just shows garbage characters.)
When your rightmost while loop finally does run, it will only run once because the value on that wire that enters it has to be True.
I'm also worried about your heavy use of global variables. They look like they could lead to race conditions because they are being read and written to in multiple locations.
05-14-2013 11:53 PM
Thanks for the help. It does say stop, but it is in Japanese kanji. I'm a student in Tokyo and the OS defaultly writes those things in Japanese.
I made a second stop button for the right while loop. and the data is being displayed. If you think the shared variables might cause problems, I'll try to remove as many as I can and rely more on wiring.