Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

What are the definitions for EngineState in Distributed System Manager

In Distributed System Manager, under NI_SystemState-> ControllerStatus there is an EngineState whose value is 2. Where do I find what the values mean?  The help file lists Scan Engine Modes Initialization, Configuration, Active, and Fault.  It is not clear if these modes correspond to the EngineStates and if so, are the enumerations zero based or 1 based? Thanks!

0 Kudos
Message 1 of 4
(6,233 Views)

I think it is zero indexed. I tried to call the Get Scan Engine Mode VI and set the target address to be my controller IP address and I received as result Active Mode, also in the DSM I am reading a value of 2 for the EngineState variable.

 

http://zone.ni.com/reference/en-XX/help/371361K-01/lvioscan/get_scan_mode/

0 Kudos
Message 2 of 4
(6,203 Views)

Hi,

 

The Using the NI Scan Engine topic (http://zone.ni.com/reference/en-XX/help/371361K-01/lvioscanhelp/scan_engine/) mentions that you can use the Get Scan Engine Mode VI (http://zone.ni.com/reference/en-XX/help/371361K-01/lvioscan/get_scan_mode/) to read the scan engine mode programmatically. When you go to the description of mode, you will find the corresponding values for these modes: 0 for Intialization Mode, 1 for Configuration Mode, 2 for Active Mode, and 3 for Fault Mode.

 

reply_1.gif

 

reply_2.gif

 

 

0 Kudos
Message 3 of 4
(6,161 Views)

Thanks.  Yup, got that.  I was mainly trying to clarify EngineState.  I submitted a comment to NI help and got a response confirming that "Engine State" is not a defined term.  They plan to make a correction... at some point.

0 Kudos
Message 4 of 4
(6,158 Views)