Agilent Technologies U2300A Series User Manual page 81

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 example shows how to set
the counter mode.
// Supply the signal to COUNT301_CLK
-> COUN:FUNC TOT,(@301)
-> COUN:GATE:SOUR INT,(@301)
-> COUN:CLK:POL AHI,(@301)
-> COUN:CLK:SOUR EXT,(@301)
-> COUN:TOT:IVAL 100,(@301)
-> COUN:TOT:UDOW:DIR UP,(@301)
-> COUN:TOT:UDOW:SOUR INT,(@301) // Set the Up/Down source
-> SOUR:COUN:OUTP:POL AHI,(@301)
-> COUN:TOT:INIT (@301)
-> MEAS:COUN:TOT? (@301)
<- 100
-> MEAS:COUN:DATA? (@301)
<- 100
-> COUN:GATE:CONT ENAB,(@301)
-> COUN:GATE:CONT DIS,(@301)
-> MEAS:COUN:TOT? (@301)
<- 105
-> MEAS:COUN:DATA? (@301)
<- 105
-> COUN:ABOR (@301)
-> COUN:TOT:CLE (@301)
-> MEAS:COUN:TOT? (@301)
<- 0
-> MEAS:COUN:DATA? (@301)
<- 0
Features and Functions
// Counter mode setting
// Set as Totalize function
// Set the GATE source as
internal
// Set the clock polarity as
active high
// Set the clock source as
external
// Initial Count value
// Set as Count Upmode
as internal
// Initiate Totalize
// Initial value = 100
// Return Totalize value
// Start Counting (for INT
gate only)
// Stop Counting (for INT
gate only)
// Abort all counter
operation
// Clear Count value
3
63

Advertisement

Table of Contents
loading

This manual is also suitable for:

U2331aU2351aU2352aU2353aU2354aU2355a ... Show all

Table of Contents