[SENSe:]DIGital:MEMory:STARt

34980A

[SENSe:]DIGital:MEMory:STARt

Syntax

[SENSe:]DIGital:MEMory:STARt (@<ch_list>)

Description

This command starts buffered (memory) input operations on the 34950A Digital I/O Module. If memory is currently disabled (see [SENSe:]DIGital:MEMory:ENABle command), this command will enable memory and start the buffered read. 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).

Used With:

  • 34950A Digital I/O Module

Parameters

Name

Type

Range of Values

Default Value

<ch_list>

Numeric

The first channel on a bank 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

  • You can also use this command to resume a stopped buffered read (see [SENSe:]DIGital:MEMory:STOP command).

  • If you are using handshaking (see CONFigure:DIGital:HANDshake command), the buffered read will start when the handshake occurs following the [SENSe:]DIGital:MEMory:STARt command.

  • This command overrides the pattern comparison mode (see [SENSe:]DIGital:MEMory:COMPare:ACTion command); therefore, you can use the [SENSe:]DIGital:MEMory:STARt command to start the buffered read even if the bank is configured to start on a pattern compare.

  • You can use the [SENSe:]DIGital:MEMory:CLEar command prior to sending the [SENSe:]DIGital:MEMory:STARt command to clear the memory and start the buffered read from the beginning.

  • If you send this command while a buffered read is already running, additional [SENSe:]DIGital:MEMory:STARt commands are ignored (no error is generated).

Example

The following program segment configures a buffered read on channels 101 and 201 on the module in slot 3 and then starts the read.

CONF:DIG:WIDTH WORD,(@3101,3201)  !Width = 16 bits
DIG:MEM:SAMP:COUN 200,(@3101,3201)  !Sample count = 200
DIG:MEM:ENAB ON,(@3101,3201)  !Enable buffered reads
DIG:MEM:STAR (@3101,3201)
 !Start buffered reads

See Also

CONFigure:DIGital

CONFigure:DIGital:HANDshake

CONFigure:DIGital:WIDTh

[SENSe:]DIGital:MEMory:CLEar

[SENSe:]DIGital:MEMory:COMPare:ACTion

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

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

[SENSe:]DIGital:MEMory:ENABle

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

[SENSe:]DIGital:MEMory:STEP

[SENSe:]DIGital:MEMory:STOP