Engee documentation

Software control of RITM

To work with RITM software control functions in Engee, install the hardware support package by executing the command:

engee.package.install("Engee-Device-Manager")

This page presents all available functions of the software control of the CPM "RITM" in Engee.

Methods RITM.

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)
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)
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/")
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)
ritm.stop_model()

Stops the model at the RITM.

Arguments

Missing (the method is called from the RITM object).

Examples

ritm.stop_model()
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)