Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
instructions
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Practical_Beamline_Controls_Training
Session_2
instructions
Commits
bbf782e9
Commit
bbf782e9
authored
2 years ago
by
kpetersn
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
6-asyn-troubleshooting.md
+15
-7
15 additions, 7 deletions
6-asyn-troubleshooting.md
with
15 additions
and
7 deletions
6-asyn-troubleshooting.md
+
15
−
7
View file @
bbf782e9
...
@@ -71,7 +71,7 @@ $ ./softioc/xxx.sh console
...
@@ -71,7 +71,7 @@ $ ./softioc/xxx.sh console
Turn
**traceIODriver**
On:
Turn
**traceIODriver**
On:


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):

### 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)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment