Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Capture options

This page is the canonical reference for the two distinct sets of “capture options” exposed by the server:

Field capture options

*CAPTURE.OPTIONS? lists the individual capture options available for pos_out fields:

OptionDescription
ValueThe value at the time of trigger is captured.
DiffThe difference of values is captured.
SumThe sum of all valid values is captured (64-bit; may be scaled if PCAP.SHIFT_SUM is set).
MeanThe average of all valid values is captured.
MinThe minimum of all valid values is captured.
MaxThe maximum of all valid values is captured.
StdDevThe standard deviation of valid values is captured. Only listed if supported by the FPGA configuration.

A field’s CAPTURE attribute can be set to No (capture disabled), to a single option, or to a space-separated combination of options (e.g. Min Max Mean).

*CAPTURE.ENUMS? returns a curated enumeration of these selections — the same list as calling *ENUMS.block.field.CAPTURE? on any pos_out field: No, Value, Diff, Sum, Mean, Min, Max, Min Max, Min Max Mean, StdDev, Mean StdDev.

These options are set per field via the field’s CAPTURE attribute — see Blocks, fields and attributes for the pos_out and ext_out capture settings, and Data capture for how capture is configured and armed.

Connection capture options

A line of capture options must be sent after the initial connection to the data port before any data is sent. It is a list of any of the following options separated by whitespace, ending with a newline character.

OptionDescription
ASCIIData is sent as ASCII numbers.1D
BASE64Binary data is sent as a stream of base-64 strings.1
FRAMEDBinary data is sent as a sequence of sized frames.1
UNFRAMEDBinary data is sent as a raw stream of bytes.1R
SCALEDAll scalable data is scaled and sent as doubles.2D
RAWThe captured binary data is sent without processing.2
NO_HEADERThe data header is omitted.R
NO_STATUSThe connection and end-of-experiment status strings are omitted.R
ONE_SHOTOnly one experiment will be transmitted.R
XMLThe header will be sent in XML format.
BARESelects UNFRAMED RAW NO_HEADER NO_STATUS ONE_SHOT.
DEFAULTDefault options.D

Key:

For how these formats appear on the wire (framing, base-64 layout, header contents), see Data capture.