02-25-2020 11:43 PM
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!
02-26-2020 03:03 AM
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
02-26-2020 07:48 PM
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!
02-27-2020 12:54 AM
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