Scpi Programming Examples; Analog Input - Agilent Technologies U2300A Series User Manual

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

Advertisement

SCPI Programming Examples

Analog input

U2300A Series USB DAQ User's Guide
Example 1:
// Digital trigger with delay trigger type
// Supply Digital trigger signal to EXTD_AI_TRIG
-> ACQ:POIN 1000
-> ACQ:SRAT 1000
-> TRIG:SOUR EXTD
-> TRIG:DTRG:POL POS
-> TRIG:TYPE DEL
-> TRIG:DCNT 225000000 // Count value ~= 5 s
-> WAV:STAT?
<- EMPT
-> WAV:COMP?
<- YES
-> DIG
-> WAV:STAT?
<- FRAG
-> WAV:COMP?
<- NO
// Wait for trigger
// Five seconds delay after the trigger event
-> WAV:STAT?
<- DATA
-> WAV:COMP?
<- YES
<- WAV:DATA?
<- #800002000
<byte><byte>...
Features and Functions
// For "DIG" mode
// Digital Trigger
// Start single-shot acquisition
// To check acquisition completion for DIG
// Raw data returned by DAQ
3
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

U2331aU2351aU2352aU2353aU2354aU2355a ... Show all

Table of Contents