01-22-2013 12:37 PM
I am writing a program in LabView using DAQ inputs and outputs. I am using LabView 2009 and cDAQ-9172 chassis. This program lets a user set a certain pressure, then at some time in the future the user presses a front panel button, and data read from a single channel and stored at a high rate. I have modeled the program around this example.
https://decibel.ni.com/content/docs/DOC-5712
I am displaying the data on a graph, but also want to do mathematical operations on some of the data. I want to break the data out into indicators. This program will display the information correctly on the graph, but will not write to the indicators until the event structure is in its "timeout" wait clock. IF I adjust the timeout time to more time, the data is displayed on the indicator longer. But this obviously slows the program down too. I have tried several methods of breaking data out of the DAQ Read function with the same results. Can someone tell me what I am doing wrong?
01-22-2013 12:52 PM
I don't see a need for the event structure. You can accomplish what you want with a case structure. If you have to handle other events, do that in another loop.
01-22-2013 12:57 PM
Thank you for the suggestion. I have used a case structure in place of the event structure, and it works the same. However, I get no output to the indicators when using the case structure. They all read zero. So, I guess the question is still there. How can I display to the graph and indicators at the same time?