
5.6 Functions ............................................................................................................ 5-30
5.6.1 Function Definition ................................................................................5-30
5.6.2 Built-in Functions...................................................................................5-33
5.6.3 Callback (interrupt) Functions.............................................................. 5-34
5.7 Virtual Machine Control Statements ............................................................... 5-36
5.7.1 wait control statement............................................................................5-36
5.7.2 waitvar control statement .........................................................................5-36
5.7.3 until control statement.............................................................................. 5-37
5.7.4 TRACE control statement ......................................................................5-37
5.7.5 reset control statement............................................................................5-37
5.8 Difference Between Static and Dynamic Group............................................. 5-37
5.8.1 Recommendations on using dynamic groups ..................................... 5-38
5.9 Static Variables................................................................................................... 5-40
5.9.1 Static Variable Definition.......................................................................5-40
5.9.2 Elmo Studio User Interface for Static Variables ..................................5-40
5.9.3 Working with Static Variables in the Maestro Command Interpreter5-41
5.9.4 Working with Static Variables in the Maestro Program Interpreter. 5-42
5.10 Maestro User Program Priority........................................................................ 5-44
Chapter 6: The Maestro API ..........................................................................................................6-1
6.1 MAC_Initialize..................................................................................................... 6-1
6.2 MAC_Uninitialize................................................................................................ 6-2
6.3 MAC_CreateTCPConnection ............................................................................. 6-3
6.4 MAC_CreateRS232Connection .......................................................................... 6-4
6.5 MAC_CloseConnection....................................................................................... 6-5
6.6 MAC_SendCommand ......................................................................................... 6-5
6.7 MAC_LocateDevices ........................................................................................... 6-6
6.8 MAC_GetDevice.................................................................................................. 6-7
6.9 MAC_GetIpByName ........................................................................................... 6-7
6.10 MAC_IsDevicePresent ........................................................................................ 6-8
6.11 MAC_LocateObjects............................................................................................ 6-8
6.12 MAC_GetObject................................................................................................... 6-9
6.13 MAC_DownloadTrajectory .............................................................................. 6-11
6.14 MAC_RemoveTrajectory .................................................................................. 6-11
6.15 MAC_DownloadProgram................................................................................. 6-12
6.16 MAC_RemoveProgram..................................................................................... 6-12
6.17 MAC_DownloadResources .............................................................................. 6-13
6.18 MAC_DownloadResourcesEx .......................................................................... 6-14
6.19 MAC_UploadLog .............................................................................................. 6-14
6.20 MAC_DownloadSimpleIQFirmware............................................................... 6-15
6.21 MAC_GetLastError ........................................................................................... 6-16
6.22 MAC_InitEvents ................................................................................................ 6-16
6.23 MAC_DeinitEvents............................................................................................ 6-17
6.24 MAC_RegCloseCallback................................................................................... 6-17
6.25 MAC_RegInterruptCallback............................................................................. 6-17
6.26 MAC_DownloadSimpleIQProgram ................................................................ 6-18
6.27 MAC_DownloadSimpleIQParams................................................................... 6-19
6.28 MAC_DownloadSimpleIQApp........................................................................ 6-20
Chapter 7: RS-232 Protocol Specification......................................................................................7-1
7.1 Send Command to Maestro ................................................................................ 7-1
Maestro Software Manual Contents
MAN-MAMSW (Ver. Q)
iii
Kommentare zu diesen Handbüchern