Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

daq assistant examples

i would like to know how to use a USB6009 digital i/o to create a pop-up VI. after the POP-out VI is activate , how can the same data assistant used in the main activate the subVI?
 
do i need a DATA assistant in each VI in-order to activate the controls in the VI ?
 
 
how to use Data assistant digital I/O to activate a LED in Labview 8.0?
 
 
 
can give examples ???
 
 
 
0 Kudos
Message 1 of 11
(5,612 Views)

Hi Ace,

I noticed that you started an identical thread here. In the future, please try to limit your posts to a single thread so that all responses can be contained to a single conversation. 

First, I recommend that you read the documentation that DevChander refered to here.  This will be very useful as you get started with the DAQ Assistant.

As far as using the digital reading from your 6009 to control a separate VI, I have never done so, but I imagine that something like this would work:

Note that the signal from the first channel is used to control the state of the case structure.  The second channel is used to written to the shared variable which would control the front panel object of the subVI.

Message Edited by Luke G on 06-06-2007 04:51 PM

Luke
Applications Engineer
National Instruments
0 Kudos
Message 2 of 11
(5,578 Views)
do u mean that , the code i only put it at the main Vi or at the subvi , or both ??
 
 
so do i require a button to activate the pop up VI ? how do i use the daq assistant to activate the button in the main vi, so the pop up will occur ??
0 Kudos
Message 3 of 11
(5,527 Views)
so how am i going to config the USE 6009 so to make the programm works ?

Message Edited by Ace666 on 06-12-2007 10:49 PM

0 Kudos
Message 4 of 11
(5,526 Views)
where to find the Fp contorl icon ??
0 Kudos
Message 5 of 11
(5,521 Views)
in the attached file , i need to use USE 6009 to control the buttons to activate another VI. any idea ?
 
in the attached file.  open the main vi. the main Vi can open the other sub-vi , just by clicking the buttons in the. but how to use USB 6009 digital input to activate the buttons or act like the buttons ?
0 Kudos
Message 6 of 11
(5,519 Views)
Hi,
 
The VI that Luke has shown you essentially polls the digital input lines continuously. Every read of the digital line will result in either a true or a false and that determines whether or not the call in the case structure is run or not.
 
In order to setup the DAQ Assistant I would highly recommend that you go through the DAQ Assistant Tutorial here.
 
 
Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 7 of 11
(5,472 Views)
i had read it.
 
i just want examples that open a pop-out VIs using a DAQ assistant with a digital input, either High or low.
 
 
for Example, when i apply a high input into the USB 6009, there will be a POP out VI. then i can control the pop out VIs using the USB 6009
0 Kudos
Message 8 of 11
(5,425 Views)

Hi,

Luke's example does exactly what you need - you jusst need to setup the digital input up to read the line you want to poll.

Regardless, here is an example that fires up a pop up VI at the press of a button: http://zone.ni.com/devzone/cda/epd/p/id/1146

You just need to replace the logic with a DAQ Assistant that reads the digital input continuously.

 

Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
Message 9 of 11
(5,366 Views)
thank you.
 
two question.
 
 
- when i run the program error will pop out?
 
 
- when i stop it why it lag ?? 
 
 
 
 
regards.
0 Kudos
Message 10 of 11
(5,310 Views)