Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 rating:
 1.5 out of 5     Rate this Document

How Do I Set Up a CAN Real-Time Application in MAX?

Primary Software: Driver Software>>NI-CAN
Primary Software Version: 2.2
Primary Software Fixed Version: N/A
Secondary Software: Utility Software>>Measurement & Automation Explorer
Hardware: Industrial Communications>>CAN>>PXI-8461/2 Series 2

Problem: I have a 2-port CAN module for my PXI chassis that is in Real-Time mode, how do I set this system up and download the channels to the target PXI system from my host computer?

Solution: The following are the steps to set up your CAN Real-Time system in MAX from your host PC:

  1. In MAX, go to Tools»NI-CAN»RT Hardware Configuration, type in the target's IP address, and then a new window will pop up and you should be able to see the CAN card in the PXI system. The two ports should be listed.

  2. Click on one of the ports, and then in the right window, you will see the Interface Number, Transceiver Mode, and Baud Rate. The Interface Number is the number you will use for your applications. You can right click on the port and select Properties to configure the Interface Number and all the other settings like you normally do in MAX.

  3. Leave this window open and go to LabVIEW.

  4. Switch your LabVIEW execution target to the same IP address of the target system. Now you can open up an example and use the Interface number as it are shown in the RT Hardware Configuration Window. After you hit "Run" the VIs will be downloaded to the target and start running.

Note:The CAN channels need to be set up in the target and you will not see them in MAX at the host PC.


Related Links: KnowledgeBase 2FKI6MJT: Missing Dynamic Link Library Error while Configuring a CAN Card on an Real-Time System with a Host Computer


Attachments:





Report Date: 01/14/2005
Last Updated: 01/17/2005
Document ID: 3HDD8JIT

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