NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to insert a field to container

hi

   i am having a container in parameters. Already there are 4 fields were available in that container. At present i want to add one more field to the container. This filed is getting from lab windows dll. So please tell me the procedure how to pass a value from lab windows to test stand and how to insert a field to the container.

 

 

Thanks

 

Regards

chenna

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

chenna,

 

You will need a custom data type in teststand that exactly matches the struct that you want to get from CVI.  It sounds like you already have one, and just want to add a new field.  You can do this two ways:

1) delete your existing type, and re-create it using the 'create data type' button on the CVI module pane

2) add the field to your existing type and enable struct passing for it on the Type Properties Dialog Box.

 

Please note that the struct passing information on the data type in TestStand must EXACTLY match the data that you are sending from CVI, so if you need to pass two different structs (sometimes with and sometimes without the extra value), your best bet is to create two types.

Josh W.
Certified TestStand Architect
Formerly blue
0 Kudos
Message 2 of 3
(3,672 Views)

hi

    Thanks for your answer. i tried with the way you proposed. it is working fine.

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