Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Error -89120 When Synchronizing NI-CAN and NI-DAQ with SCXI

Primary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Primary Software Version: 8.6
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-CAN, Driver Software>>NI-DAQmx
Hardware: Industrial Communications>>CAN, Industrial Communications>>CAN>>PXI-8461/1 Series 2, Multifunction DAQ (MIO)>>M Series, Multifunction DAQ (MIO)>>M Series>>PXI-6259, SCXI, SCXI>>Chassis>>SCXI-1000, SCXI>>Modules>>SCXI-1102, SCXI>>Terminal Blocks>>SCXI-1308

Problem:
I am using the LabVIEW NI-CAN shipping example CAN Waveform Input and DAQmx Waveform Input.vi to synchronize a PXI-8461 (CAN device) and a 6259 (M-series DAQ device) with an SCXI-1102/1308. If I remove the SCXI from the setup, the CAN and DAQ work fine. However, when I add the SCXI hardware back into the system, I get the following error

Error -89120. Source terminal to be routed could not be found on the device.

Why do I receive this error, and how can I correct it?

Solution:
You receive this error because the code in a subVI of this example references timing terminals of an SCXI device, which your particular SCXI device does not have.

To use this specific LabVIEW example, you will need to make a modification to code contained in the CAN Sync Start Series 2 with NI-DAQmx subVI. The following steps outline the necessary modifications.
  1. Create a copy of the CAN Sync Start Series 2 with NI-DAQmx subVI.
  2. Open the copy's block diagram, and view the portion of the code circled in the below image.

  3. Delete the wire going from the DAQ Devicename terminal of the GetDeviceName subVI to the case structure. Then create a new string control called DAQ Devicename, and wire it to the tunnel of the case structure. The finished block diagram should look as the following image.

  4. Finally, create a connector from the front panel icon, and save the copy.
  5. Replace the the original subVI with the modified copy. Wire the DAQ Devicename control, and connect the control to the connector of the top-level VI.
  6. Specify the DAQ board device name in the DAQ Devicename control.


Related Links:
KnowledgeBase 3Q57EIL2: Creating Connector Terminals for SubVIs in LabVIEW

Attachments:

CAN Sync Start Series 2 with NI-DAQmx_fixed.vi
Original.JPG
fixed.JPG




Report Date: 11/27/2008
Last Updated: 12/05/2008
Document ID: 4RQIFB61

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