Software control of RITM
To work with RITM software control functions in Engee, install the hardware support package by executing the command:
|
This page presents all available functions of the software control of the CPM "RITM" in Engee.
Methods RITM
.
#
EngeeDeviceManager.Targets.RITM.compile_model
— Method
ritm.compile_model(model, is_ext_mode)
Builds a model based on the RITM.
Arguments
-
model::Model
: an object of the Model type. -
is_ext_mode::Bool
: a flag indicating the execution mode of the model.true
— the model is executed interactively.false
— the model runs in independent mode.
Examples
model = engee.gcm()
ritm.upload_model(model)
ritm.generate_executable_code(model, false)
ritm.compile_model(model, false)
#
EngeeDeviceManager.Targets.RITM.generate_executable_code
— Method
ritm.generate_executable_code(model, is_ext_mode)
Generates a Si-strapping on the RITM.
Arguments
-
model::Model
: an object of the Model type. -
is_ext_mode::Bool
: a flag indicating the execution mode of the model.true
— the model is executed interactively.false
— the model runs in independent mode.
Examples
model = engee.gcm()
ritm.upload_model(model)
ritm.generate_executable_code(model, false)
#
EngeeDeviceManager.Targets.RITM.set_url
— Method
ritm.set_url(url)
Sets the address of the RITM machine.
Arguments
url::String
: the address of the RITM machine.
Examples
ritm = Targets.RITM.Ritm()
ritm.set_url("http://192.168.56.3:8000/")
#
EngeeDeviceManager.Targets.RITM.start_model
— Method
ritm.start_model(model)
Starts the model based on the RITM.
Arguments
model::Model
: an object of the Model type.
Examples
ritm.start_model(model)
#
EngeeDeviceManager.Targets.RITM.stop_model
— Method
ritm.stop_model()
Stops the model at the RITM.
Arguments
Missing (the method is called from the RITM object).
Examples
ritm.stop_model()
#
EngeeDeviceManager.Targets.RITM.upload_model
— Method
ritm.upload_model(model)
Loads the model to the RITM.
Arguments
model::Model
: an object of the Model type.
Examples
model = engee.gcm()
ritm.upload_model(model)