Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN loopback using RTSI programming

I understand that you want to test this through loopback, but why do you want to start the send of the second message based off of the first message being sent by using RTSI. If you just have NI-CAN try to send the second message without using the RTSI timing, it should send as fast as possible. Why do you want to use RTSI?

-Matt S.

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 11 of 13
(1,614 Views)

Matt,

In my actual application i have a test setup of DAQ, CAN boards and other units. We use the RTSI 1 to 3 loopback connection to do a time critical operation. So i want to make sure the jumper connection is not disturbed by doing a loopback test involving the RTSI lines. Based on the result i would be running the main application which is very critical.

Regards,

Siddu

0 Kudos
Message 12 of 13
(1,503 Views)
Well, then try the suggestions in the below post by biker2000. Try adding a waitForState before you close the port in your current program. This should cause it to work even when not in highlighted execution mode.

-Matt S.

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 13 of 13
(1,471 Views)