Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 14 Other Features > 14.7 External Document Files

14.7.2 External File Functions & Variables

Scroll Prev Top Next More

Any item that supports external files (i.e. Sequence or Page) will also have extra functions and variables available from script:

Functions:

Reload(): if the item is external, calling this function will tell DAQFactory to load / reload the item from the external file.

Unload(): for Pages only.  If the item is external, calling this function will clear out the data in the item and mark it as unloaded.  It can then be reloaded from the external file at any time.

Variables:

These variables line up with the parameters in the External File Properties... windows.:

extFileName: a string with the location of the external file

extExternalOnly: 0 (not enabled) or 1 (enabled)

extAlwaysEncrypt: 0 (not enabled) or 1 (enabled)

extEncryptKey: a string with the encryption key for the external file (if desired)

extDelayLoad: 0 (not enabled) or 1 (enabled)

extReadOnly: 0 (not enabled) or 1 (enabled)

extAutoReload: 0 (not enabled) or 1 (enabled)