EasyManua.ls Logo

Focus Microwaves ituner - 5.5.2 SendCmd Method; 5.5.3 OPC Method

Default Icon
73 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
iTuner Manual
49
5.5.2 SendCmd Method
Method:
SendCmd ( command , acknowledge )
Parameter:
Command [in]
Acknowledge [out]
String
String
Return value:
Result value of command (see command description in chapter 4)
Remarks:
Same as above ‘Send’ method, but additional parameter ‘acknowledge’
contains the ‘reply’ of the tuner send after receiving ‘command’. Use this
method to send commands such as ‘dir’ that have a large string reply from the
tuner.
Examples:
iTuner.SendCmd(‘dir’, directory)
Parameter ‘directory’ contains reply of
tuner to ‘dir’ command
5.5.3 OPC Method
Method:
OPC (maxWait )
Parameter:
maxWait [in]
Long, in seconds
Return value:
0 -> task has completed
<0 -> timed out before completion
Remarks:
Calling OPC halts your application until the tuner has completed all current
tasks, such as initializing or tuning to a new probe position.
OPC internally calls the ‘STATUS?” command, and returns when either
STATUS? returns 0, or
maxWait seconds have elapsed.
Use a maxWait value that correspond to your tuner, thus allowing sufficient
time for the tuner to complete its tuning operations.

Table of Contents