03-19-2010 07:14 AM
Hi,
Is it possible to compare two sequences loaded in a C# code module using functionality from the TestStand API?
Best regards
03-22-2010 03:46 AM
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.
03-22-2010 05:30 AM
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
03-22-2010 05:59 AM
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
03-22-2010 06:30 AM
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
03-22-2010 06:44 AM
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
03-22-2010 07:23 AM
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
03-24-2010 03:28 AM
03-24-2010 03:46 AM
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
03-24-2010 07:34 AM