Home ![]() ![]() |
||||||||||||||||||||
See also: Startup Control
![]() |
||||||||||||||||||||
Control by External Programs |
||||||||||||||||||||
Epina ImageLab can be controlled by external programs by sending a Windows WM_CopyData message to Epina ImageLab which contains either a filename of a data file (.ILAB file) or the name of an Epina ImageLab script (file extension '.ISCR'). If the message does not contain a valid filename Epina ImageLab either generates an appropriate error dialog or ignores the message (the actual behavior depends on the state of the switch "Provide a Status Message on Faulty External Control"). The filename may either be passed as a fully specified path (disk character, path, and filename) or with no path at all (filename only). If Epina ImageLab receives a filename without a path it is assumed that the file to be loaded is located in the current working directory. If the file extension of the passed filename is '.ILAB' the corresponding data file is loaded. Please note that a complete Epina ImageLab dataset consists of several files (.ilab and .cube as a minimum). In order to control Epina ImageLab by an external program, this program first has to create a suitable Epina ImageLab script and then pass the filename of the script to Epina ImageLab.
When sending the message to Epina ImageLab, one of the following error codes is returned:
|