You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to automate starting an EGM session using the abb_robot_driver. To make sure I write valid EGM settings, I first retrieve the current settings and then rewrite the fields I am interested in.
Depending on the timing of my request to the /rws/sm_addin/get_egm_settings service to retrieve the current EGM setting I get different results. If I request the settings before RAPID is running (and therefore the state machine addin), I get back 'empty' settings.
The service result does however return a result code of result_code: 1, indicating the service call was successful. This is not the case if I for example provide it with the wrong task name, then I do get an indication that something went wrong via the result_code but I also receive the 'empty' settings.
Adjusting these settings and writing them back to the controller does not allow to start the EGM session (also without any indication).
If I delay my call of /rws/sm_addin/get_egm_settings till the State Machine Addin is running, I do get back valid results that I can use to write my own settings.
Would it be possible for the /rws/sm_addin/get_egm_settings service to indicate if it is called in an invalid state (e.g. the State Machine Addin is not running)?
The text was updated successfully, but these errors were encountered:
I am trying to automate starting an EGM session using the
abb_robot_driver
. To make sure I write valid EGM settings, I first retrieve the current settings and then rewrite the fields I am interested in.Depending on the timing of my request to the
/rws/sm_addin/get_egm_settings
service to retrieve the current EGM setting I get different results. If I request the settings before RAPID is running (and therefore the state machine addin), I get back 'empty' settings.The service result does however return a result code of
result_code: 1
, indicating the service call was successful. This is not the case if I for example provide it with the wrong task name, then I do get an indication that something went wrong via theresult_code
but I also receive the 'empty' settings.Invalid EGM settings returned via service
Adjusting these settings and writing them back to the controller does not allow to start the EGM session (also without any indication).
If I delay my call of
/rws/sm_addin/get_egm_settings
till the State Machine Addin is running, I do get back valid results that I can use to write my own settings.Would it be possible for the
/rws/sm_addin/get_egm_settings
service to indicate if it is called in an invalid state (e.g. the State Machine Addin is not running)?The text was updated successfully, but these errors were encountered: