Hello,
I have been having a difficult time passing a TestStand sequenceContext to a LabVIEW DLL. In the LabVIEW DLL, I have tried to set the sequencecontext as both a IDispatch and a LabVIEW Automation Refnum using the "C Calling Convention". On the Test Stand side, I have tried using the TS Object and the sequencecontext as a TS::SequenceContext passing a a pointer and a reference. I have also tried to pass it as an ActiveX object as an ActiveXAutomationIDispatch type and as a reference and as a pointer. Everytime I pass the argument to the DLL, I get an error "-17311; Could not accept the parameters passed in." for the sequenceContext. There are not any good examples in the Test Stand directory and the NI site doesn't have any either. Can someone help me?
Thanks!