How to Get the Current User Logged in TestStand Using LabVIEW

Updated May 30, 2019

Reported In

Software

  • LabVIEW
  • TestStand

Issue Details

  • I need to get the current user logged in TesStand using a LabVIEW code.
  • I get errors when getting the user logged in TestStand.

Solution

You can use the TestStand API in LabVIEW to achieve this. In the following picture there is an example of how to get the current user information: 
Note: If you are launching TestStand remotely, the information may not be captured.

Additional Information

With the IEngine class you can select other useful properties and methods instead of Current User. This can be helpful for other applications, for example if you need to get infomration about the User Group, and others.