NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Clone/Duplicate Sequence Programmatically TestStand

Hello,

 

I'm currently working on a project, and I hit a dead end where I couldn’t find a solution to a problem I’ve encountered when working on a project.

 

 

Referring to the first picture, what I am trying to replicate is copying and pasting sequence programmatically. The outcome that I would like to achieve are shown in second picture. How can I achieve this outcome?

I highly appreciate your help.

SyafiMasri_1-1695707543445.png

SyafiMasri_2-1695707554728.png

 

 

0 Kudos
Message 1 of 4
(436 Views)

In the Sequence Pane, click on the Seqeunce you want to copy, so it gets highlighted

CTRL+C to copy CTRL + V to paste

et voila

0 Kudos
Message 2 of 4
(407 Views)

Yes but how do I do it Programmatically so that it will copy and paste during Runtime? 

0 Kudos
Message 3 of 4
(388 Views)

Sorry.... I have indeed not read the word "programatically" 😖

 

Have you tried using the PropertyObject API? The Clone Method may do the job.

 

https://www.ni.com/docs/de-DE/bundle/teststand/page/tsapiref/reftopics/propertyobject_clone_m.htm

 

 

0 Kudos
Message 4 of 4
(374 Views)