28 mac_downloadsimpleiqapp – ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 127

Advertising
background image

5. Unable to open SimpleIQ application file;

6. Application file is empty;

7. Unable to read application file;

8. Unable to find version;

9. Unable to read version;

10. Unable to find parameters;

11. Unable to read parameters;

12. Unable to verify versioning capability;

13. Incompatible versions;

14. Difference versions: need to call Application Editor;

15. Unable to load application;

200.

Download SimpleIQ device parameters failed:

201.

Unable to get TOC;

202.

Unable to clear parameters - step 1 failed;

203.

Unable to clear parameters - step 2 failed;

204.

Unable to clear parameters - step 3 failed;

205.

Unable to clear parameters - step 4 failed;

206.

Unable to download header of parameters;

207.

Unable to download portion of parameters;

Use MAC_GetLastError to retrieve the error string.

Sample:

int retVal = MAC_DownloadSimpleIQParams( hCom, _T("a1"),
_T("c:\\SimpleIQ\\app1.dat") );

6.28 MAC_DownloadSimpleIQApp

This function enables the user to download application - program and parameters (from
new Compositor application file format only) to Simple-IQ controller

Syntax:

int MAC_DownloadSimpleIQApp

(

COMMUNICATION_HANDLE

hCommunication,

LPCTSTR

cszObjName,

LPCTSTR

cszLocalPath);

Input Parameters:

COMMUNICATION_HANDLE hCommunication

Multi-axes supervisor communication handle.

LPCTSTR cszObjName

Motion object.

LPCTSTR cszLocalPath

Path to SimpleIQ application file on desktop computer.

Maestro

Software Manual

The Maestro API

MAN-MASSW (Ver. Q)

6-20

Advertising