To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This code is an empty template that shows how to pass DAQmx data into a queue to control the states of a state machine.
Description
This VI reads a continuous digital input and pass that data into a queue. The data is then dequeued into a seperate state machine loop. This is very useful if you want to control your software to perform different tasks based upon the digital input data you are collecting. You can edit the various states by right clicking on the enum and selecting edit items. You can then enter values to choose which states will correspond with which digital input values.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.