03-01-2009 03:37 AM
When I run a unit for the first time TS4.1 takes a long time to load all the settings for SE (switch executive 2.1.1).
Every unit after that point does not expericene the SE load time.
I then close this seq and open another.
When I try this new opened seq in TS4.1 it comes up with a SE error as the switch has an open session.
How do I add a step in TS4.1 in cleanup to unload all the settings for SE?
So the next seq can load them all again?
03-02-2009 06:51 AM
Hi there,
I am assuming you are using LabVIEW to call Switch Executive. In the same method, create a vi, that closes the reference to Switch Executive, and then just action this vi within your cleanup phase.
03-02-2009 07:19 AM
Nothing done in Labview. We use a label switching step in TS step to connect and disconnect a relay.
On the first run then TS comes across the first connect it loads all the SE settings.
When you 'disconnect all' in the label step all the SE settings remain in memory.
I need to unload all the SE settings when the program is finished. The reverse of the first load.
When you load another TS program that would like to use the same switch cards, the program will error as cards already in use.
How do I find out the session reference to unload all SE settings?
03-02-2009 09:16 AM