Worktable Name at Runtime?

Hey all,
I am working on some FC interfacing VB (.NET) scripts and I was wondering if anybody knows of a function to pull the name of the current worktable during runtime? I noticed in the bug fixes for Fluent Control 3.6 there is a mention of the FC function “WorktableName()” which seems to be exactly what I am looking for but currently when I try this in FC 2.8 the function doesn’t seem to exist. Does anybody know if there is something like this in earlier FC versions or possibly a work around to determine the current scripts referenced worktable? Any leads would be helpful!

Tough to say when that function was introduced but your best bet could be to hardcode the name as a variable in the original script and pull it that way.

1 Like

I have just checked and I notice that the function is not available in our FluentControl 3.0, but I do see that the function is in the manual for FluentControl 3.5. I haven’t checked if I can pull the data in a script but I might do so tomorrow.

Update : 06 Aug 2024, I have found and tested the function in FluentControl 3.5 where I could extract the worktable name. I do not know at what stage it became available.

1 Like

WorktableName() was introduced with FluentControl 3.2 (CR #110840)

1 Like

Thank you all for the information. The impetus for checking the worktable name was to check dynamically, the presence and position of certain labware/carriers on the deck during runtime. The work around I ended up going with is using multiple “GetLocationNameOf…” and “GetAttribute” functions and placing them in Try/Catch statements in the VB script to check these things which is working for me.

1 Like