使用FCB-Control-HD軟體,控制 FCB-EH6300監控器材,在其初始化過程中會先查詢鏡頭的各項資訊,接著再設定以下數值:
- CAM_NR
- CAM_Alarm
- CAM_RegisterValue
- CAM_ColorEnhance
- CAM_ChromaSuppress
整個初始流程中所會執行的VISCA指令及回應記錄如下:
1.
88 30 01 ff // Address Set
88 30 02 ff // Reply for address setting
2.
88 30 01 ff // Address Set
88 30 02 ff // Reply for address setting
3.
81 09 00 02 ff // Query camera version
90 50 00 20 04 5f 02 00 02 ff // Camera response version information
// 0x0020:SONY, 0x045F:FCB-EH6300
4.
81 09 7e 7e 00 ff // Block Inquiry, 00, 01, 02, 03 分別對應不同的資料區段
90 50 00 00 00 00 0d 00 0a 00 00 00 00 07 00 ff
5.
81 09 7e 7e 01 ff
90 50 0d 02 09 0b 00 0a 00 00 05 0d 01 0d 07 ff
6.
81 09 7e 7e 02 ff
90 50 01 00 00 00 00 00 00 00 00 00 14 00 00 ff
7.
81 09 7e 7e 03 ff
90 50 00 00 00 05 00 05 08 08 00 27 01 03 2f ff
8.
81 09 04 57 ff // CAM_AFModeInq
90 50 00 ff
9.
81 09 04 39 ff // CAM_AEModeInq
90 50 00 ff
10.
81 09 04 6c ff // CAM_AlarmModeInq
90 50 00 ff
11.
81 09 04 3d ff // CAM_WDModeInq
90 50 03 ff // response for CAM_WDModeInq
12.
81 09 04 2d ff // CAM_WDParameterInq
90 50 00 00 00 00 01 04 00 00 ff // response for CAM_WDParameterInq
13.
81 09 04 11 ff // CAM_IRCorrectionInq
90 50 00 ff // response for CAM_IRCorrectionInq
14.
81 09 04 24 72 ff // CAM_RegisterValueInq (72:Monitoring Mode)
90 50 00 06 ff // response for CAM_RegisterValueInq
15.
81 09 04 50 ff // CAM_ColorEnhanceInq
90 50 03 ff // response for CAM_ColorEnhanceInq
16.
81 09 04 20 ff // CAM_ColorEnhanceInq
90 50 02 00 00 02 03 ff // response for CAM_ColorEnhanceInq
17.
81 09 04 5f ff // CAM_ChromaSuppressInq
90 50 02 ff // response for CAM_ChromaSuppressInq
18.
81 01 04 34 03 ff // unknown setting
90 60 02 ff // Syntax Error for "81 01 04 34 03 ff"
19.
81 01 04 53 03 ff // CAM_NR
90 41 ff // CAM_NR ACK
90 51 ff // CAM_NR Complete
20.
81 01 04 6c 00 ff // CAM_Alarm SetMode 00:Focus change detection
90 41 ff // CAM_Alarm ACK
90 51 ff // CAM_Alarm Complete
21.
81 01 04 24 72 00 06 ff // CAM_RegisterValue
90 41 ff // CAM_RegisterValue ACK
90 51 ff // CAM_RegisterValue complete
22.
81 01 04 20 02 00 00 02 00 ff // CAM_ColorEnhance On
90 41 ff // CAM_ColorEnhance On ACK
90 51 ff // CAM_ColorEnhance On Complete
23.
81 01 04 20 02 00 00 02 03 ff // CAM_ColorEnhance Off
90 41 ff // CAM_ColorEnhance Off ACK
90 51 ff // CAM_ColorEnhance Off Complete
24.
81 01 04 5f 02 ff // CAM_ChromaSuppress set to level2
90 41 ff // CAM_ChromaSuppress ACK
90 51 ff // CAM_ChromaSuppress Complete
原始擷取到的 UART log 如下,
[11/04/2012 15:21:39] - Written data
88 30 01 ff // Address Set
[11/04/2012 15:21:39] - Read data
88 30 02 ff // Reply for address setting
[11/04/2012 15:21:40] - Written data
88 30 01 ff // Address Set
81 09 00 02 ff // Query camera version
81 09 7e 7e 00 ff // Block Inquiry, 00, 01, 02, 03 分別對應不同的資料區段
81 09 7e 7e 01 ff
81 09 7e 7e 02 ff
81 09 7e 7e 03 ff
[11/04/2012 15:21:40] - Read data
88 30 02 ff // Reply for address setting
[11/04/2012 15:21:40] - Written data
81 09 04 57 ff // CAM_AFModeInq
81 09 04 39 ff // CAM_AEModeInq
81 09 04 6c ff // CAM_AlarmModeInq
81 09 04 3d ff // CAM_WDModeInq
81 09 04 2d ff // CAM_WDParameterInq
[11/04/2012 15:21:40] - Read data
90 50 00 20 04 5f 02 00 02 ff // Camera response version information
// 0x0020:SONY, 0x045F:FCB-EH6300
[11/04/2012 15:21:40] - Written data
81 09 04 11 ff // CAM_IRCorrectionInq
81 09 04 24 72 ff // CAM_RegisterValueInq (72:Monitoring Mode)
81 09 04 50 ff // CAM_ColorEnhanceInq
81 09 04 20 ff // CAM_ColorEnhanceInq
81 09 04 5f ff // CAM_ChromaSuppressInq
[11/04/2012 15:21:40] - Read data // Response for Block Inquiry 00, 01, 02
90 50 00 00 00 00 0d 00 0a 00 00 00 00 07 00 ff
90 50 0d 02 09 0b 00 0a 00 00 05 0d 01 0d 07 ff
90 50 01 00 00 00 00 00 00 00 00 00 14 00 00 ff
[11/04/2012 15:21:40] - Written data
81 01 04 34 03 ff // unknown setting
[11/04/2012 15:21:41] - Read data // response for Block Inquiry 03
90 50 00 00 00 05 00 05 08 08 00 27 01 03 2f ff
[11/04/2012 15:21:41] - Written data
81 01 04 53 03 ff // CAM_NR
[11/04/2012 15:21:41] - Read data // response for AF, AE, ALARM query
90 50 00 ff
90 50 00 ff
90 50 00 ff
[11/04/2012 15:21:41] - Written data
81 01 04 6c 00 ff // CAM_Alarm SetMode 00:Focus change detection
[11/04/2012 15:21:41] - Read data
90 50 03 ff // response for CAM_WDModeInq
90 50 00 00 00 00 01 04 00 00 ff // response for CAM_WDParameterInq
90 50 00 ff // response for CAM_IRCorrectionInq
90 50 00 06 ff // response for CAM_RegisterValueInq
[11/04/2012 15:21:41] - Written data
81 01 04 24 72 00 06 ff // CAM_RegisterValue
[11/04/2012 15:21:41] - Read data
90 50 03 ff // response for CAM_ColorEnhanceInq
90 50 02 00 00 02 03 ff // response for CAM_ColorEnhanceInq
[11/04/2012 15:21:41] - Written data
81 01 04 20 02 00 00 02 00 ff // CAM_ColorEnhance On
81 01 04 20 02 00 00 02 03 ff // CAM_ColorEnhance Off
[11/04/2012 15:21:41] - Read data
90 50 02 ff // response for CAM_ChromaSuppressInq
[11/04/2012 15:21:41] - Written data
81 01 04 5f 02 ff // CAM_ChromaSuppress set to level2
[11/04/2012 15:21:41] - Read data
90 60 02 ff // Syntax Error for "81 01 04 34 03 ff"
90 41 ff // CAM_NR ACK
90 51 ff // CAM_NR Complete
90 41 ff // CAM_Alarm ACK
90 51 ff // CAM_Alarm Complete
90 41 ff // CAM_RegisterValue ACK
90 51 ff // CAM_RegisterValue complete
90 41 ff // CAM_ColorEnhance On ACK
90 51 ff // CAM_ColorEnhance On Complete
90 41 ff // CAM_ColorEnhance Off ACK
90 51 ff // CAM_ColorEnhance Off Complete
90 41 ff // CAM_ChromaSuppress ACK
90 51 ff // CAM_ChromaSuppress Complete
註:需釐清 "81 01 04 34 03 ff" 的作用為何??