LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to set up the configuration for the NICAN dualcard to do both transmitting and receiving?

I can´t find an example in Labwindows CVI which include both transmitting and receiving over CAN with the same identifier an only one port. How ist it possible to configure one CAN-port for transmitting and receiving and configure different receive mailboxes for different identifier. Perhabs it is possible to find a source file for an explanation.
0 Kudos
Message 1 of 2
(2,777 Views)
Hi,

The drivers only opens one object per Arbitration ID (for a single port). If you try to open several CAN objects to the same ArbID, the functions will return the same handler (reference number). You cannot open a object to transmit and another to listen to the same arbitration ID. You would need a separate port (node) on the network to listen to those frames.

This is not a software limitation. Most CAN transceivers cannot "read-back" what the're transmitting to the bus.

Hope this helps.

DiegoF
0 Kudos
Message 2 of 2
(2,776 Views)