Download Print this page

Fluke 225C Programming Reference Manual page 43

Remote control and programming reference
Hide thumbs Also See for 225C:

Advertisement

'
'*****************
OPEN "COM1:1200,N,8,1,CS,DS,RB2048" FOR RANDOM AS #1
CLS
GOSUB ClearPort
PRINT #1, "QS"
GOSUB Acknowledge
GOSUB Response
PRINT "Present setup data are stored in the file SETUP0"
PRINT "This setup will now be retrieved from the file and"
PRINT "sent back to the ScopeMeter."
PRINT "To see if this works, change the present settings and"
PRINT "verify if the ScopeMeter returns to the previous"
PRINT "settings."
PRINT
PRINT "Press any key on the PC keyboard to continue."
SLEEP
CLS
PRINT #1, "PS"
GOSUB Acknowledge
OPEN "SETUP0" FOR INPUT AS #2
DO WHILE NOT EOF(2)
SUCHR$ = INPUT$(1, #2)
PRINT #1, SUCHR$;
LOOP
PRINT #1, CHR$(13);
CLOSE #2
GOSUB Acknowledge
END
'
Page 3.31
Begin example program
'Clears pending data from port.
'Queries the actual setup data.
'Input acknowledge from ScopeMeter.
'Writes the setup data to file.
'Program header for programming
'the setup data to the ScopeMeter.
'Input acknowledge from ScopeMeter.
'Opens file SETUP0 for data retrieval.
'Reads setup data from file
'Programs ScopeMeter with the"
'setup data stored in SETUP0$.
'Program message terminator
'Close file SETUP0.
'Input acknowledge from ScopeMeter.
*****************

Advertisement

loading

This manual is also suitable for:

Scopemeter 190 series