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 |
|
LiveMode |
Read/Write |
Boolean |
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 |
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 |
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:
Note: The In-Sight sensor must be Online in order to write the TriggerEvent tag; otherwise, an error will result.
|