Jump to content

Access TestStand Object Reference variable use TS API in LabVIEW


Recommended Posts

Hi, everyone,

Recently, I'm using TestStand in my work. I have meet some problems about the "object reference variable" which need your help. The problem is descriped below:

1: I have pre-defined some station global variables by sequence editor which means the instruments class which I will use in the sequence actions;Pre-Defined Station Globals.PNG

2: I have writted a Application UI by LabVIEW. When the user start the application(.exe), it will initial all instruments in my systems and write the all inited instrument objs to these pre-defined object references. The reason why I design this mechanism is that some instruments will use TCP/IP for remote control and I don't want connect and dis-connect TCP/IP frequency. The way to write object reference from LabVIEW to TS is below:

write object reference.PNG

3: After write the object reference to TS, I try to run a sequence file, the TS says "the object reference is nothing";

I want to whether it is possible to write object reference in LabVIEW to TS? If anyone knows, please help me, thanks a lot!

Link to comment
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.