Reading Counter Tag

<< Click to Display Table of Contents >>

 

Reading Counter Tag

Read-Only

This Tag reads the counter corresponding to the values of Device and Item parameters. In case of using Tag Browser window to add this Tag, these parameters are automatically filled. When creating this Tag manually, users must check if the added counter is really available on the queried computer.

Available parameters for the Reading Counter Tag

Device

Name of the computer accessed. If this name is not informed, the search is performed on the local computer. Use the format "\\COMPUTER"

Item

Path of a counter, using the same format of Windows Performance Monitor, that is, "\PerfObject(ParentInstance/ObjectInstance#InstanceIndex)\Counter"

N1/B1

Not used

N2/B2

Not used

N3/B3

Not used

N4/B4

Not used

 

By default, the received value is a Double data type. These values can be read directly as a Long or Large data type. To change the returned data type, insert at the end of the counter, in the Item parameter, the value "l" for a Long data type or "ll" for a Large data type, such as "\Processor(_Total)\% Processor Time, l or \Processor(_Total)\% Processor Time, ll".

 

NOTE

To check the complete list of available counters on a specific computer without this Driver, execute the Performance Monitor (perfmon.msc).

Was this page useful?