01-02-2007 06:51 PM
01-04-2007 01:48 PM
Hi A,
Offhand, I'm not sure what is causing the problem. A simple test for me worked fine with the default settings. Are you passing a struct or cluster? Perhaps this example will help:
<TestStand>\Examples\StructPassing\LabVIEW\Struct Passing to LV DLL.seq
If this doesn't help, please attach a simplified version of the VI that reproduces the error, and its corresponding dll, so I can troubleshoot.
01-06-2007 10:01 PM
David,
Unless I'm mistaken that example doesn't have any type library information available. When trying to link the teststand environment to the DLL within the TestStand step you have to know all the inputs and outputs prior to actually implementing.
My goal is that when you select the DLL, it tells you what inputs and outputs to select as opposed to manually selecting them all.
A.
01-08-2007 06:35 PM
Hi A.,
TestStand understands the parameter information from a LabVIEW-created DLL, using the default settings. Again, if you can post the original VI and the DLL you have created, I can try to reproduce this specific issue and troubleshoot from there.
As a troubleshooting step, I would recommend creating a simple VI, making a DLL out of it, and checking this yourself. Perhaps you can isolate where things are different in the problematic VI.
Finally, try the attached dll that I created from LabVIEW using the default settings. TestStand should recognize the parameters automatically.
01-20-2007 03:32 PM
David, The code you sent did work, but I cannot figure out why the code I build doesn't work.
Could you send me the LabVIEW code and the build file, so that I can see what is different between what we are doing.
A.
01-22-2007 01:21 PM