LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application builder and usb 6009 problems (using LV8.0.1)

I built a vi on my development computer that I wish to make an executable of on another pc that reads voltage from the USB6009 AI0 (analog input 0) of the device.  I can use the device on both computers within MAX.  I have the same version of DAQmx (8.3.1) on both computers and have built the executable, however, it will not read from the input.  It runs the vi, but the voltage indicator stays ghosted out.  I imagine the fact that I built it under Device 2 of my main PC is the issue, however, I can not figure out how to alter my LV8.0.1 code to allow me to select the correct device on the computer that will be running the executable when the USB-6009 device is hooked up to it.  The code basically reads the analog input signal and records when the signal went on each time it occurs.  I appreciate any input that is available.

Message Edited by scott_7723 on 02-06-2007 12:20 PM

0 Kudos
Message 1 of 6
(3,199 Views)
Very simple to do.  It is taken care of thanks to the phone support.  Thanks guys.
 
0 Kudos
Message 2 of 6
(3,187 Views)
I have the same problem. Would anyone care to explain how to overcome this problem?
0 Kudos
Message 3 of 6
(3,039 Views)
You know, it's unfortunate, but I can't recall exactly what I had to do to make it work.  It seems to me that it was just that the device was named something different on the development computer.  I believe all I did was add a control and a subvi shown in the block diagram attached labeled physical channels 2 and untitled 3vi respectively.  (This is just the part of the vi that dealt specifically with grabbing the data).  I then ran my complete vi through application builder and deployed it on another PC that has worked since.  Hope this helps, if not, you may need to repost it some where so NI responds to you.
0 Kudos
Message 4 of 6
(3,019 Views)
Thanks for following that up. I'll experiment a bit in that area before posting.
0 Kudos
Message 5 of 6
(3,014 Views)
Hi Wendy,

What scott_7723 says is correct.  In order to specify the device and channel to use in a VI or executable, you can use the DAQmx Physical Channel control on your Front Panel.  This will be wired into the "physical channels" input to the DAQmx Create Channel.vi on the Block Diagram.

Hopefully this will get you going in the right direction!  If you have more trouble with this, I would like to recommend that you create a new thread on the forum.  Because this thread is older, a new one will better help the entire community to support you!

Cheers,
Brian A.
National Instruments
Applications Engineer
0 Kudos
Message 6 of 6
(2,999 Views)