THE CPL PROTOCOL

6 - 17

Response:

acknowledge

CR

Note:

approx. 0.5 sec after an <acknowledge> = 0 is received, the

 

communication parameters are changed to the new values.

Example:

 

100

PAR$="2400,N,8,1"

:’comm parameters

110

CTL$=",XONXOFF"

:’XONXOFF handshake

120

PRINT #1,"PC",PAR$,CTL$

:’Send command

130

GOSUB 1000

:’Sync on acknowledge

140

CLOSE #1

:’Close the COM Port,

150

WT=TIMER

 

160

WHILE (TIMER-WT) < .5 : WEND

:’Wait 0.5 second

170

COMM$ = "COM1:"+PAR$+",CS0,DS0,CD0"

180

OPEN COMM$ AS #1

:’Reprogram COM Port

Page 234
Image 234
Fluke PM3370B user manual Approx .5 sec after an acknowledge = 0 is received