![background image](http://html1.mh-extra.com/html/ifm/o3x1-series/o3x1-series_programmers-manual_3870462020.webp)
3D camera O3X1xx
20
importApplication
Method name
importApplication
Description
Imports an application config and creates a new application with it.
The name of the application should be based on the one stored in
the exported config.
If the name should be unique, the sensor must generate a suffix in
case of a naming conflict.
The device will get a new ID. If the config data contains a ID, it must
be ignored.
The device will put the new application on the first free index.
Input parameters
Application config as one data BLOB: binary/base64
Output parameters
Index of new application
setOperatingMode
Method name
setOperatingMode
Description
Changes the operating mode of the device.
Setting this to "edit" will enable the "edit mode object” on RPC.
Input parameters
Mode: integer
0: Run mode
1: Edit mode
Output parameters
Empty string (compatibility with classic XmlRPC-client)
The device will not distinguish between edit and run mode. The application will always behave as in
run mode. As soon as a session is opened the application can immediately be edited.
After successfully calling "requestSession" the application object at URL
"/api/rpc/v1/com.ifm.efector/session_d21c80db5bc1069932fbb9a3bd841d0b/edit/application/"
is immediately available.