11-13-2008 09:50 AM
I have Labview DLLs that I need to convert to DLLs that can be called from TestStand. I've prototyped a simply VI and have gotten it to work just fine. I run into problems when I try to prototype using the Sequence Context type parameter. When building the DLL from Labview it recognizes the type as IDispatch pointer. When I call the built DLL from TestStand it recognizes that parameter type and I pass to it "thisContext". But when I actually run the step, the variables that should be pulled from the sequence context gets nothing. It's like those variables don't exist. Example: if, in the VI, i use the SequenceContext to get to a TestStand boolean and use that boolean in a conditional argument that determins a string output, no string is passed to the output indicator. Can anyone tell me what's going on with passing parameters via sequence context?
11-17-2008 08:37 AM
Hello,
Are you able to verify the value of the boolean before the condition is evaluated by wiring it up to its own indicator as well? In any event, I would be curious to see a small example that exhibits this behavior because it is my inclination that one case or the other must be accepted, even if it is an inaccurate evaluation of the original TestStand boolean.
One last question, is there a reason that you are passing the sequence context to obtain a boolean from TestStand, rather than just the boolean itself? Are there other elements of the sequence context that you are trying to manipulate in LabVIEW and want to just pass one parameter? This should not be a problem, but I wanted to make sure that the simplest method is being employed if at all possible.
11-25-2008 10:35 AM
12-01-2008 08:50 AM
Do the details outlined in this resource pertain to your particular situation? If so, it describes a known issue as well as a workaround for that issue.
12-01-2008 02:04 PM
While reviewing the aforementioned resource, I realized that it may be limited to a previous version of TestStand. As such, I created an example that successfully accomplished what we had been discussing and have attached it below. It utilizes TestStand 4.1 and LabVIEW 8.6. Please let me know if you need a different version with respect to either of these environments.