# Online Attributes

The Online Attributes indicate whether an In-Sight vision system is in an Online or Offline state. When the In-Sight vision system is Offline, the OfflineReason attribute can determine the reason that the vision system is Offline.

## OfflineReason Attribute Values

Offline Reason | Name | Description
--- | --- | ---
0 | Online | The vision system is Online.
1 | Programming | The current job A job is a user-configured program in Spreadsheet consisting of functions and designed for specific applications. You can create and edit jobs using the Spreadsheet interface, and load them on a vision system for deployment in a live environment. on the vision system is being modified.
2 | Discrete Offline | A discrete signal is holding the vision system Offline.
3 | Communications Offline | A communications protocol is holding the vision system Offline.

Note: It is possible to have multiple devices holding the In-Sight vision system Offline. In this case, the OfflineReason attribute returns the channel with the lowest reason code.

You can use the SetOffline attribute to force the In-Sight vision system into an Offline state. When SetOnline is set to True, the OfflineReason attribute returns the Communications Offline reason, unless there are other reasons also holding the vision system Offline.