In FC 3.5 I am trying to use either add or remove labware commands nested within some If/Else groups to adjust the amount of tip boxes in the hotel based on the user entered plate count. I’m using this approach to modify when the system tries to restock tips.
This seems to work when running the method in real mode, but simulating these commands causes the script to get hung up here and not complete the command and requires an abort. Does anyone have any experience simulating these commands?
My first thought is that the simulator will use the default variable values set in your variable window, so if those are out of the practical range it could cause a problem. But if that were the case, I feel like the script would throw a context error and not run? I haven’t used FC 3.5 very much so I’m not sure.
Is the simulator throwing an error, or just hanging?
@Crabhammer crabhammer It’s just hanging on the command. Initially it seems like a “soft pause” as there is an option to hit play. Then it hangs indefinitely. I had a similar feeling about the default variable conditions. If I click through the step lines of the editor it seems to work with different default variables, and the labware are removed from the deck appropriately.
@luisvillaautomata I think you may be right about the if/else. I may experiment with removing some to test how that affects performance.
Personal tip: If you’re programming through the Fluent Control software, I recommend placing your If / Else statements into Set Variables where you can.
Then I agree that it’s probably the simulator getting confused by your conditionals. I eventually stopped using the simulator, as I found that clicking through the script generally got me the information I wanted faster.