Locking onto a DLL
File
GoldSim allows you to "lock onto" the DLL file that is being referenced. When you lock onto a file (by checking the Lock onto this file option in the External element dialog), the following additional information regarding the referenced file is saved with the element:
- File and path name;
- Date the file was created;
- Date the file was last modified;
- File size; and
- CRC signature.
Once you have locked onto a file, this information is displayed in a tool-tip when you hold your cursor over the filename in the dialog.
The CRC signature is an alphanumeric code that can be used to uniquely identify whether the file contents have changed. When you run a model that has locked onto a file, GoldSim compares the CRC signature of the file with the original signature that was stored. If these are not identical (indicating that the file has been changed), GoldSim displays an error message and will not run the model.
You can unlock a file by clearing the Lock onto this file checkbox. Note that if versioning The process of tracking changes that you make to your model file. is enabled, whenever a file is locked onto or unlocked, this information is logged with the version.
Learn more
- Defining a Lookup Table Using an External Function
- Defining the External Element
- Exporting the External Element Interface
- External (DLL) Elements
- Implementing the External Module
- Locking onto a DLL File
- Running the DLL in a Separate Process
- Saving External Element Outputs
- Using an External Element to Define Lookup Tables
- Using an External Element to Read and/or Output Time Series
- Viewing an External Element in the Browser
- When is the External Element Called?