Configuration Of Pcic Output - IFM O3D300 Notice D'utilisation

Table des Matières

Publicité

Les langues disponibles

Les langues disponibles

13.1.5 Configuration of PCIC Output

The user has the possibility to define his own PCIC output. This configuration is only valid for the current
PCIC connection. It does not affect any other connection and will get lost after disconnecting.
For configuring the PCIC output a "flexible" layouter concept is used, represented by a JSON string. The
format of the default configuration is as follows:
{
"layouter": "flexible",
"format": { "dataencoding": "ascii" },
"elements": [
{ "type": "string", "value": "star", "id": "start_string" },
{ "type": "blob", "id": "normalized_amplitude_image" },
{ "type": "blob", "id": "x_image" },
{ "type": "blob", "id": "y_image" },
{ "type": "blob", "id": "z_image" },
{ "type": "blob", "id": "confidence_image" },
{ "type": "blob", "id": "diagnostic_data" },
{ "type": "string", "value": "stop", "id": "end_string" }
]
}
This string can be retrieved by the C? command, altered and sent back using the c command.
The layout software has the following main object properties:
Name
Description
layouter
Defines the basic data output format.
So far only "flexible" is supported
format
Defines format details, the definitions in the main object are
the defaults for any of the following data elements (e.g. if it
says dataencoding=binary, all data elements should be binary
encoded instead of ASCII).
elements
List of data elements which must be written.
The actual data is defined within the "elements" properties and may consist of these settings:
Name
Description
type
Defines the type of data which must be written.
The data might be stored in a different type (e.g. stored as integer but
should be output as Float32)
The type "records" will need some special handling.
id
Defines an identifier for this data element.
If there is no fixed value (property "value"), the data should be
retrieved via id.
value
Optional property for defining a fixed output value.
format
Type-depending option for fine-tuning the output format.
E.g. cut an integer to less than 4 bytes.
Capteur 3D
Details
Type: string
Type: object
Type: array of objects
Details
Type: string
Type: string
Type: any JSON value
Type: object
53
FR

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

O3d302O3d310O3d312

Table des Matières