I'm happy to make those changes myself. I've changed the videoDevice.json like this (changes are highlighted):
"Miniscope_V4_BNO": {
"qmlFile": "qrc:/Miniscope_V4_BNO.qml",
"sensor": "PYTHON480",
"frameRate": "adjustable",
"width": 300,
"height": 300,
"pixelClock": 16.6,
"headOrientation": true,
"isColor": false,
"controlSettings": {
"gain": {
"displaySpinBoxValues":["Low", "Medium", "High"],
"displayTextValues": [1, 2, 3.5],
"outputValues":[225,228,36],
"startValue": "Low",
"sendCommand": [
{
"protocol": "I2C",
"addressW": "0b00100000",
"regLength": "1",
"reg0": "0x05",
"dataLength": "4",
"data0": "0x00",
"data1": "0xCC",
"data2": "valueH",
"data3": "valueL"
}
]
},
"frameRate": {
"displaySpinBoxValues":["10FPS", "15FPS", "20FPS", "30FPS", "60FPS"],
"displayTextValues": [10, 15, 20, 30, 60],
"outputValues":[10000,6667,5000, 3300, 1650],
"startValue": "20FPS",
"sendCommand": [
{
"protocol": "I2C",
"addressW": "0b00100000",
"regLength": "1",
"reg0": "0x05",
"dataLength": "4",
"data0": "0x00",
"data1": "0xC9",
"data2": "valueH",
"data3": "valueL"
}
]
},
.......
When the FPS is set to 60 in GUI, the image became darker. However, the real FPS is unchanged.