Hello, In order to simplify the process of setting parameters to be used by multiple trial protocols, I have made most of our trial parameters (including start target row, mean target velocity, target X position, etc.) into task-wide parameters. I am currently trying to devise a method for accessing the task wide parameters to use in the Stateflow chart and in other Simulink blocks, using their constant names to index them (the same way we would access Trial Protocol data obtained from the GUI Control block output). I am trying to modify the GUI Control block to output a structure analogous to the Trial Protocol output, with the Task Wide Parameters. Is there a simpler way to access task-wide parameters to use in the task program?
Hi Margaret, The GUI Control block already has set up the Task Wide Parameters as a 'Tag'. With a From block, you can select Task_Wide_Parameters to access the contents of the Task Wide Parameters and pass that into your Stateflow. Section 10.9 of the Create Task Programs for Dexterit-E 3.6 user guide has a list of the Tags we have already set up. Cheers, Koloman
Please login or Register to submit your answer