02-12-2013 09:16 AM
Following the TestStand-Example "Sequence Builder.seq" we have created our own SequenceBuilder, which let us generate Sequence-Files from our SQL-Server-Database. Unfortunatly I could not find out how to Change the DllName and Path for our CVI-Steps.
We want to change the Dll-Name and the Path in SequenceFile.
If it is possible to do it with TestStand -Active-X –Steps, this would be the best way. If it is only possible, to do it in CVI-Code, this will also be ok.
Thank you for your Help
Paul Buehlmann
Solved! Go to Solution.
02-19-2013 07:45 AM
Hi Paul,
would you be so kind to upload your "E4_SequenceBuilder.dll" file, too. I'm going to have a look on it.
I think this tutorial would be interesting for you, too:
http://www.ni.com/white-paper/4242/en
Best regards,
Matijas
02-19-2013 10:03 AM
Hi Matijas,
Thank you for your answer. I attached the whole Project (including the dll, without the database of course). I've read your suggested document. But I could not find out how to Change the Property 'RunState.Sequence.Main["SetVariables"].TS.SData.Call.LibPath'. I think this property is from older TestStand-Versions.
I inserted a Label-Step With the Name "ChangeDllName Could Be done here" in the Sequence-File "E4_SequenceBuilderE4.seq" .
Best Regards
Paul
02-20-2013 12:31 AM
Hi Paul
maybe these threads are interesting for you
Regards
Juergen
02-22-2013 11:21 AM
Hi Matijas, Hi Juergen,
With yours suggested links I could find out how to change the dllName. I simply had to Insert a StatementStep with the following expression:
Locals.ClonedStepRef.TS.SData.Call.LibPath="MyNewDllName.dll"
(ClonedStepRef is the Reference of my actualStep which I want to Modify)
It is always the same with TestStand: the solution is so easy, if know it.
Thank Matijas and Juergen your hints were exactly what I needed
Best Regards from Switzerland
Paul