ImportRenishawWDF

Declaration: ImportRenishawWDF (FName: string; FeedBack: boolean): integer;
Imports a Renishaw WiRE data file (extension .wdf). The parameter FName specifies the full file path of the WDF file.

The parameter Feedback controls whether a visual feedback is provided during the import of the data. Please note that unless the script progress bar is already visible you have to make it visible before calling ImportRenishawWDF, otherwise the feedback will not be displayed. You can activate the script progress bar by calling the function ScriptBar(0).

The function returns the following error codes:

 0 ... everything is OK, the WDF data has been imported
-1 ... the file does not exist
-2 ... the file does not contain valid WiRE data