123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- {
- "name": "Visca",
- "type": "Serial",
- "path": "LIEN",
- "version": "0.0.1",
- "description": "Visca protocol to control PTZ cameras",
- "url": "https://gogs.madology.myds.me/Chataigne/Visca-Module-Chataigne",
- "downloadURL": "",
- "hasInput": true,
- "hasOutput": true,
- "hideDefaultCommands": false,
- "hideDefaultParameters":
- [
- "protocol",
- "messageStructure",
- "firstValueIsTheName"
- ],
- "defaults":
- {
- "protocol":"Raw",
- "baudRate" : 9600
- },
- "parameters":
- {
- "Setup":{
- "type": "Container",
- "collapsed": true,
- "Fixture Definition" : { "type": "File", "description": "Select json file with fixture definitions." , "alwaysNotify": true },
- "Fixtures" : { "type": "File", "description": "Select json file with fixtures."},
- "Load Fixtures": { "type": "Trigger", "description": "Load the fixture files and create parameters for lights"},
- "Clear DMX": { "type": "Trigger", "description": "Set all DMX channels to 0"}
- }
- },
- "scripts": [
- "Visca.js"
- ],
- "values": {},
- "commands": {
- "Inquiry": {
- "menu": "",
- "callback": "sendInquiry",
- "parameters": {
- "ID" : {
- "type": "Integer",
- "default":1,
- "min": 1,
- "max": 7,
- "useForMapping": true
- },
- "Position" : {
- "type":"Enum",
- "options":
- {
- "CAM_ZoomPosInq":"CAM_ZoomPosInq",
- "CAM_FocusModeInq":"CAM_FocusModeInq",
- "CAM_FocusPosInq":"CAM_FocusPosInq",
- }
- }
- }
- },
- "ZoomPosition": {
- "menu": "",
- "callback": "setZoomPos",
- "parameters": {
- "ID" : {
- "type": "Integer",
- "default":1,
- "min": 1,
- "max": 7,
- "useForMapping": true
- },
- "Position" : {
- "type": "Float",
- "default":0.,
- "min": 0.,
- "max": 1.,
- "useForMapping": true
- }
- }
- },
- "ZoomSpeed": {
- "menu": "",
- "callback": "setZoomSpeed",
- "parameters": {
- "ID" : {
- "type": "Integer",
- "default":1,
- "min": 1,
- "max": 7,
- "useForMapping": true
- },
- "Speed" : {
- "type": "Integer",
- "default":0,
- "min": -8,
- "max": 8,
- "useForMapping": true
- }
- }
- },
- "ZoomPositionInTime": {
- "menu": "",
- "callback": "setZoomPositionInTime",
- "parameters": {
- "ID" : {
- "type": "Integer",
- "default":1,
- "min": 1,
- "max": 7,
- "useForMapping": true
- },
- "Position" : {
- "type": "Float",
- "default":0,
- "min": 0.,
- "max": 1.,
- "useForMapping": true
- },
- "Duration" : {
- "type": "Float",
- "default":0,
- "min": 0.,
- "max": 1000,
- "useForMapping": true
- }
- }
- }
- }
- }
|