ncConfigCANObjRTSI.vi
Purpose
Configure a CAN Object with RTSI features.
Format
Input
ObjName is the name of the CAN Object to configure. This name uses the syntax "CANx::STDy" or "CANx::XTDy". CANx is the name of the CAN network interface that you used for the preceding ncConfigCANNet VI. STD indicates that the CAN Object uses a standard (11-bit) arbitration ID. XTD indicates that the CAN Object uses an extended (29-bit) arbitration ID. The number y specifies the actual arbitration ID of the CAN Object. The number y is decimal by default, but you also can use hexadecimal by adding "0x" to the beginning of the number. For example, "CAN0::STD25" indicates standard ID 25 decimal on CAN0, and "CAN1::XTD0x0000F652" indicates extended ID F652 hexadecimal on CAN1.
The 847x and 847x with Sync series CAN and LIN interfaces do not support ncConfigCANObjRTSI.vi. | |||||||||||||||
CAN Object Config provides the core configuration attributes of the CAN Object. This cluster uses the typedef ncObjAttr.ctl. You can wire in the cluster by first placing it on the front panel from the NI-CAN Controls palette, or you can right-click the VI input and select Create Constant or Create Control. (For more information, refer to ncConfigCANObj.vi.) | |||||||||||||||
CAN RTSI Config provides RTSI configuration attributes for the CAN Object. This cluster uses the typedef ncCANRtsiAttr.ctl. You can wire in the cluster by first placing it on the front panel from the NI-CAN Controls palette, or you can right-click the VI input and select Create Constant or Create Control.
| |||||||||||||||
UserRTSIFrame specifies a 4-byte pattern used to differentiate RTSI timestamps from CAN data frames. It is provided as a U32, and the high byte is stored as byte 0 from ncReadObj. For example, AABBCCDD hexadecimal is returned as AA in byte 0, BB in byte 1, and so on. This attribute is used only for RTSI Mode On RTSI Input - Timestamp RTSI event. It is ignored for all other RTSI Mode values. | |||||||||||||||
Error in describes error conditions occurring before the VI executes. If an error has already occurred, the VI returns the value of the Error in cluster in Error out.
|
Output
Error out describes error conditions. If the Error in cluster indicated an error, the Error out cluster contains the same information. Otherwise, Error out describes the error status of this VI.
|
Description
RTSI is a bus that interconnects National Instruments DAQ, IMAQ, Motion, and CAN boards. This feature allows synchronization of DAQ, IMAQ, Motion, and CAN boards by allowing exchange of timing signals. Using RTSI, a device (board) can control one or more slave devices.
If you are not using RTSI features to synchronize the CAN Object with other National Instruments cards, refer to the ncConfigCANObj VI.