Solution
This error occurs when you are using the
Port Specific Channels for your CAN port, but have not configured the
Transceiver State option for the
Sleep mode control channel.If you do not wish to be able to control the sleep mode of the CAN port, you can right-click on
Transceiver State and select
Delete.
If you do want to be able to control the sleep mode of your CAN port, then we need to map the
Sleep mode control channel to the channel you want to use to control the sleep mode.
One solution could be to create a User Variable and map this to a boolean button on the Screen/UI.
- Open up the VeriStand System Explorer by Clicking Configure.
- Right-click on User Channels and select Add User Channel.
- Name your user channel "CAN Sleep?" or something similar.
- Navigate to your CAN port where you have added the Port Specific Channels.
- If you are unsure which port this is, the yellow warning triangle in the toolbar should be reporting an error and by clicking on the warning triangle, it will report to you what CAN port(s) is unconfigured. Double-click on the error to be bought to the relevant channel.
- The Port Specific Channels will be under the Interface tree item. Expand this and select Transceiver State.
- Map the Sleep mode control channel to your newly created user channel
- Now save and close the system explorer and go to your Screen/UI
- Place down a boolean button and map this to your user channel. You can now use this button to control the sleep mode of your CAN port.