Skip to content
Snippets Groups Projects
Commit bbf782e9 authored by kpetersn's avatar kpetersn
Browse files

Added a "Manually send a command to the controller" step. Also improved some alt text.

parent 189f2fbc
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ $ ./softioc/xxx.sh console ...@@ -71,7 +71,7 @@ $ ./softioc/xxx.sh console
Turn **traceIODriver** On: Turn **traceIODriver** On:
![screenshot of asynRecord.ui](images/asynRecord-traceIODriver.png) ![screenshot of asynRecord.ui with traceIODriver enabled](images/asynRecord-traceIODriver.png)
Do the following and observe the commands on the IOC's console: Do the following and observe the commands on the IOC's console:
...@@ -79,7 +79,15 @@ Do the following and observe the commands on the IOC's console: ...@@ -79,7 +79,15 @@ Do the following and observe the commands on the IOC's console:
* Move a motor and look for the MV command * Move a motor and look for the MV command
* Stop a motor and look for the AB command * Stop a motor and look for the AB command
#### 6.4 Stop the IOC ### 6.4 Manually send a command to the controller
The asynOctet screen allows commands to be sent to the controller manually.
Send the **1 POS?** command to the controller to query m1's position (in controller units):
![screenshot of asynOctet.ui showing 1 POS? sent to the controller and a response of 400](images/asynOctet-positionQuery.png)
### 6.5 Stop the IOC
Exit the IOC from the IOC shell: Exit the IOC from the IOC shell:
...@@ -101,13 +109,13 @@ $ ./softioc/xxx.sh stop ...@@ -101,13 +109,13 @@ $ ./softioc/xxx.sh stop
``` ```
</details> </details>
### 6.5 "Upgrade" the Virtual Motor Controller to a newer firmware. ### 6.6 "Upgrade" the Virtual Motor Controller to a newer firmware.
#### 6.5.1 Kill server.py #### 6.6.1 Kill server.py
Type `ctrl+c` in the xterm window or click the `X` in the corner of the window. Type `ctrl+c` in the xterm window or click the `X` in the corner of the window.
#### 6.5.2 Run server-new-fw.py #### 6.6.2 Run server-new-fw.py
``` ```
$ xterm -e "${SUPPORT_DIR}/motorVMC/python/server-new-fw.py -p 33333" & $ xterm -e "${SUPPORT_DIR}/motorVMC/python/server-new-fw.py -p 33333" &
...@@ -120,7 +128,7 @@ Listening on port 33333 ...@@ -120,7 +128,7 @@ Listening on port 33333
``` ```
</details> </details>
### 6.6 Run the IOC ### 6.7 Run the IOC
Run the IOC Run the IOC
...@@ -128,6 +136,6 @@ Run the IOC ...@@ -128,6 +136,6 @@ Run the IOC
$ ./softioc/xxx.sh run $ ./softioc/xxx.sh run
``` ```
### 6.7 Observe the motor behavior with the new firmware ### 6.8 Observe the motor behavior with the new firmware
## [The End](README.md) ## [The End](README.md)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment