Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

NI XNET - recover from disable all messages

Setup description:

PXI-E 1082, CanCard PXI8512.

Veristand 2016.

 

On import the Can messages from the database, the option to "Create disable Channel automatically" and "Create trigger channel automatically" is turned on. All the NI-XNET channels are created in the User Channels section of the system definition.

 

From Veristand we can disable all messages and CAN traffic is stopped. => This works as expected.

 

Problem: Removing the disable (re-enable) message does not bring the channel(s) back alive.

The only solution to get the Can back to work is to re-deploy veristand.

Disabling / re-enable one channel works.

 

Can all channels be re-enabled or only one channel ?

Can this be used to stop all CAN communication or is there another way to achieve this ?

0 Kudos
Message 1 of 2
(2,437 Views)

@BramVdb wrote:

 

From Veristand we can disable all messages and CAN traffic is stopped. => This works as expected.

How exactly do you do this?

 

 

Generally, the disable channel(s) is exactly what you need to stop and restart outgoing(!) communication on XNET-CAN.

 

Using the automatically-created user channel(s) (or creating at least one manually and linking them to the frame you want to disable by checking "Disable Transmission" and selecting the user-channel in "Disable Channel". Have you tried configuring all frames you want to disable with the same disable channel?

 

Then, setting this channel to any value other than zero should stop all communication:

Disable channel—Specifies the channel to use to disable transmission. Transmission is disabled when the value of this channel is non-zero. Transmission is re-enabled when the channel becomes zero again.
Note Transmission is re-enabled as soon as the channel value becomes zero. In the case of an event-triggered frame, the frame transmits even if the Transmit trigger you specify did not occur.

(Taken from Signal Frame Configuration Page - VeriStand Help).
What values are you writing to this channel?


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 2 of 2
(2,305 Views)