Télécharger Imprimer la page

Keysight Technologies 3458A Guide D'utilisation page 363

Multimètre

Publicité

– You cannot use the SWEEP or TIMER functions for AC or AC+DC voltage
– When using the SWEEP command (or TIMER event), autoranging is suspended
– Query command: The SWEEP? query command returns two responses
– Related commands: FUNC, NRDGS, TIMER
Example
In the program on the following page, the SSAC command is used to digitize a
10 kHz signal with a peak value of 5 V. The SWEEP command instructs the
multimeter to take 1000 samples (Num_samples variable) with a 2 µs
effective_interval (Eff_int variable}. The measurement uses the default level
triggering for the sync source event (trigger from input signal, 0%, AC-coupling,
positive slope).
Line 120 generates a SYN event and transfers the samples directly to the
computer. Lines 240 through 410 sort the sub-sampled data to produce the
composite waveform. The composite waveform is stored in the Wave_form array.
10 OPTION BASE 1 !COMPUTER ARRAY NUMBERING STARTS AT 1
20 INTEGER Num_samples,Inc,I,J,K,L !DECLARE VARIABLES
30 Num_samples=1000 !DESIGNATE NUMBER OF SAMPLES
40 Eff_int=2.0E-6 !DESIGNATE EFFECTIVE INTERVAL
50 INTEGER Int_samp(1:1000) BUFFER !CREATE INTEGER BUFFER
60 ALLOCATE REAL Wave_form(1:Num_samples) !CREATE ARRAY FOR SORTED DATA
70 ALLOCATE REAL Samp(1:Num_samples) !CREATE ARRAY FOR SAMPLES
80 ASSIGN @Dvm TO 722 !ASSIGN MULTIMETER ADDRESS
90 ASSIGN @Int_samp TO BUFFER Int_samp(*) !ASSIGN BUFFER I/O PATH NAME
100 OUTPUT @Dvm;"PRESET FAST;LEVEL;SLOPE;SSRC LEVEL;SSDC 10"
101 !FAST OPERATION, TARM SYN, LEVEL SYNC SOURCE 0 V, POSITIVE SLOPE
Keysight 3458A User's Guide
NRDGS command. The power-on values for SWEEP can only be used for
sub-sampling (since NRDGS does not apply to sub-sampling).
measurements using the synchronous or random methods (SETACV SYNC or
RNDM) or for frequency or period measurements.
(typically you should select a fixed range when using SWEEP).
separated by a comma. The first response is the specified effective_interval.
The second response is the specified #_samples. Refer to
near the front of this chapter for more information.
Command Reference
Query commands
6
363

Publicité

loading