// Switch states of two relays, with only one relay allowed on at once // relayState initially contains the current state of relay Click (0 or 1) logDir="C:\\Documents and Settings\\AkFPI\\Desktop\\EAAprograms\\Logs\\" logID="LAB_" logOrder=321 LOG_DIRECTORY Master, logDir, logID, logOrder LOG_DIRECTORY Observatory, logDir, logID, logOrder i = 0 i_limit = 10 while (i