Removing Workers
Create/Add Worker tool
Last updated
Create/Add Worker tool
Last updated
The Create/Add Worker tool cannot yet remove Workers that it adds to your applications. But it is simple enough to remove a statically-linked Worker yourself by deleting the items that the Create/Add Worker tool created by following the steps below.
Let's take an example where we want to remove Worker B from Worker A.
Remove Worker B's object constant from Worker A's Statically-Linked subWorkers.ctl.
If no Worker object constant exists in a Worker's Statically-Linked subWorkers.ctl, you will need to also delete Statically-Linked subWorkers.ctl from the Caller, because LabVIEW does not allow empty clusters to exist.
Delete Set Initialization Data - Worker B.vi from Worker A.
Delete Setup subWorker - Worker B.vi from Worker A.
Delete Worker B's Main VI (Main.vi or Main NR.vi) from the block diagram of Worker A's Main VI.
You have now removed the statically-linked subWorker but you might still have to clean up a few broken wires now that you have removed and deleted the VIs above. The Worker should now be removed from its Caller.