01-05-2005 10:50 AM
01-05-2005 12:29 PM
@Anthony de Vries wrote:
...Have all the drivers belonging to the SG...
...I'm almost only calling the SG driver VI's....they're all just DLL calls. Nothing I can do there...
01-05-2005 02:59 PM
01-06-2005 03:09 AM
01-06-2005 07:59 AM
01-06-2005 09:29 AM
Not sure that I understand.. Do you mean that the VI´s that control the SG allready return before the actual instruction is carried out by the instrument? So that I´m issuing new commands while it is not ready with the first ones?
@Albert Geven wrote:
Your problem can be genrated by too fast messaging to the SG
Also polling on a statusbyte should not be too fast, but ms waits should not be neceesary except when polling in a while loop.
I know, I know.... But the standard Labview 'wait' VI doesn´t have error I/O. So when I quickly needed to put a wait in a specific spot, I added a sequence around the wait, and run the error line through it. Just now that I had to put in so many, it was becoming a mess. Allready made a custom 'wait' VI with error lines now. (See the code)
Using sequences to determine execution order is the second best.
Error In, Error out offer better control and more readability.
01-06-2005 09:43 AM
01-06-2005 10:22 AM
01-06-2005 10:36 AM
01-07-2005 02:10 AM