Examples of setting the bitmask value to enable auditing
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server
As an example, to enable auditing for the Point Database (which has a bitmask value of 1) and the Digital State Table (which has a bitmask value of 2) set the EnableAudit parameter to 3 (= 1 + 2).
Similarly, set the EnableAudit parameter to 131 (= 1 + 2 + 128) to enable Point, Digital State, and Trust Table auditing.
Enter numeric values into the Timeout Table as decimal numbers. Hexadecimal (base 16) notation is more convenient for creating or examining the bitmask value entered into the EnableAudit parameter. It is easier to use hexadecimal notation to create the desired bitmask and convert to decimal for entry into the Timeout Table. Conversely, it is easier to read a decimal entry from the Timeout Table and convert to hexadecimal to interpret the value as a bitmask.
To change the value of EnableAudit, use PI SMT as described in Edit Data Archive tuning parameters.
Alternatively, use the piconfig utility.