PS_CDFCOUNT

code: 196

# set
<module-index>/<port-index> PS_CDFCOUNT [<stream_index>] <cdf_count>

# get
<module-index>/<port-index> PS_CDFCOUNT [<stream_index>] ?

Description

This command is part of the Custom Data Field (CDF) feature. It controls the number of custom data fields available for each stream. You can set a different number of fields for each stream. Changing the field count value to a larger value will leave all existing fields intact. Changing the field count value to a smaller value will remove all existing fields with an index larger than or equal to the new count. The feature requires that the P_PAYLOADMODE command on the parent port has been set to CDF. This enables the feature for all streams on this port.

Actions

set, get

Parameters

  1. cdf_count: integer, the number of CDF data fields to allocate for the stream

Example

# set
input:  0/1 PS_CDFCOUNT [0] 1
output: <OK>

# get
input:  0/1 PS_CDFCOUNT [0] ?
output: 0/1 PS_CDFCOUNT [0] 1