This document was generated from CDN thread Created by: Twelve Li on 11-12-2011 08:31:33 PM Hi,I am using Crestron controller to control C90 with serial command. We have an application to have video source selection, C90 Layout selection and Monitor output selection in Touchpanel. To achieve that we need to have ability to change the video source in the frame and recall the C90 video layout. Is it possible to do that?With TC Console I tried to create a custom layout called "Custom 1". I can find out command to recall the custom layout as below:xCommand Video PictureLayoutSet LayoutFamily: custom CustomLayoutName: "Custom 1"\x0D\x0AHowever which layout page will be recalled by this command? As the layout matrix included Local, Local + Selfview, Local + Camera, Remote, plus only you, you +1, you + 2 and you + 3. Moreover, if I want switch the video input to Input3 in a frame which is under layout matrix > Local > Only you > 16:9 presentation > Monitor 1 > Frame 1. Which serial command should I send?Thanks a lotTwelveSubject: RE: Recall Layout and Frame in C90 Replied by: David Bruun-Lie on 12-12-2011 01:29:58 PMHi Twelve,Your custom layout "Custom 1" is what we call a "Layout Family", meaning that it consists of a SET of layouts. Each layout in a layout family is only useful and valid for a specific state on the codec.Say your codec is not in a call and not showing a presentation. This is one state.Say your codec is not in a call and you start to show a presentation. This is a different state.Say your codec is a call with 1 remote site and no one is sharing a presentation. This is another state.Say your codec is a call with 2 remote sites and one is sharing a presentation. This is another state.etc..the variables are:Number of calls connected, presentation active or not, self view is on or off.And then there's a question of how many output screens you have locally. For each screen you need to specify what is shown where for each scenario. With 4 local screens like you have on the C90 codec the matrix becomes huge :-)In addition you create custom layouts for remote sites with presentation capabilities and for those without.Phew!So to your question about recalling a specific layout within a layout family - this is done by the codec itself. You set the layout family, the codec decides which specific layout in this family to use depending on its state (Local, Local + Selfview, Local + Camera, Remote, plus only you, you +1, you + 2 and you + 3. +++)To change a specific frame in a layout you can use the command: 1xCommand Video Layout Frame Update
2 LayoutId(r): <1..2147483647>
3 FrameId(r): <1..65535>
4 PositionX: <0..10000>
5 PositionY: <0..10000>
6 Width: <1..10000>
7 Height: <1..10000>
8 Layer: <1..5>
9 Border: <On/Off>
10 VideoSourceType: <graphic/localInput/localMain/localPresentation/mostSpeaking/otherMain/ownMain/presentation/remoteMain/remotePresentation/videoFile>
11 VideoSourceId: <0..2147483647>
e.g. to just change from input1 to input3 you can issue:1xCommand Video Layout Frame Update LayoutId: x FrameId: y VideoSourceId: 3
(given that VideoSourceType is already set to localInput and you know x and y.Cheers,DavidSubject: RE: Recall Layout and Frame in C90 Replied by: Twelve Li on 13-12-2011 07:50:35 PMHi Thanks,But how can I know LayoutId: x and FrameId: y if the layout is created by TC console??What I do now is to send a series of command to create layout one by one.. (bypass TC console) command likes:"xcommand Video Layout Add LayoutId: 1""xcommand Video Layout Frame Add LayoutId: 1 FrameId: 1 PositionX: 500 PositionY: 500 Width: 3000 Height: 3000 Layer: 1 Border: On VideoSourceType: localInput VideoSourceId: 1"And then assign it to output of codes, it works very well, and I can update frame by changing the VideoSourceId. A question if I use custom layout, it will totally disable the auto mode.. right? So when there is a VC call, I have to put the farend source to one of the frame by programe, right?