Fluke PM6681R, PM6685R manual Frequency Profiling

Models: PM6685 PM6685R PM6681 PM6681R

1 276
Download 276 pages 1.51 Kb
Page 45
Image 45
3. Frequency Profiling

Programming Examples

3. Frequency Profiling

Frequency profiling visualizes frequency variations for a certain time. This program gives an output file called:

PROFILE.DAT. If this file is imported to a spreadsheet program, for instance Excel, you can create a graph like the one in the figure below.

Figure 4-1This figure is the results of frequency profiling on a sweep generator.

50 ‘

60 OPEN “O”, 1, “PROFILE.DAT”

70 CNTNAME$ = “DEV10"

80 CALL IBFIND (CNTNAME$, CNT%)

90

100

110—— Enable arming, etc. ——

120WRT$ = “:TRIG:COUN 1; :ARM:COUN 1; SOUR EXT4"

130CALL IBWRT(CNT%, WRT$)

140WRT$ = “:INP:LEV:AUTO ONCE

150CALL IBWRT(CNT%, WRT$)

160WRT$ = “:DISP:ENAB OFF; :ACQ:APER 1E-6"

170CALL IBWRT(CNT%, WRT$)

180

190ARMDELAY = .0000002

GW-Basic for National Instruments PC-IIA, Setting Up the Interface 4-5

Page 45
Image 45
Fluke PM6681R, PM6685R manual Frequency Profiling, GW-Basic for National Instruments PC-IIA, Setting Up the Interface