[SENSe:]DIGital:MEMory[:DATA]:ALL?

34980A

[SENSe:]DIGital:MEMory[:DATA]:ALL?

Syntax

[SENSe:]DIGital:MEMory[:DATA]:ALL? (@<channel>)

Description

This command performs a non-destructive read of all data stored in memory from a buffered input operation on the 34950A Digital I/O Module. The width of the first channel in each bank (i.e., channels 101 and 201) controls the width of the memory operations (64K x 8 Bits, 64K x 16 Bits, or 32K x 32 Bits). The first channel on the specified bank must be configured as an input prior to starting a buffered read (see CONFigure:DIGital command).

This command is not valid while buffered operations are enabled (see [SENSe:]DIGital:MEMory:ENABle command).

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<channel>

Numeric

One channel in the form (@sccc).
Select from s101 or s201.

This is a required parameter

Remarks

  • Depending on the width specified (see CONFigure:DIGital:WIDTh command), the channel numbering is modified as shown below. For example, if you specify the width as a 16-bit WORD, channels 101 and 102 are combined and addressed collectively as channel 101.  

 

Bank 2

Bank 1

BYTE (8 Bits):

Ch 204

Ch 203

Ch 202

Ch 201

Ch 104

Ch 103

Ch 102

Ch 101

WORD (16 Bits):

Ch 203

Ch 201

Ch 103

Ch 101

LWORd (32 Bits):

Ch 201

Ch 101

Return Format

This command returns all data stored in memory on the specified channel. Use [SENSe:]DIGital:MEMory[:DATA]:FORMat command to select a comma-separated ASCII ("LIST") format or a floating-point IEEE-488.2 Binary Block ("BLOCk") format.

Example

The following program segment enables a buffered read on channel 101 on the module in slot 3 and then reads the data from memory.

CONF:DIG:WIDTH WORD,(@3101)  !Width = 16 bits
DIG:MEM:SAMP:COUN 20,(@3101)  !Sample count = 20
DIG:MEM:FORM LIST  !Format = ASCII list
DIG:MEM:ENAB ON,(@3101)  !Enable buffered read
DIG:MEM:STAR (@3101)  !Start buffered read
<Wait for sample count to be satisfied>
DIG:MEM:ENAB OFF,(@3101)  !Disable buffered read
DIG:MEM:ALL? (@3101)
 !Read all samples from memory

Typical Response:  61440,65280, ...

See Also

CONFigure:DIGital

CONFigure:DIGital:WIDTh

FORMat:BORDer

[SENSe:]DIGital:MEMory:CLEar

[SENSe:]DIGital:MEMory[:DATA]?

[SENSe:]DIGital:MEMory[:DATA]:FORMat

[SENSe:]DIGital:MEMory[:DATA]:POINts?

[SENSe:]DIGital:MEMory:ENABle

[SENSe:]DIGital:MEMory:MATCh[:DATA]?

[SENSe:]DIGital:MEMory:SAMPle:COUNt