Agilent Technologies U2300A Series User Manual page 83

Usb multifunction data acquisition devices
Hide thumbs Also See for U2300A Series:
Table of Contents

Advertisement

U2300A Series USB DAQ User's Guide
The following SCPI programming examples are for frequency,
period and pulse width measurements.
Example 1:
// Supply the signal to COUNT301_GATE
// Take 5.5 kHz with 70% duty cycle square wave as measurement
-> COUN:GATE:SOUR EXT,(@301)
-> COUN:GATE:POL AHI,(@301)
-> COUN:CLK:POL AHI,(@301)
-> COUN:CLK:SOUR INT,(@301)
-> COUN:CLK:INT?
<- 12000 KHz
-> SOUR:COUN:OUTP:POL AHI,(@301)
-> COUN:FUNC FREQ,(@301)
-> MEAS:COUN:DATA? (@301)
<- 5.499542
-> COUN:FUNC PER,(@301)
-> MEAS:COUN:DATA? (@301)
<- 0.1818333
-> COUN:FUNC PWID,(@301)
-> MEAS:COUN:DATA? (@301)
<- 0.12725
-> MEAS:COUN:FREQ? (@301)
<- 5.499542
-> COUN:FUNC? (@301)
<- FREQ
-> MEAS:COUN:PER? (@301)
<- 0.1818333
-> COUN:FUNC? (@301)
<- PER
-> MEAS:COUN:PWID? (@301)
<- 0.12725
Features and Functions
// Counter mode setting
// Return value depend on
function set
// Frequency in kHz
// Period in ms
// Pulse width in ms
// Function automatic set to
FREQ
// Function automatic set to
PER
3
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

U2331aU2351aU2352aU2353aU2354aU2355a ... Show all

Table of Contents