NI VeriStand: Node Is Not Found in the System or Error 1 Occurred at Incorrect Function

Updated Mar 16, 2023

Reported In

Software

  • VeriStand

Driver

  • NI-XNET

Issue Details

I have a VeriStand project where I am doing some CAN communication. When I deploy my VeriStand project I get either:
NI VeriStand: Node is not found in the system.

error 1 VS.png

Or

Error 1 occurred at Incorrect function.
 in NI VeriStand Server.lvlib:System Storage FG.vi->NI VeriStand Server.lvlib:NI VeriStand Server.vi->NI VeriStand Gateway.lvlib:VeriStand Server Wrapper.vi

Possible reason(s):

LabVIEW: (Hex 0x1) An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
Command requires GPIB Controller to be Controller-In-Charge.

​​​​​​​2 VS Error.png

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. 
  1. Open up the VeriStand System Explorer by Clicking Configure.
  2. Right-click on User Channels and select Add User Channel.
  3. Name your user channel "CAN Sleep?" or something similar.
  4. Navigate to your CAN port where you have added the Port Specific Channels.
    1. ​​​​​​​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. 
  5. The Port Specific Channels will be under the Interface tree item. Expand this and select Transceiver State.
  6. Map the Sleep mode control channel to your newly created user channel
  7. Now save and close the system explorer and go to your Screen/UI
  8. 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. 

Additional Information

The Transceiver State channel controls the sleep mode option on an NI-XNET CAN port. A port in sleep mode does not transmit data until you release sleep mode or until the port receives an incoming frame.