LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-845 DAQ Device reference not dynamic when I use application builder?

I'm new to LV and have created some code to perform I2C communication via an NI-845 DAQ.  I'm having problems with the USB device reference AVI.  It seems to be dynamic (USB device changes with new NI-845 modules) but when I create a stand-alone application using application builder the device reference becomes static (displays only the defualt USB reference number).  It allows me to type in the correct USB number but I want it to be dynamic as it was before I created the application.  How can I resovle this?
0 Kudos
Message 1 of 9
(4,479 Views)
Hi,
 
Thank you for posting to the NI forums.  NI does not make an 845 DAQ device.  Were you referring to the NI 8451?
 
Ed W.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 9
(4,457 Views)

yes, 8451.

 

Any ideas?

0 Kudos
Message 3 of 9
(4,442 Views)
I am having the same problem and would like to know if there is a solution.  To reproduce:
 
  1. Labview 8.2.1, windows xp, MAX 4.2.0.3001, NI-845x 1.1f0,
  2. create a new project
  3. add a blank vi
  4. on the front panel, drop an NI-845x Device control from the i/o palette
  5. click the control dropdown, note that it displays a list of connected 845x devices
  6. run the application, click dropdown, same list available.
  7. build an EXE
  8. run the EXE and the control will not dropdown the list of 845x devices.
  9. I can still type the device name into the control manually, but dropdown does not work.

-cb

0 Kudos
Message 4 of 9
(4,424 Views)
Hi,

R&D is aware of this and they are working on a better method.  For now, you will need to manually type in the address of the USB-8451 in an executable.

Thanks!

Meghan
Applications Engineer
0 Kudos
Message 5 of 9
(4,401 Views)

This was corrected in LabVIEW 8.5.

 

Deborah

 

0 Kudos
Message 6 of 9
(4,091 Views)
I am using 8.6 and the problem still exists. Any ideas
0 Kudos
Message 7 of 9
(3,906 Views)

Phil T,

 

I have followed the directions to reproduce this issue in 10Degree's post above using LabVIEW 8.6, but I am not having the issue that you are.  When I run the executable, the dropdown list does show all of my 845x devices.  Can I ask if there are any additional step I need to take to reproduce this?

 

Eric K

Applications Engineering

National Instruments

0 Kudos
Message 8 of 9
(3,867 Views)

Hi,

 

Finally I found a topic describing the problem I've been struggeling with for the last day. I've got exactly the same problem. BUT, the problem appears not on all the pc's I've been testing on. It's like this:

PC1: Labview 8.6, USB-8451 drivers 1.1.2 . This is the development PC. No admin rights

PC2: Labview 8.6, USB-8451 drivers 1.1.2. This is a pc only used for  running the VI (and small modifications, in the laboratory). No admin rights.

PC3: NO labview 8.6,NO USB-8451 drivers 1.1.2 installed from CD. ADMIN rights. This is the tartget PC to test the installer that needs to be build.

 

PC1:in the vi the drop down menu is ok. In the generated exe there's no drop down possible

PC2:in the vi the drop down menu is ok. The executable has got the drop down feature!:smileymad:

PC3:I build a installer once and that wordek ok. I included the runtime stuff and the usb-8451 drivers. If I run the EXE there's NO drop down!

 

How can this probelm be solved? 

 

Thanks for your time and answering,

Jan-Willem.

0 Kudos
Message 9 of 9
(3,558 Views)