Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

RT Controller outputs signals when RESET invoke method is executed - need advice

Im using an cRIO-9014 controller, when I use a RESET Invoke Method the RT controller outputs signals on all channels from the 9401 I/O modules - this is not desired. I change the RESET Invoke Method to ABORT Invoke Method and the outputs from the 9401 I/O modules are not present but is this a proper way to suppress the outputs on the RT? Also, is this inherent to the system when a RESET invoke method is executed that outputs are given to the modules that are being used? And if so, how can this be eliminated? 
0 Kudos
Message 1 of 2
(3,152 Views)
Hi alexndr,
 
You can use either the Reset or Abort method, depending on the behavior you want.  Reset will abort the FPGA VI and then reset it to its default state.  Abort will not reset the default values, which should be considered if the VI is going to be run again.  An alternative is to use a control to stop the VI
 
Another difference between Reset and Abort, as you have seen, is the output state of the CompactRIO channels.  This is discussed in the LabVIEW Help topic "Understanding Power-On and Start-Up Output States for CompactRIO Output Modules."  It sounds like the VI is set to load on a reset, which sets the output channels to their start-up output states.  Using RIO Device Setup (Start » Programs » National Instruments » NI-RIO » RIO Device Setup) you can configure whether a VI is loaded on a device reset.  You can change the start-up state through an FPGA I/O Node in the FPGA VI.  With the Abort method the channels return to their power-on states.  For the 9401, the line direction defaults to "Input" when the device is initially powered. 
 
Hopefully this helps explain the behavior you have seen. 
 
 
Jennifer R.
National Instruments
Applications Engineer
Message 2 of 2
(3,136 Views)