- Posts: 1
- Joined: Mon Apr 10, 2017 3:52 pm
Hello Erick,
The Blackmagic Audio 4K will not be available unless an active capture process is running on the DeckLink Studio 4K device.
You may wish to investigate using the DeckLink SDK to create a DLL which can then be interfaced with the LabView.
Certainly, it is possible to set the active input connector by using the IDeckLinkConfiguration[1] interface, e.g. (where deckLink is an IDeckLink*):
IDeckLinkConfiguration *deckLinkConfiguration = NULL;
if (deckLink->QueryInterface(IID_IDeckLinkConfiguration, (void **)&deckLinkConfiguration) != S_OK)
{
printf("Could not get the IDeckLinkConfiguration interface\n");
deckLinkConfiguration = NULL;
goto bail;
}
Then set the video input connection to the desired BMDVideoConnector[2]:
result = deckLinkConfiguration->SetInt(bmdDeckLinkConfigVideoInputConnection, bmdVideoConnectionHDMI);
Be sure to check the result to ensure the operation was successful.
Note that configuration changes made are global, and will be reverted when the IDeckLinkConfiguration reference is released, unless the settings are saved with IDeckLinkConfiguration::WriteConfigurationToPreferences [3].
See "2.7.18 DeckLink Configuration ID" for the possible configuration items, and "2.7.12 Video Connection Modes" for the possible video connections.
It is also possible to determine the available inputs for a particular device (i.e. whether a particular device has an HDMI input) by querying the IDeckLinkAttributes[4] interface with attribute BMDDeckLinkVideoInputConnections [5].
Regards
Waqqas
[1] 2.5.15 IDeckLinkConfiguration Interface
[2] 2.7.12 Video Connection Modes
[3] 2.5.15.9 IDeckLinkConfiguration::WriteConfigurationToPreferences method
[4] 2.5.17 IDeckLinkAttributes Interface
[5] 2.7.17 DeckLink Attribute ID