split ES2 cameras to a submenu

This commit is contained in:
Xiaoqiang Wang
2023-03-15 12:03:53 +01:00
parent eeea7f7dc3
commit 5dec3a3168
2 changed files with 76 additions and 41 deletions

70
X_X04SA_ES2_cameras.json Normal file
View File

@@ -0,0 +1,70 @@
{
"menu-title": {
"text": "PD Cameras",
"style": "color: black;background-color: #7300ff006b00;"
},
"menu": [
{
"type": "cmd",
"text": "Sample Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-SAMCAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "Sample Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-SAMCAM:image1:"
},
{
"type": "separator"
},
{
"type": "cmd",
"text": "Beam Position Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-POSCAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "Beam Position Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-POSCAM:image1:"
},
{
"type": "separator"
},
{
"type": "cmd",
"text": "SCD Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-SCDCAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "SCD Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-SCDCAM:image1:"
},
{
"type": "separator"
},
{
"type": "cmd",
"text": "Optical Table Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-OT1CAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "Optical Table Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-OT1CAM:image1:"
},
{
"type": "separator"
},
{
"type": "cmd",
"text": "X-ray Eye Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-XEYE:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "X-ray Eye Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-XEYE:image1:"
}
]
}

View File

@@ -13,6 +13,11 @@
"text": "User Motors",
"file": "X_X04SA_ES2_userMotors.json"
},
{
"type": "menu",
"text": "Cameras",
"file": "X_X04SA_ES2_cameras.json"
},
{
"type": "cmd",
"text": "LCAD",
@@ -48,52 +53,12 @@
"text": "Sample Spinner",
"command": "caqtdm -x -attach -noMsg -dg +300+100 -macro P=X04SA-ES2-,M=SM:ROX,T1=PD,T2=Spinner X_X04SA_spinner_small.ui"
},
{
"type": "cmd",
"text": "Sample Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-SAMCAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "Sample Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-SAMCAM:image1:"
},
{
"type": "cmd",
"text": "Beam Position Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-POSCAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "Beam Position Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-POSCAM:image1:"
},
{
"type": "cmd",
"text": "SCD Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-SCDCAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "SCD Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-SCDCAM:image1:"
},
{
"type": "cmd",
"text": "Optical Table Camera",
"command": "caqtdm -x -attach -noMsg -macro P=X04SA-ES2-OT1CAM:,R=cam1: prosilica.ui"
},
{
"type": "cmd",
"text": "Optical Table Viewer",
"command": "QtAD --simple --prefix=X04SA-ES2-OT1CAM:image1:"
},
{
"type": "separator"
},
{
"type": "cmd",
"text": "X-ray Eye",
"text": "X-ray Eye Lens",
"command": "caqtdm -dg +20+80 -x -attach -noMsg -macro ES=ES2 X_X04SA_ES2_xRayEye.ui"
},
{