Job Tags vs. Sensor Tags

Job Tags

Job Tags are user-configurable tags that represent a value stored in the In-Sight spreadsheet that you would like to expose to OPC clients. Job Tags are saved inside the job file. See Adding an OPC Tag to a Job File for instructions on how to create a new Job Tag.

In order to write a value to a Job Tag, the associated spreadsheet cell on the In-Sight sensor or emulator must contain an EditFloat, EditInt or EditString function. Cells that do not contain one of these functions are read-only. If the target cell does contain one of these functions and you are still receiving an error, verify that the value you are attempting to write does not exceed any limits of the function, such as minimum value, maximum value or string length.

Sensor Tags

Sensor Tags are default tags that are always available on any sensor or emulator that supports OPC. Sensor Tags are not stored in the job file. The following Sensor Tags may be added to your configuration:

Sensor Tag

Accessibility

Data Type

Description

AcquisitionCount

Read-only

Integer

Returns the number of acquisitions since the sensor has been powered up.

DiscreteOnline

Read-only

Boolean

Returns False if a Discrete Input line (configured as an Online/Offline Type) is set low (0). Otherwise, returns True.

GuiOnline

Read-only

Boolean

Returns True if the In-Sight Explorer GUI is set to Online mode (Sensor Menu > Online).

JobName

Read/Write

String

  • Reading: Returns the name of the Active Job loaded on the In-Sight sensor, if the Active Job has been saved.
  • Writing: Loads the specified job name on to the In-Sight sensor. The job name specified must exist as a file on the sensor.

LiveMode

Read/Write

Boolean

  • Reading: Returns True if the sensor is in live acquisition mode. Otherwise, returns False.
  • Writing: Writing any non-zero value to the LiveMode tag will place the In-Sight sensor or emulator into live acquisition mode. Writing zero to the LiveMode tag will exit live acquistion mode.
Note: If you have the Job View of a sensor open in In-Sight Explorer after writing a value of True to the LiveMode tag, In-Sight Explorer will show the live image of the sensor but the Job View status bar will not indicate Live mode.

NativeOnline

Read/Write

Boolean

  • Reading: Returns False if the Native Mode Set Online command "SO0" has been issued to the sensor. Otherwise, returns True.
  • Writing: Writing any non-zero value to the NativeOnline tag will place the In-Sight sensor or emulator Offline via Native Mode (equivalent to issuing the Native Mode Set Online command "SO0".) Writing zero to the NativeOnline tag allows the sensor to be placed Online (equivalent to issuing the Native Mode Set Online command "SO1".)

Refer to the In-Sight Explorer Reference Guide for more information on Native Mode and the Native Mode command set.

Online

Read-only

Boolean

Returns the logical 'AND' of the following: (DiscreteOnline AND NativeOnline AND GuiOnline)

SaveJobAs

Read/Write

String

  • Reading: Returns a string containing the name of the last saved Job file.
  • Writing: Saves the Active Job file as the specified string.
Note: The In-Sight sensor must be Offline in order to write the SaveJobAs tag; otherwise, an error will result.

TriggerEvent

Read/Write

Integer

Writing: Fires a Soft Trigger or a Manual Acquisition on the In-Sight sensor:

  • Writing an integer value of 0 through 7 to the TriggerEvent tag will fire the corresponding "Soft n" trigger event in the spreadsheet, where n is the integer value written to the tag.

  • Writing a value of 8 to the TriggerEvent tag will fire a Manual Acquisition.

TriggerEvent Example

Note: The In-Sight sensor must be Online in order to write the TriggerEvent tag; otherwise, an error will result.