TRACe:POINts?

34980A

TRACe:POINts?

Syntax

TRACe:POINts? {(@<channel>)|<slot>}, <name>

Description

This command returns the number of points (samples) used by the trace waveform.

Used With:

  • 34950A Digital I/O Module (digital output channels only)

  • 34951A Isolated DAC Module

Parameters

Name

Type

Range of Values

Default Value

<channel>
34950A Only

Numeric

One channel in the form (@sccc).

Select from s101 through s104, s201 through s204.

This is a required parameter

<slot>
34951A Only

Discrete

{1|2|3|4|5|6|7|8}

This is a required parameter

<name>

ASCII String

A previously-defined trace name consisting of up to 12 characters.

This is a required parameter

Remarks

  • The specified trace must have been previously assigned to a channel in the specified slot (see SOURce:DIGital:MEMory:TRACe command for the 34950A or SOURce:FUNCtion:TRACe[:NAME] command for the 34951A).  

  • Each bank on the 34950A has its own memory (64K bytes each) for use in buffered output transfers. You can download up to 32 traces into each bank.

  • You can store up to 512,000 trace points per 34951A module.

  • For the 34950A, if you change the width of a bank (see CONFigure:DIGital:WIDTh command), all traces in memory are cleared.

  • A Factory Reset (*RST command), Instrument Preset (SYSTem:PRESet command), and Card Reset (SYSTem:CPON command) deletes the trace from memory and removes all trace name associations.

Return Format

The query command reads the number of trace samples (34950A) or trace points (34951A) used by the specified trace. The number of samples (points) is returned in the form "+100".

Examples

The following program segment downloads a 32-sample count-up trace to memory on channel 101 on the 34950A in slot 3 and then reads the number of trace samples.  

TRAC:DIG:FUNC (@3101),COUN,DOUT1,32  !Download 32-sample trace to memory
SOUR:DIG:MEM:TRAC DOUT1,(@3101)  !Assign trace to channel 101
TRAC:POIN? (@3101),DOUT1

Typical Response:  +32

The following program segment downloads a 100-point sine waveform to memory on the 34951A in slot 4 and then reads the number of trace points.  

TRAC:FUNC 4,SIN, TEST_SINE, 100  !Download 100-point sine to memory
SOUR:FUNC:TRAC TEST_SINE,(@4001)  !Assign trace to channel 1
TRAC:POIN? 4,TEST_SINE

Typical Response:  +100

See Also

SOURce:DIGital:MEMory:TRACe

SOURce:FUNCtion:TRACe[:NAME]

TRACe[:DATA]:DIGital:FUNCtion

TRACe[:DATA]:FUNCtion

TRACe:DELete[:NAME]

TRACe:FREE?