RobotStudio event

Overwriting existing modules?

Scenario:

I want to be able to overwrite an existing module (contains data of user-defined data types) during running.  Having read the LOAD command syntax fully (I only scanned it before), it looks like it will return an error ERR_LOADED if the module (.sys) already exists rather than just overwrite the existing one.  If I UNLOAD the .sys module, won't this create RAPID errors as all of a sudden as the declarations have (temporarily) been removed and hence not available?  This data will be used in a different module, not called at the time of LOAD (and UNLOAD if needed).

Is there any way of loading AND overwriting an existing module?

Comments