Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
4 ratings:
 3.25 out of 5     Rate this Document

Startup Application with CANopen VIs on Real Time Targets

Primary Software: Driver Software>>NI-CAN
Primary Software Version: 2.3.2
Primary Software Fixed Version: 2.3.2
Secondary Software: N/A

Problem:
My startup application (VI and executable) does not launch on my LabVIEW Real Time Target when using the VIs from the CANopen Library in LabVIEW.  How can I get this to work?

Solution:
If you create an application that includes VIs from our CANopen Library for LabVIEW, this application will need two DLLs in order to work as expected. The ni_cano.dll, which contains all the CANopen functions and the cvi_lvrt.dll, which is a dependency for the ni_cano.dll.

There are two ways to include these DLLs with your application:
  • With LabVIEW 7.1 you need to manually copy both DLLs to the same folder where the application File goes or to the System Folder of the Target System.
For Example: If the Target System is RT Startup Folder use the FTP Explorer within MAX to ftp the DLLs to the RT Startup or System Folder.
  • With LabVIEW 8.0 and later you can include both Files with your Project. When you build the application, you need to specify, to include them to the application destination directory, within the Source File Settings.



Related Links:
KnowledgeBase 2KM92E5F: Using FTP to Access and Use the External CompactFlash or USB Drive on a Real-Time Controller

Attachments:


SourceFileSettings_LV82.jpeg - SourceFileSettings_LV82.jpeg



Report Date: 09/25/2006
Last Updated: 05/28/2009
Document ID: 40REQVAY

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit