04-11-2006 12:55 AM
In my system have I made a background seq that is taking care of the handling of barcodes, PLC controlling and so on, the seq is then calling the test seq with a step "Sequence Call" with the settings "Run sequence in a New Execution", and execution settings is "Close Window When Done", and wait before execution next step, the rest of the step setup is default.
In the first place I hadn't checked "Close Window When Done", the result of that was that It took a little more memory after every run, so then I found out to check this settings.
But now when I check this, then I have a problem with one of my steps it seems to unload a internal DLL each time I change seq. by that I mean that I can run the same seq over and over again without any problems at all, but as soon as I change seq, then I have one step that has lost its reference. I have tried to dig in the VI to find out what it is missing, and it seems that all control values is still intact, so it seems to be the driver DLL or something like that, that is missing (only a guess).
If I then uncheck the "Close Window When Done" again, then everything is working again.
I have attached my VI, it’s a custom step to control a relay card, I have deleted the "controlling" sub vi's, else I think you have a lot of problems opening it.
Hope this can give someone a idea what is wrong.. at this moment I have no idea....
04-26-2006 07:16 AM