Hi,
I am working on a small project to add functionality to our Common Sequence calls in TestStand 3.5. I have created a custom step type by copying the Action step type from NI_Types.ini into MyTypes.ini. I designated the adapter as Sequence and added a C/C++ DLL as a Substep.
I would like to call a DLL that launches a help file based on the name of the sequence. I believe that this information is located in Step.TS.SData.SeqName, so I know that I will need to pass that to the DLL. I planned on simply using a lookup table that loads a different string (the path of the file and filename) into ShellExecute to launch the corresponding help file. I know that this is a rather simple DLL to write, but am unsure of how to do this (if the way I'm trying to do this won't work, please let me know).
I would greatly appreciate it if somebody could provide a code example of how to do this, and let me know how to actually create the DLL. I know that this isn't exactly a TestStand question, but it is the last step in implementing this functionality and I am stuck at the moment.
Thanks in Advance,
Bryan