Fluke PM-3380B Sander User Manual


 
A - 8 APPLICATION PROGRAM EXAMPLES
If an SRQ is generated (acquisition finished), the dT cursor value is read and
printed by sending: DISPlay:WINDow:TEXT20:DATA?
Request to stop or to repeat this test (do Repeat.test1 again).
Routine ServReq does the following:
- Serial polls the status byte to reset the SRQ mechanism.
- Reads the ESR byte to clear the OPC bit.
- Sets the SRQ.detected flag to signal that an SRQ interrupt occurred.
Routine Enter.Setup does the following:
- Requests for a path/directory/file_name.
- Inputs the instrument settings (<setupout$>) from the file specified.
- Sends the SYSTem:SET <setupout$> command to restore the instrument
setup.
Routine Save.Setup does the following:
- Requests for a path/directory/file_name.
- Sends the SYSTem:SET? query and reads in response the <setupin$>
instrument setup.
- Writes the instrument settings (<setupin$>) to the file specified.
Application program:
Note: The program is supplied on floppy under file name EXAPPA32.BAS.