Fluke PM-3390B, PM-3380B, PM-3370B, PM-3394B, PM-3384B user manual Application program

Models: PM-3394B PM-3390B PM-3370B PM-3380B PM-3384B

1 297
Download 297 pages 56.64 Kb
Page 241
Image 241

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.

Page 241
Image 241
Fluke PM-3390B, PM-3380B, PM-3370B, PM-3394B, PM-3384B user manual Application program