[SENSe:]DIGital:MEMory:STEP
Syntax
[SENSe:]DIGital:MEMory:STEP (@<ch_list>)
Description
This command reads one sample into buffered memory on the 34950A Digital I/O Module. If memory is currently disabled (see [SENSe:]DIGital:MEMory:ENABle command), this command will enable memory and step once (one sample is stored in memory). 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).
|
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 |
If you are using handshaking (see CONFigure:DIGital:HANDshake command), the buffered read will start when the handshake occurs following the [SENSe:]DIGital:MEMory:STEP command.
This command overrides the pattern comparison mode (see [SENSe:]DIGital:MEMory:COMPare:ACTion command); therefore, you can use the [SENSe:]DIGital:MEMory:STEP command to step once if the bank is configured to start on a pattern compare.
If you send this command while a buffered read is already running, it will stop memory and step once. To resume a stopped buffered read, send the [SENSe:]DIGital:MEMory:STARt command.
Example
The following program segment configures a buffered read on channels 101 and 201 on the module in slot 3 and then reads one sample into memory.
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:STEP (@3101,3201) !Read
one sample into memory per channel
See Also
[SENSe:]DIGital:MEMory:COMPare:ACTion
[SENSe:]DIGital:MEMory[:DATA]?
[SENSe:]DIGital:MEMory[:DATA]:ALL?
[SENSe:]DIGital:MEMory:MATCh[:DATA]?
[SENSe:]DIGital:MEMory:STARt