08-29-2013 03:01 PM
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!
09-02-2013 01:30 PM
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/
09-06-2013 02:48 AM
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.
09-06-2013 08:39 AM
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.