12 2011 档案

摘要:Adding New Scripted OperationsThis section describes the procedure for creating a new scripted operation.1. Create an entry in the database.dat fileSet the responsibleDHS to ’self’. Set the externalName parameter to the name of your new operation file without the .tcl extension.2. Create the new ope 阅读全文
posted @ 2011-12-25 23:52 greencolor 阅读(121) 评论(0) 推荐(0) 编辑
摘要:Adding Scripts to the Scripting Engine1. Create an entry in the database.dat • Set the responsibleDHS to ’self’. • Set the externalName parameter to the name of your new device file without the .tcl extension.Alternatively you can set the externalName to standardVirtualDevice. This would make the de 阅读全文
posted @ 2011-12-25 23:48 greencolor 阅读(128) 评论(0) 推荐(0) 编辑
摘要:The wait_for_devices command allows the script writer to halt the script at the appropriate time and wait for a hardware component to complete its current task.This command does not freeze the BLU-ICE GUI or the scripting engine while the script is waiting for the event that will trigger the wait_fo 阅读全文
posted @ 2011-12-21 22:51 greencolor 阅读(180) 评论(0) 推荐(0) 编辑
摘要:The DCS command for removing a filter is:open_shutter shutterNameThe DCS command for inserting a filter is:close_shutter shutterNameExamples: •open_shutter shutter •close_shutter Al_8 •open_shutter Se 阅读全文
posted @ 2011-12-21 22:49 greencolor 阅读(141) 评论(0) 推荐(0) 编辑
摘要:move motorName by|to value unitsThe units parameter can be• scaled for movement using the scale factor for the motor.• unscaled for movement using motor steps• mm,um,A,eV,V,deg if the command is being issued from BLU-ICE. Examples: Issuing move commands from BLU-ICE:• move gonio_phi to 30 deg Moves 阅读全文
posted @ 2011-12-21 22:48 greencolor 阅读(181) 评论(0) 推荐(0) 编辑
摘要:log_note $table_vertWithin a script it is necessary to include the following statement at the top of each procedure for each motor of interest: variable motorName .Example:Writing the current motor position to the log windowproc print_some_motor_positions {} { variable table_vert variable gonio_phi 阅读全文
posted @ 2011-12-21 22:39 greencolor 阅读(123) 评论(0) 推荐(0) 编辑
摘要:log_notecomments Outputs a green comment to the log window. •log_warningwarning Outputs a brown warning to the log window. •log_errorerror Outputs a red error message to the log window 阅读全文
posted @ 2011-12-21 22:33 greencolor 阅读(147) 评论(0) 推荐(0) 编辑
摘要:Line 1:operationNameLine 2:11Line 3:responsibleDHS externalName activeClientOnlyLine 4:passiveOk remoteOk localOk inHutchOk closedHutchOkLine 5:passiveOk remoteOk localOk inHutchOk closedHutchOk• The responsibleDHS must be the name of a DHS defined in separate entry.• The externalName parameter can 阅读全文
posted @ 2011-12-20 00:27 greencolor 阅读(166) 评论(0) 推荐(0) 编辑
摘要:Line 1:runsLine 2:9Line 3:runCount currentRun isActive doseMode• The runCount parameter indicates how many of the run definitions are valid. For example, a value of 4 would indicate that run0, run1, run2, and run3 device entries are valid. All other run definitions are not valid.• The currentRun par 阅读全文
posted @ 2011-12-20 00:14 greencolor 阅读(118) 评论(0) 推荐(0) 编辑
摘要:Line 1:runNameLine 2:8Line 3:runStatus nextFrame runLabel fileroot directory startFrameLabel axisMotor startAngle endAngle delta wedgeSize exposureTime distance numEnergy energy1 energy2 energy3 energy4 energy5 modeIndex inverseOn• The runName is usually run0 through run16.• The runStatus can be col 阅读全文
posted @ 2011-12-20 00:12 greencolor 阅读(132) 评论(0) 推荐(0) 编辑
摘要:Line 1:shutterNameLine 2:6Line 3:responsibleDHS shutterState• The responsibleDHS must be the name of a DHS defined in separate entry• The shutterState is either a 0 (open) or a 1 (closed).example shutter entry:Al_46galil2 0 阅读全文
posted @ 2011-12-20 00:05 greencolor 阅读(146) 评论(0) 推荐(0) 编辑
摘要:Line 1:ionchamberNameLine 2:4Line 3:responsibleDHS counter counterChannel timer timerType• The responsibleDHS must be the name of a DHS defined in separate entry as discussed in Section 5.3.3.• The counter is the name of a counter in ICS.• The counterChannel is the counter’s channel in ICS.• The tim 阅读全文
posted @ 2011-12-20 00:03 greencolor 阅读(237) 评论(0) 推荐(0) 编辑
摘要:Line 1:nameLine 2:3Line 3:hostName protocolLevel----------------------------The hostName parameter is the host name of the computer that DHS will be running on.DCSS will reject a connection from a DHS announcing itself with the name if the connection is not coming from the computer/hostname hostName 阅读全文
posted @ 2011-12-19 23:59 greencolor 阅读(135) 评论(0) 推荐(0) 编辑
摘要:Line 1:motorNameLine 2:2Line 3:responsibleDHS externalMotorNameLine 4:position upperLimit lowerLimit lowerLimitOn upperLimitOn motorLockOn circleMode unitsLine 5:0Line 6:0Line 7:passiveOk remoteOk localOk inHutchOk closedHutchOkLine 8:passiveOk remoteOk localOk inHutchOk closedHutchOk 阅读全文
posted @ 2011-12-19 23:53 greencolor 阅读(155) 评论(0) 推荐(0) 编辑
摘要:table_vert_11gi tablev123.099118 49.999984 0.000000 3145.921000 500 125 1573 0 0 0 1 0 0 mm00 1 1 1 10 1 1 1 1-------------------------Define:Line 1:motorNameLine 2:1Device type description 1 Real Motor 2 Combo Motor 3 DHS description 4 Ion chamber 5 Obsolete 6 Shutter/Filter 7 Obsolete 8 Run Defini 阅读全文
posted @ 2011-12-19 23:46 greencolor 阅读(189) 评论(0) 推荐(0) 编辑
摘要:To see every process on the system using standard syntax: ps -e ps -ef ps -eF ps -ely 阅读全文
posted @ 2011-12-19 23:34 greencolor 阅读(126) 评论(0) 推荐(0) 编辑
摘要:1、通过eclipse工具生成jar文件。选择你的项目点右键导出即可。2、通过jar命令。用法:jar {ctxu}[vfm0Mi] [jar-文件] [manifest-文件] [-C 目录] 文件名 ...选项: -c 创建新的存档 -t 列出存档内容的列表 -x 展开存档中的命名的(或所有的〕文件 -u 更新已存在的存档 -v 生成详细输出到标准输出上 -f 指定存档文件名 -m 包含来自标明文件的标明信息 -0 只存储方式;未用ZIP压缩格式 -M 不产生所有项的清单(manifest〕文件 -i 为指定的jar文件产生索引信息 -C 改变到指定的目录,并且包含下列文件: 如果一个文件 阅读全文
posted @ 2011-12-16 21:56 greencolor 阅读(287) 评论(0) 推荐(0) 编辑
摘要:CentOS trash position/home/$USERNAME/.Trash 阅读全文
posted @ 2011-12-13 13:47 greencolor 阅读(1927) 评论(0) 推荐(0) 编辑
摘要:get usernameecho $USERNAME 阅读全文
posted @ 2011-12-13 09:32 greencolor 阅读(146) 评论(0) 推荐(0) 编辑
摘要:$ lsmodOutput:Module Size Used bybinfmt_misc 12680 1rfcomm 40856 0l2cap 25856 5 rfcommbluetooth 55908 4 rfcomm,l2capppdev 10116 0acpi_cpufreq 10056 1cpufreq_stats 7360 0cpufreq_user... 阅读全文
posted @ 2011-12-10 22:57 greencolor 阅读(209) 评论(0) 推荐(0) 编辑
摘要:If you type module prog and you get file not found, you must do for bash:source /etc/profile.d/modules.shfor csh:source /etc/profile.d/modules.cshOnce you have done this, you can do module load modules which will bring the manual pages for modules into your manpath. You can do man module and see wha 阅读全文
posted @ 2011-12-10 22:16 greencolor 阅读(107) 评论(0) 推荐(0) 编辑
摘要:创建了其它登录帐户后, Windows XP 会删除管理员帐户。 如果您使用了一段时间的管理员帐户后,再添加新帐户时,很不幸,会出现下列问题。计算机启动 Windows 后,进入的是新用户帐户而不是管理员帐户。注销、登录或切换用户时,管理员帐户并不在登录屏幕上出现。添加新用户之前所安装的软件无法从开始菜单或桌面访问。执行下列步骤直到您对登录方法式满意。步骤1: 登录到原始管理员帐户使用下列步骤登录到原始管理员帐户:打开计算机,启动 Windows XP。如果 Windows XP 打开了新用户的桌面,点击 Start 、 LogOff ,然后再次点击 LogOff 。 这将注销 Windows 阅读全文
posted @ 2011-12-03 12:11 greencolor 阅读(218) 评论(0) 推荐(0) 编辑
摘要:fopen = open("filename.txt", "r");a = [];b = [];str = fopen.readline()a.append(str.split(' ')[0]);if len(str.split(' ')) > 2:b.append(str.split(' ')[2])else:b.append(str.split(' ')[1])while ( str != '' ):print strstr = fopen.readline() i 阅读全文
posted @ 2011-12-02 15:55 greencolor 阅读(154) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示