LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

errors on an executable (and not when running during the development process) J1939 related

I've got the J1939 protocol up and running on Labview 8.5... though when I create an executable it gives me these following errors upon start-up...see jpg.

 

Is this related to something I need to include withint the Build? or Installer?

 

Also, why is it that when I go to include the NI 2.6.3 CAN installer within the Installer EXE, that it asks for a CRIO disk?

 

Thanks...

0 Kudos
Message 1 of 3
(2,522 Views)

Hey Jonathanupr,

 

It looks to me like you did not configure your LabVIEW Executable's build specifications appropriately.  Please go back and check the specifications to make sure that you've included your higher-level VI and all of the sub-VIs used in the J1939 protocol download (I'm assuming you downloaded the libraries from our website) in the project.  Then, within your Build Specification, make sure your higher-level VI is included in the Startup VIs section on the Source Files tab and the J1939 library files are included in the "Always Included" portion of the Source Files tab.

 

If your CAN driver is asking for the cRIO disk, it could be associating that with the original download location of the driver.  You could try first uninstalling the driver, then download the driver to a location on your hard disk (either from our website or from your CD).  After installing the driver from a hard-disk location, the driver should no longer be associated with a CD, but with the location on your hard disk.

 

Here are two KnowledgeBase Articles that talk about this issue.

 

KB 3S88PJMY: Why do I get a "Missing Distribution" or "Distributions Needed" Error When Trying to Bu...  

KB 3TCBS9MY: How do I Stop the Missing Distribution Notification Each Time I Build an Installer? 

Derrick S.
Product Manager
NI DIAdem
National Instruments
0 Kudos
Message 3 of 3
(2,489 Views)