LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Distributed program does not work for USB-8473

I am using LabWindows 2009. I built a installation program to install my application on another computer. It talks to a couple Agilent devices, a NI USB-6289 and to an in house built controller via CAN using a USB-8473. The USB-8473 is the device I am having the problem. When I run the program in debug mode in LabWindows I communicate through CAN just fine. But when I built my distribution installer and installed the program on another computer it has a problem talking to the USB-8473. I named the USB-8473 CAN0 in Measurement and Automation which is the name I'm using in my program to identify it. But when I try and send a message nothing happens. Usually when I send CAN message a LED blinks on the USB-8473. It is like my program is trying to send a message but it goes to the wrong place.

 

As a side note I have installed other CVI apps on this computer. They also send CAN messages to this device. When I run these older CVI apps the USB-8473 seems to work just fine. This makes me think I am creating my installer wrong. Deos anyone have any ideas how I can debug this problem?

 

There is a difference between my installation programs of the old CVI app theat works and the one that does not work. Under "Drivers & Components" of th new CVI app I included "NI-CAN 2.6.3" . In the old CVI app I did not have this box checked. I am not clear on how adding these drivers and components would effect my program, I thought it would only make the installer larger and put more components in the computer getting the installation. I am pretty ignorant on how thes components work and what they actually do.

 

Please let me know if you have had similar problems.

 

thanks,

Don Pearce

0 Kudos
Message 1 of 2
(2,655 Views)

Hi Don,

 

Have you tried monitoring the CAN bus for data to make sure that it is being properly sent? You can monitor the bus from Measurement & Automation Explorer (MAX). Also, what version of NI-CAN do you have installed on the deployment computer?

 

Can you run the built executable without creating a distribution? You don't need to create a distribution if the other computer already has all the required support components for you application (for example, the CVI run-time engine, NI-CAN driver).

 

Were the old CVI applications that do run built in the same version of CVI?

 

Thanks!

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 2 of 2
(2,634 Views)