WKStaInfo
(Engine-Level Function)
Description: | Returns the characteristic information about this workstation. |
Returns: | Text |
Usage: | Script only. |
Function Groups: | Network, Hardware and Software |
Related to: | VStatus | Platform | BuffToHex | |
Format: | WKStaInfo(Option) |
Parameters: |
Option | ||||||||||||||||||||
Required. Selects the characteristic to return, as shown in the following table
|
Comments: |
If looking for the workstation name, it is more efficient to use the \RPCManager variable WkStnName rather than call this function. (\RPCManager.WkStnName) This function will only return a valid value if the machine has a workstation name assigned to it (i.e. if network services have been installed). If network services have not been installed it will return invalid. VTScada relies on a Windows function call to obtain the NetBios name of workstations. That function will truncate names that are longer than 15 characters. You are advised to limit workstation names to be 15 characters or less. |