From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

teststand中利用ACTIVEX/COM 创建变量

在teststandII中lesson1 中: 如何利用activeX/COM 动态地插入一个局部变量?

 

Develop a small sequence that programmatically insert a local variable using the  Active X/COM adapter.

0 Kudos
Message 1 of 2
(2,121 Views)

The steps needed to dynamically add a variable are covered by this KnowledgeBase article:

 

How Can I Programmatically Create Variables in TestStand?

 

Just change the lookupString to the local name you require, eg. "Locals.NewVariable"

 

Regards,

Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)

Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor

0 Kudos
Message 2 of 2
(2,095 Views)