Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Using DAQ Channel Concurrenly

Hi Maris,

 

What Dennis meant is that you can use what we call Case Structures and wire in your checkbox into the case selector input of the case structure.  So, if the checkbox is selected, the checkbox would output a true, and your case structure would only use the code in the true structure.  In the true structure, you would have your code to read in from a DAQ channel.  In the false structure, you would just have wires going from the left side to the right, creating an input and output tunnel (these are just the small squares that are created when you wire in something to a structure). 

In fact, your VI implements a very similar code with the OK buttons that are going into Case Structures.  You would just need to create another one, and replace the inside with your code to read in the specific DAQ channel.  (By indexing an array on data coming from a port, you can access individual channels)

In order to keep the forum topics in scope with the original discussion, I encourage you to create a new forum post if you have additional questions.  Often times users will search for an issue, and if the topic starts going out of its original scope, it becomes less useful and sometimes even confusing for subsequent users.  You can also find a lot of similar documentation if you search the LabView help by going to the Help tab-->Search the LabView help..., by going to ni.com, and you can even find similar applications that our users have built by searching the Code Sharing section of our website.



Message Edited by TMC-NI on 01-23-2008 03:02 PM

Message Edited by TMC-NI on 01-23-2008 03:03 PM
0 Kudos
Message 31 of 31
(744 Views)