[SENSe:]DIGital:MEMory[:DATA]:POINts?
Syntax
[SENSe:]DIGital:MEMory[:DATA]:POINts? [MAX,] (@<ch_list>)
Description
This command returns the number of samples currently stored in memory from a buffered input operation on the specified channels on the 34950A Digital I/O Module. You can use the optional MAX parameter to query the maximum number of samples that can be stored in memory for the configured width. You can execute this query at any time.
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 |
For 8- and 16-bit widths, the maximum sample count allowed is 65535. For 32-bit widths, the maximum is 32767 samples.
Return Format
The query command returns the number of samples in the form "+1.00000000E+00" for each channel specified. Multiple responses are separated by commas.
Example
The following command returns the number of samples currently stored in memory on channels 101 and 201 on the module in slot 3.
DIG:MEM:POIN? (@3101,3201)
Typical Response: +2.00000000E+02,+2.00000000E+02