Defining a Lookup Table Using an External Function

In some cases, you may wish an external program to directly generate the data that you can use to dynamically define a Lookup Table element. To facilitate this, GoldSim allows you to output the table from a DLL using an External element.

You link a Lookup Table to an external function by selecting “External DLL” from the Data Source field at the bottom of the Lookup Table dialog:

When you do so, a new tab (External DLL) is added to the dialog.  You use this tab to specify the name of the External element output that defines the table.

In order to do so, you must first be familiar with creating DLLs and linking them to GoldSim using External elements.

   Note: When a Lookup Table is linked to an external DLL, you can view the data once the model has been run.  If you subsequently wish to edit the data, you can do so by first removing the link to the external DLL (by changing Data Source to “None”).

Related Topics…

Learn more about: