Page 1 of 1

Query Decklink Quad 2 Duplex Mode

PostPosted: Thu Jun 07, 2018 9:35 am
by Steffen Pätzold
I query the Duplex to find out how the decklink devices are configured.

IDeckLinkConfiguration* pConfig;
.....
pConfig->GetInt(bmdDeckLinkConfigDuplexMode, &duplex);


The following sample setup gives the following results:

Decklink (1) - connectors 1&2 --> duplex = bmdDuplexModeFull
Decklink (2) - connectors 3 --> duplex = bmdDuplexModeHalf
Decklink (3) - connectors 5 --> duplex = bmdDuplexModeHalf
Decklink (4) - connectors 7 --> duplex = bmdDuplexModeHalf
Decklink (5) - connectors none --> duplex = 0 -->seems reasonable because no connector is used
Decklink (6) - connectors 4 --> duplex = 0 i would expect this to be bmdDuplexModeHalf

Or is there any possibility to query that device 2 and 6 are using the same hardware resources/connectors?

Re: Query Decklink Quad 2 Duplex Mode

PostPosted: Fri Jun 08, 2018 1:39 am
by Cameron Nichols
Hi Steffen,

The configuration ID bmdDeckLinkConfigDuplexMode is only applicable to the first sub-device in a pair.

You should call IDeckLinkAttributes::GetInt(BMDDeckLinkPairedDevicePersistentID, &paired_id) to determine the persistent ID for the paired sub-device which will accept the bmdDeckLinkConfigDuplexMode configuration ID.

Kind Regards
Cameron

Re: Query Decklink Quad 2 Duplex Mode

PostPosted: Fri Jun 08, 2018 7:39 am
by Steffen Pätzold
Thanks, now it works ;)