NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get user information problem

Hi, 

I write codes to get the current user information.But it shows an error after running. So I run the vi step by step  and found it occured at currentuser property. It seems the currentuser property output is not a refnum. This caused the problem.

Can anybody help me tell me the reason?

Thank you in advance!

open28_0-1582695754504.png

open28_1-1582695794542.png

 

 

 

0 Kudos
Message 1 of 4
(2,161 Views)

Hi open28,

 

 According your picture, I'm not sure where you want to get user information. But in OI, you need to get engine

form Application Manager directly.

 

 

Thanks

Ricky

0 Kudos
Message 2 of 4
(2,127 Views)

Hi,Ricky

Yeah, there is no getting user information details  in my picture, because  the part of getting user information is after the property of currentuser and every error occured after this property. So I just write this VI to show what this property output.

 

You said"in OI, you need to get engine form Application Manager directly." Actually , i didn`t realize this mean. Can you tell me the detail? In my opinion, I just get engine from Application Manager directly.

 

Hope to hear from you soon!

Thank you in advance!

 

0 Kudos
Message 3 of 4
(2,107 Views)

Hi open28,

 

 You can see the attachment as an reference. If you run vi with one step in teststand, you can get engine by "Sequence Context In",

or if you run vi independently, you can get engine from Application Manager.

 

 

Thank,

Ricky

0 Kudos
Message 4 of 4
(2,102 Views)