Enabling Sleep Mode on a CompactRIO Chassis, Ethernet RIO Chassis, MXIe-RIO Chassis, or Single-Board RIO Device (FPGA Interface)

CompactRIO Reference and Procedures (FPGA Interface)

Edition Date: June 2010

Part Number: 370984T-01

»View Product Info

The CompactRIO reconfigurable embedded chassis, the integrated controllers and chassis, the Ethernet RIO chassis, the MXIe-RIO chassis, and the Single-Board RIO (sbRIO) devices have a sleep mode line. When you enable sleep mode, installed and onboard C Series I/O modules in the chassis or device enter a low-power state. Typically, you cannot communicate with modules when they are in sleep mode. If you try to communicate with a module when it is in sleep mode, LabVIEW returns a module communications error from the FPGA I/O functions. Sleep mode does not affect the CompactRIO chassis or controller, the MXIe-RIO chassis, or the sbRIO device.

Complete the following steps to enable sleep mode.

  1. Configure the CompactRIO, Ethernet RIO, MXIe-RIO, or sbRIO system.
  2. Make sure the Sleep I/O item is added to the system.
  3. Right-click the FPGA target and select New»VI from the shortcut menu to add a new VI to the system.
  4. Place an FPGA I/O Node on the block diagram of the VI.
  5. Click the element section of the FPGA I/O Node and select Chassis I/O (or Onboard I/O)»Sleep from the shortcut menu.
  6. Right-click the Sleep input of the FPGA I/O Node and select Create»Control from the shortcut menu. When Sleep is TRUE, the system enters sleep mode. When Sleep is FALSE, the system enters active mode. The default state of the system is active mode.

Confirming the State of the Sleep Channel

Complete the following steps to read the state of the Sleep channel.

  1. Place another FPGA I/O Node function on the block diagram. This FPGA I/O Node must execute after the FPGA I/O Node you added above.
  2. Click the element section of the FPGA I/O Node and select Chassis I/O (or Onboard I/O)»Sleep from the shortcut menu.
  3. Right-click the FPGA I/O Node and select Change to Read from the shortcut menu.
  4. Right-click the Sleep output of the FPGA I/O Node and select Create»Indicator from the shortcut menu.

When you run the VI, the FPGA I/O Node reads the state of the Sleep channel.

WAS THIS ARTICLE HELPFUL?

Not Helpful