7
« on: February 25, 2022, 04:49:50 AM »
Yet I found another way to make the camera record x frames: Using the "delay" block on the IO-configuration page I succeeded to make the camera stop recording after x seconds... I attached a picture of the configuration again, and here also is a dump of the JSON object needed to put the whole configuration all at once into the camera via JavaScript.
{
"gate": {
"source": "none",
"debounce": false,
"invert": false
},
"toggleSet": {
"source": "none",
"debounce": false,
"invert": false
},
"delay": {
"delayTime": 0.999997,
"source": "io1",
"debounce": true,
"invert": false
},
"combAnd": {
"source": "alwaysHigh",
"debounce": false,
"invert": false
},
"toggleFlip": {
"source": "none",
"debounce": false,
"invert": false
},
"start": {
"source": "io1",
"debounce": true,
"invert": false
},
"combOr3": {
"source": "none",
"debounce": false,
"invert": false
},
"shutter": {
"shutterTriggersFrame": false,
"source": "none",
"debounce": false,
"invert": false
},
"combOr1": {
"source": "none",
"debounce": false,
"invert": false
},
"combOr2": {
"source": "none",
"debounce": false,
"invert": false
},
"toggleClear": {
"source": "none",
"debounce": false,
"invert": false
},
"combXOr": {
"source": "none",
"debounce": false,
"invert": false
},
"trigger": {
"source": "io1",
"debounce": true,
"invert": false
},
"stop": {
"source": "delay",
"debounce": false,
"invert": false
},
"io1In": {
"threshold": 2.49929
},
"io2In": {
"threshold": 2.49929
},
"io1": {
"driveStrength": 2,
"source": "alwaysHigh",
"debounce": false,
"invert": false
},
"io2": {
"driveStrength": 0,
"source": "alwaysHigh",
"debounce": false,
"invert": false
}
}