...
No Format |
---|
aidaget LINAC//XCOR:BDES -DMICROS=LI10-LI10 -DUNITS=1-9999 XCOR:LI10:200 0.0 XCOR:LI10:201 0.0 XCOR:LI10:202 0.0 ... |
Getting a number of value at a time.
You can use aidaget in a standard unix pipe to get a number of values at a time. Combined with the xargs unix command you can for instance get all the values of devices in a file, or as output from aidalist.
Get the Twiss parameters from the online model, of all the devices in a file. Say your devices were listed in a file (eg checkDevices27Oct2008.txt_Aida_NO), then you can get their values like this:
Code Block |
---|
[tersk02]:u/cd/greg> cat checkDevices27Oct2008.txt_Aida_NO | xargs -I {} -t aida
get "{}//twiss" -DMODE=5
|
The -t says echo what you're about to execute before executing it.
Setting Value: aidaset
The utility program named "aidaset" takes at least two mandatory arguments (the name of the target and the desired value), and several optional parameters control how it operates.
...