Workstation Status Tag

Not counted towards your tag license limit.

Workstation status driver tags can be associated with one or more I/O tags to access data that the driver obtains from the Windows Management Instrumentation (an API in the Windows operating system that enables devices and systems in a network to be managed and controlled).

In order to access information about the workstation being monitored by a workstation status driver tag, follow these steps:

  1. Create a workstation status driver tag. Set the Workstation Name drop-down list to the name of the workstation you wish to monitor. (You can create one workstation status driver tag for each workstation you wish to monitor.)
  2. Create one Analog Input tag for each piece of data you wish to obtain from the workstation being monitored. (You can create multiple Analog Input tags and associate them with a single workstation status driver tag.)
  3. Use the I/O Device field for each Analog Input tag to associate the analog input with the workstation status driver tag.
  4. Set the Address field of each Analog Input tag to one of the available strings.

See: Workstation Status Driver I/O Addressing

 

Workstation status driver tags have been configured in such a way that they do not conform to the same server/backup server fail over process like other VTScada drivers. In essence, the PC being monitored by a workstation status driver tag is its own server. If the PC being monitored drops off the network, the workstation status driver tag will be unable to report data about it to the application and will therefore have a value of INVALID. A value of 0 (zero) for the Workstation Status tag means that the PC is running and there are no errors.

Using the Expression() address of Workstation Tags.

The Expression() address of a Workstation driver provides a method to call a script-only function or expression from within an otherwise steady-state expression.
This feature can be a handy way to integrate a script-only function into an expression by referring to the value of the I/O tag holding the Expression() address.
This should not be used for triggers that require perfect accuracy. The function you call may require measurable execution time.
See: Workstation Status Driver I/O Addressing

 

Troubleshooting

If values do not appear for anything other than battery checks, it is likely that the Windows performance counter needs to be reset on this machine. Test by opening a command prompt with administrative privileges and typing PERFMON. If this opens with an error message, close the performance monitor and type LODCTR /R

Note that the /R must be in uppercase. If you did not open the command prompt with administrative privileges, this command will fail with error 5.

Restart the workstation.

Workstation Status Driver properties Workstation tab

This tab is used to specify the workstation for which the tag should report data.

Workstation Name

The Workstation Name drop-down list enables you to select the name of the workstation that you wish to monitor (you may alternatively enter a Net BIOS name in this field). The Workstation Name field defaults to the local machine name when new workstation status driver tags are initially created.

Please refer to Workstation Status Driver Tag Addressing for instructions on the correct configuration of a workstation status tag and its associated Analog Input tags.