29452945 "image": "images\\bb3_front_panel.png",
29462946 "extensionName": "eez_bb3",
29472947 "idn": "Envox,EEZ BB3 (STM32)",
2948- "idfName": "EEZ BB3 R1B6 ",
2949- "idfShortName": "BB3-R1B6 ",
2948+ "idfName": "EEZ BB3 R2B4 ",
2949+ "idfShortName": "BB3-R2B4 ",
29502950 "idfFirmwareVersion": "1.0",
29512951 "idfGuid": "687b6dee-2093-4c36-afb7-cfc7ea2bf262",
29522952 "idfRevisionNumber": "1.0.3",
29532953 "idfDescription": "EEZ Bench box 3-module T&M chassis",
2954- "idfSupportedModels": "BB3 R1B6 ",
2954+ "idfSupportedModels": "BB3 R2B4 ",
29552955 "idfRevisionComments": "Initial version",
29562956 "idfAuthor": "Envox",
2957- "sdlFriendlyName": "EEZ BB3 R1B6 "
2957+ "sdlFriendlyName": "EEZ BB3 R2B4 "
29582958 },
29592959 {
29602960 "name": "EEZ Bench Box 3 Simulator",
29712971 "idfGuid": "7cab6860-e593-4ba2-ee68-57fe84460fa4",
29722972 "idfRevisionNumber": "1.0.3",
29732973 "idfDescription": "EEZ Bench box 3-module T&M chassis firmware simulator",
2974- "idfSupportedModels": "BB3 R1B6 ",
2974+ "idfSupportedModels": "BB3 R2B4 ",
29752975 "idfRevisionComments": "Initial version",
29762976 "idfAuthor": "Envox",
29772977 "sdlFriendlyName": "EEZ BB3 Simulator"
@@ -532397,7 +532397,7 @@
532397532397 "response": {}
532398532398 },
532399532399 {
532400- "name": "DISPlay[:WINdow]:INPUt ?",
532400+ "name": "DISPlay[:WINdow]:INPut ?",
532401532401 "helpLink": "EEZ BB3 SCPI reference 5.4 - DISPlay.html#disp_text",
532402532402 "parameters": [
532403532403 {
@@ -533130,7 +533130,7 @@
533130533130 "parameters": [],
533131533131 "response": {
533132533132 "type": "boolean",
533133- "enumeration": "State1 "
533133+ "enumeration": "Switch "
533134533134 }
533135533135 }
533136533136 ]
@@ -533546,7 +533546,7 @@
533546533546 "type": [
533547533547 {
533548533548 "type": "discrete",
533549- "enumeration": "DprogState "
533549+ "enumeration": "Switch "
533550533550 }
533551533551 ],
533552533552 "isOptional": false
@@ -533560,7 +533560,7 @@
533560533560 "parameters": [],
533561533561 "response": {
533562533562 "type": "discrete",
533563- "enumeration": "DprogState "
533563+ "enumeration": "Switch "
533564533564 }
533565533565 },
533566533566 {
@@ -533632,8 +533632,11 @@
533632533632 "helpLink": "EEZ BB3 SCPI reference 5.12 - OUTPut.html#outp_trac",
533633533633 "parameters": [
533634533634 {
533635- "name": "bool ",
533635+ "name": "chanlist ",
533636533636 "type": [
533637+ {
533638+ "type": "channel-list"
533639+ },
533637533640 {
533638533641 "type": "boolean"
533639533642 }
@@ -536233,7 +536236,7 @@
536233536236 "type": [
536234536237 {
536235536238 "type": "discrete",
536236- "enumeration": "State1 "
536239+ "enumeration": "Switch "
536237536240 }
536238536241 ],
536239536242 "isOptional": false
@@ -537711,7 +537714,7 @@
537711537714 }
537712537715 },
537713537716 {
537714- "name": "SYSTem:SERial ?",
537717+ "name": "SYSTem:CPU:SNO ?",
537715537718 "parameters": [],
537716537719 "response": {
537717537720 "type": "numeric"
@@ -538110,7 +538113,7 @@
538110538113 ]
538111538114 },
538112538115 {
538113- "name": "State1 ",
538116+ "name": "Switch ",
538114538117 "members": [
538115538118 {
538116538119 "name": "ON",
@@ -538354,11 +538357,11 @@
538354538357 "name": "DataType",
538355538358 "members": [
538356538359 {
538357- "name": "INTEger ",
538360+ "name": "INTeger ",
538358538361 "value": "1"
538359538362 },
538360538363 {
538361- "name": "FLOAt ",
538364+ "name": "FLOat ",
538362538365 "value": "2"
538363538366 },
538364538367 {
@@ -538401,8 +538404,8 @@
538401538404 "id": "bbe8f05b-cb07-4142-efe6-840a8f2f9163",
538402538405 "name": "Tracking mode ON",
538403538406 "action": {
538404- "type": "scpi-commands ",
538405- "data": "OUTP:TRAC ON"
538407+ "type": "javascript ",
538408+ "data": "connection.acquire();\n\nvar numChannels = parseInt(await connection.query(\"SYSTem:CHANnel?\"));\n\n\nif (numChannels === 0) {\n connection.release();\n notify.error(\"There is no channel installed!\");\n return;\n}\n\nvar defaultValues = storage.getItem(\"EezTrackingModeOn\", {\n ch1: false,\n ch2: false,\n ch3: false,\n ch4: false,\n ch5: false,\n ch6: false\n});\n\nvar fields = [];\n\nfor (let i = 1; i <= numChannels; i++) {\n fields.push({ \n name: `ch${i}`,\n displayName: `Channel ${i}`,\n type: \"boolean\"\n });\n}\n\nvar values = defaultValues;\nvar channelList;\nvar numTracChannels;\nvar error;\n\nwhile (true) {\n values = await input({\n title: \"Select channels to operate in the track mode\",\n fields,\n error\n }, values);\n if (!values) {\n connection.release();\n session.deleteScriptLogEntry();\n return;\n }\n\n channelList = \"(@\";\n var numTracChannels = 0;\n for (let i = 1; i <= numChannels; i++) {\n if (values[`ch${i}`]) {\n if (numTracChannels > 0) {\n channelList +=\",\";\n }\n channelList += i.toString();\n numTracChannels++;\n }\n }\n channelList += \")\";\n \n if (numTracChannels >= 2) {\n break;\n }\n \n error = \"Select at least 2 channels.\"\n}\n\nstorage.setItem(\"EezTrackingModeOn\", values);\n\nsession.scriptParameters = channelList;\n\nconnection.command(`OUTP:TRAC ${channelList}`);\n\nconnection.release();\n"
538406538409 },
538407538410 "keybinding": "f3",
538408538411 "showInToolbar": true,
@@ -538565,6 +538568,19 @@
538565538568 "toolbarButtonPosition": 14,
538566538569 "toolbarButtonColor": "#727b84",
538567538570 "requiresConfirmation": false
538571+ },
538572+ {
538573+ "id": "755fe7e0-ca38-4391-d50c-b9cf141ed0b1",
538574+ "name": "Screenshot",
538575+ "action": {
538576+ "type": "scpi-commands",
538577+ "data": "DISP:DATA?"
538578+ },
538579+ "keybinding": "f2",
538580+ "showInToolbar": true,
538581+ "toolbarButtonPosition": 1,
538582+ "toolbarButtonColor": "#7BC3D4",
538583+ "requiresConfirmation": false
538568538584 }
538569538585 ]
538570538586 }
0 commit comments