Data log files labview




















Look at the following snippet, which is located in the lower left of the block diagram. A cluster of message queues the magenta wire , the data queue, and the data notifier are passed to the Acquisition and Logging VIs. These two VIs each contain a queued message handler or sorts.

The data queue is picked up by the Logging loop and the data notifier is picked up by the Display loop. The method used to exit the application is worth reviewing in a more detail, since there are many parallel loops, a situation that causes people to think about the best method to stop a bunch of loops gracefully.

A clue about how this app handles loop stopping gracefully is revealed by the creation of a user event. This user event is created when the application starts and is registered with the event handler. This method allows verification of proper closure of all parallel loop activities before the application is completely stopped.

The data logger project reviewed above shows some of the sophistication available. These projects are a great starting point for many simple applications. You will see the near similarity of the design of the two dataloggers.

Each crash log file is stamped with the date and time of the individual crash occurrence. If the crash happened in an executable built with the Application Builder a built. Please note that while LabVIEW Error Files can be helpful to understand what was happening when LabVIEW closed unexpectedly, the information they contain doesn't always lead to clear solutions or explanations of what caused the problem. When sending these reports to National Instruments, please include details of what was happening when the crash occurred.

Please include any steps or instructions to reproduce the issue as well, as they can help when troubleshooting these situations. Open a service request. In the low-priority loop, you pull data from the shared variable buffer to not only display on the user interface but also log to disk.

Your basic acquisition, analysis, and logging application is now complete. Once you connect to CompactRIO hardware, you can run the code on the target.

This content is not available in your preferred language. Environment shows products that are verified to work for the solution described in this article. This solution might also apply to other similar products or applications.



0コメント

  • 1000 / 1000