Page 84
Appendix | ASCII Communication with Sensor
optoNCDT 1220
A 3.3.5 Handling of Setups
A 3.3.5.1 IMPORT
IMPORT [FORCE] [APPLY] <ImportData>
Import of data in JSON format
1
to the sensor.
First, the import command returns a prompt (->). Afterwards, data can be sent.
After importing a prompt (->) is returned.
- FORCE: overwriting of measurement settings (=
MEASSETTINGS
) with the same name (otherwise an error
message is returned when using the same name). When importing all measurement settings or device set-
tings (=
BASICSETTINGS
) FORCE must always be stated.
- APPLY: applying the settings after importing / reading of initial settings.
- ImportData: Data in JSON format
1) JSON format, see https://de.wikipedia.org/wiki/JavaScript_Object_Notation
A 3.3.5.2 EXPORT
EXPORT (MEASSETTINGS <SettingName>) | BASICSETTINGS | MEASSETTINGS_ALL | ALL
Exporting sensor settings. As a response data is transmitted in JSON format. Finally a prompt occurs.
- MEASSETTINGS: Exports the measurement settings with name <SettingName>
- BASICSETTINGS: Exports only the basic settings
- MEASSETTINGS_ALL: Exports all measurement settings
- ALL: E
xports basic settings and all measurement settings
Содержание ILD 1220-10
Страница 8: ...optoNCDT 2300...
Страница 93: ......