03-18-2009 01:57 PM
This is my scenario:
1. Teststand calls a function in a CVI created DLL to do something. This function's prototype is void function(void);
2. Since no parameters are being passed can I get to the anonymous sequence context inside the dll call? I know this can be done by simply passing the "thiscontext" parameter in my function call, but I would like to resolve the context to perform additional run-time logging operations without rewriting my entire application.
void function(void)
{
TSObj_Execution execution = 0;
TSObj_Report report = 0;
TSObj_Engine tsengine = 0;
TS_NewEngine(NULL, &tsengine);
/// Can I somehow use the TestStand engine to get the current sequence context?
}
Solved! Go to Solution.
03-19-2009 06:17 AM
Hi Dspman,
Maybe this thread could be interresting http://forums.ni.com/ni/board/message?board.id=330&thread.id=18696
There is an example which shows how to share an Execution object to a "stand-alone" application.
if you have an ExecutionObject you will get the underlaying SequenceContext.
hope this helps
juergen
03-19-2009 09:01 AM