NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare two sequences loaded in a C# code module.

Hi,

 

Is it possible to compare two sequences loaded in a C# code module using functionality from the TestStand API?

 

Best regards

0 Kudos
Message 1 of 19
(5,106 Views)

Hello,

 

Here you can find a related post:

http://forums.ni.com/ni/board/message?board.id=330&message.id=26058&requireLogin=False

 

Let me know if you have further questions or if this doesn't help you.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 19
(5,081 Views)

Hi,

 

Although there is a difference tool within the SeqEditor as Thierry is referring too, there is not a single API method you could call within your Code module. You would have to obtain each of the two Sequence's properties and compare them yourself. This is achievable.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 3 of 19
(5,074 Views)

Hi,

 

One option is to try to use the sequence diff API. This API is not exposed along with the TestStand API. But I was able to find them, in \\National Instruments\TestStand 4.2.1\Bin\SeqEditSupport.dll.  These are not documented so it will difficult using them. In case you suceeded in using this API do let me know.

 

Thanks 

Message 4 of 19
(5,069 Views)

Useful to know.

 

But this may not be available on a deployed system if your sequence files etc are destined to be used on a Run time system.

 

 

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 5 of 19
(5,064 Views)

Hi Ray,

 

Will this work for a Custom Sequence Editor License ? I do not have custom sequence editor license, but I'm hoping it should work with the custom sequence editor license.

 

Thanks 

0 Kudos
Message 6 of 19
(5,061 Views)

Hi,

 

I guess it should work, but I don't know if the Custom UI has the same functionality as the SeqEditor in this respect eg the diff tool is available from the menu on a Custom UI.

 

Regards

 

Ray

Regards
Ray Farmer
0 Kudos
Message 7 of 19
(5,059 Views)

Hey ccds,

 

Have you tried what the other guys explained?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 8 of 19
(5,014 Views)

Hi Ray,

 

To pour more light in to your doubt, sequence file diff is not available in the menu of full featured user interface. I'm still wondering how to incorporate this feature in to my custom user interface.

 

Thanks 

0 Kudos
Message 9 of 19
(5,013 Views)

Hi  ccds

 

Just a simple question, what is aim of the comparsion ?!?

 

Binary Equal, Parameter Eqal, Step Count Equal and so on....

 

Regards

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 10 of 19
(5,001 Views)