Importing variables from worklist file to dynamically populate deck with tips and lab ware

I added columns to our worklist files that calculate the number and type of tips needed as well as the labware types needed. I import these values and store them in arrays to populate the deck for the user to follow.

Since implementing this, I’ve noticed FC becomes very slow over time and eventually I’ve noticed it completely freezing. I haven’t encountered this before so I’m wondering if something in this script is causing it.

I feel like I remember seeing somewhere in a thread here that warned against something similar causing memory issues or similar.

Does anyone have any insight?

could you provide screenshots of the script code ?

i saw similar issues with lots of “import variable” commands, multiple loops etc but reverted to a different programming means to incorporate the data sets into FluentControl

my use case had significant lag during data management (ranging from ~10 seconds for plate 1, to 5-10 mins for plate 4; even moving to 20-30 mins at most if PC wasn’t rebooted)

moved to external coding and file handling resulted in consistent durations of ~10 seconds, with additional features added for UI, logging & output reporting

happy to have a remote session to provide insight & examples

Hi,

Often what you describe can occur if you have a set of commands that are causing the worktable to update dynamically in a large loop. For example, in some cases I’ve had commands that have large loops, say like 999 cycles, and within it there is a command that causes labware movement. When it tries to update the worktable to reflect the new position of the labware, it tries to evalutate it for the 999 cycles causing a significant slowdown.

Check if your labware movement is happening within a large loop, or make your default value for your loop size small in the list of variables so that when it simulates the worktable it doesn’t evaluate across all those iteratons.

Mike Mueller

Nucleus Automation Partners LLC

Are you using the import variables command?

Swap it to VB or use the API. Way faster, more reliable.

2 Likes