NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error with property object engine mand passing user container between Labview and Teststand

I'm trying to use one of the example  dowlnoaded from NI example using it to find a way to set a locals container in teststand by Labview code.

Suddenly I got the error that the connection between the nodes is at error. I opened backup file for the same code and got the same error.

I attached a file that shows the error.

Also, I can set a reference similar to the error container, but different type like, simple container or Labview dynamic data container, in this example from Testtand to Labview.

Please let me know if there is a solution. I've tried UI messages with no success passing values from Labview to Teststand.

Thank you.

Elik

0 Kudos
Message 1 of 3
(3,182 Views)

Hi Elik,

 

It looks like something is wrong with the SequenceContext property node.  This may be caused by an invalid parameter being passed into the sequenceContext control.  In your sequence, make sure that you are passing ThisContext into the SequenceContext control.  If you are still having problems, try recreating it using this method:

 

  1. Create a property node from the application control palette.
  2. Right click the node, and navigate to Select Class»ActiveX»Browse...



  3. In the Type Library dropdown, select the NI TestStand APIfor the version ofTestStand you are using (in my case 4.1.1)
  4. Select SequenceContext from the Objects menu.
  5. Left click the Property on the node and select Engine



  6. Delete the SequenceContext control you have.  Right click the top left terminal to create a control, then add this control to the connector pane.
  7. When loading the VI in your sequence, pass ThisContext into the sequenceContext parameter.
Please let me know if you are still having problems after going through these steps, or if you are unclear about anything!  Also, where is this example located?  I would like to take a look and make sure there is not an error built into it.  Thanks!

 

Message Edited by Al B on 03-30-2009 01:15 PM
Al B.
Staff Software Engineer - TestStand
CTA/CLD
Download All
0 Kudos
Message 2 of 3
(3,163 Views)

Thank you Al,

That took care of this issue.

The example I use from the NI forum is send notifier to teststand. URL http://zone.ni.com/devzone/cda/epd/p/id/6138

About the second part of my question.

How can I set a reference similar to the error container, but different type like, simple TestStand container or Labview dynamic data containerin this example from Testtand to Labview.

I wish to transfer  TestStand container that is a cluster similar to error cluster, but my container to and from TestStand to Labview.

All the example I saw using the error container to transfer container out to TestsStand.

The issue here is synchronization using the nofitier mechanism to transfer data fro Labview to TestStand and from TestStand to Labview.

Please refer me to any article or example not using the error container.

 

Thank you.

 

Elik

 

0 Kudos
Message 3 of 3
(3,153 Views)