Dm |
The transmitter distributes uncompressed digital video and audio signals over copper-based Ethernet cabling
This device does not support ComPort extended information events.
This class will trigger BaseEvent, InputStreamChange, OutputStreamChange, UsbHidChange, DeviceInformationChange, AttributeChange, CecChange and ControlChange events.
public sealed class DmTx4k302C : DmTx4kX02CBase
The DmTx4k302C type exposes the following members.
| Name | Description | |
|---|---|---|
| DmTx4k302C(DMInput) | Constructor to generate a new DM-TX-4K-302-C DM receiver that is connected to a switcher's DM Input on a DMPS3-4K style switcher. | |
| DmTx4k302C(UInt32, CrestronControlSystem) | Constructor to generate a new DM-TX-4K-302-C DM transmitter that is controlled separately from a DM switcher. | |
| DmTx4k302C(UInt32, DMInput) | Constructor to generate a new DM-TX-4K-302-C DM transmitter that is connected to a switcher's DM Input. |
| Name | Description | |
|---|---|---|
| AudioSource |
Select the audio source for the DM Endpoint.
This property is supported by DM-TX-4K-202-C and DM-TX-4K-302-C only.
(Inherited from DmTx4kX02CBase) | |
| AudioSourceFeedback |
Reports the active audio source.
This property is supported by DM-TX-4K-202-C and DM-TX-4K-302-C only.
The BaseEvent event will trigger with AudioSourceFeedbackEventId. (Inherited from DmTx4kX02CBase) | |
| ComPorts |
Collection of serial COM ports on the device.
(Inherited from DmTx4kX02CBase) | |
| ConnectedIpList |
A property containing the list of the ConnectedIpInformation objects which contain information about the devices that are connected to this IP ID.
This property is only valid for an ethernet device. If this is not an ethernet device, then this property will return null.
If this is an ethernet device, the list will be non-null. It will be empty if no devices are connected.
The order of items in this list is not guaranteed.
(Inherited from GenericDevice) | |
| Description |
Get/Set the description of this device.
(Inherited from GenericBase) | |
| Disposed |
Property to indicate if the device has been disposed.
(Inherited from GenericDevice) | |
| DMInput |
Reference back to the DM Input this transmitter is attached to.
(Inherited from EndpointTransmitterBase) | |
| DmOutput |
Get the DM Output port for this Endpoint.
The BaseEvent event will trigger with events VideoSourceFeedbackEventId and AudioSourceFeedbackEventId. The InputStreamChange event will trigger with EndpointOutputStreamEventIds. The DeviceInformationChange event will trigger with ConnectedDeviceEventIds. (Inherited from DmTx4kX02CBase) | |
| HDBaseTDevice |
Get the current HDBaseTBase attached to this DM Input/Output
(Inherited from DMEndpointBase) | |
| HdmiInputs |
Get the HDMI Input port collection for this Endpoint.
The InputStreamChange event will trigger with EndpointInputStreamEventIds. The CecChange event will trigger with CecEventIds. The AttributeChange event will trigger with VideoAttributeEventIds. (Inherited from DmTx4kX02CBase) | |
| HdmiOutput |
Get the HDMI Output with CEC for this Endpoint.
The CecChange event will trigger with CecEventIds. (Inherited from DmTx4kX02CBase) | |
| ID |
Property to get the ID of the device.
(Inherited from GenericDevice) | |
| IROutputPorts |
Collection of IR output ports on the device.
(Inherited from DmTx4kX02CBase) | |
| IsOnline |
Property to get the current online state of the device.
(Inherited from GenericDevice) | |
| Name |
Get the name of this device.
(Inherited from GenericBase) | |
| NumberOfComPorts |
Number of serial COM ports this device supports.
(Inherited from DmTx4kX02CBase) | |
| NumberOfIROutputPorts |
Number of IR output ports this device supports.
(Inherited from DmTx4kX02CBase) | |
| Parent |
The parent that a given object was added to.
(Inherited from GenericBase) | |
| Registerable |
Property to indicate that this device can be registered.
(Inherited from GenericDevice) | |
| Registered |
Property to get the current registration state of the device.
(Inherited from GenericDevice) | |
| RegistrationFailureReason |
Property to get the Registration Failure Reason, this will match the return value from the call to register.
(Inherited from GenericDevice) | |
| SIMPLDeviceImplementation |
Internal protected member used for actual device control.
(Inherited from GenericDevice) | |
| Type |
Property to determine to type of device this is.
(Inherited from GenericDevice) | |
| UnRegistrationFailureReason |
Property to get the Unregistration Failure Reason, this will match the return value from the call to unregister.
(Inherited from GenericDevice) | |
| UsbPort |
Get the USB port for this endpoint.
The UsbHidChange event will trigger with UsbHidEventIds. (Inherited from DmTx4kX02CBase) | |
| UserSpecifiedObject |
Can be assigned anything that user wants.
(Inherited from GenericBase) | |
| VgaInput |
Get the VGA Input port for this Endpoint.
The AttributeChange event will trigger with VideoControlsEventIds. The InputStreamChange event will trigger with EndpointInputStreamEventIds. The ControlChange event will trigger with VideoControlsEventIds. | |
| VideoSource |
Select the video source for the DM Endpoint (Audio Video Source for 4KZ Endpoints). This is same as "AudiVideoSourceType" for DM-TX-4KZ-202-C and DM-TX-4KZ-302-C.
(Inherited from DmTx4kX02CBase) | |
| VideoSourceFeedback |
Reports the active video source for the DM Endpoint (Audio Video Source for 4KZ Endpoints).
The BaseEvent event will trigger with VideoSourceFeedbackEventId. (Inherited from DmTx4kX02CBase) | |
| XioEndpointStubSIMPLDevice |
The SIMPL "stub" Device that the XiO Director creates for an endpoint to send the 1C/0E to the
correct place in hierarchy.
(Inherited from GenericDevice) |
| Name | Description | |
|---|---|---|
| Dispose |
Clean up of resources.
(Inherited from GenericBase) | |
| Dispose(Boolean) |
Method to dispose the endpoint.
(Inherited from EndpointTransmitterBase) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize |
Destructor of the device.
(Inherited from GenericDevice) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| OnBaseEvent(Int32) |
Protected member used to fire the BaseEvent with the default extended information.
(Inherited from GenericBase) | |
| OnBaseEvent(Int32, UInt16) |
Protected member used to fine the BaseEvent with extended event information.
(Inherited from GenericBase) | |
| Register |
Register this device with the system.
(Inherited from GenericDevice) | |
| ToString |
Return the name of the device.
(Inherited from GenericDevice) | |
| UnRegister |
Unregister this device with the system. This function can not be called from the device's own SigChange event handler.
On successful unregistration, if this device supports the OnlineStatusChange event, it will trigger indicating the device when offline. (Inherited from GenericDevice) |
| Name | Description | |
|---|---|---|
| BaseEvent |
Generic base event, triggered when the there are no other handlers available
for a specific EventID.
(Inherited from GenericBase) | |
| IpInformationChange |
Event that tells what IP Address is connected/disconnected from an IP ID for a non-UDP device.
This is only valid for an Ethernet device. An exception will be thrown if it is not.
(Inherited from GenericDevice) | |
| OnlineStatusChange |
Event triggered when the Online status of the device changes.
(Inherited from GenericDevice) |
| Exception | Condition |
|---|---|
| ArgumentException | No valid DM Input port is present in the specified 'paramDmInput' object. |
static DmTx4k302C _DmTx4k302C; // Method to create control system object this device is connected to. public ControlSystemDmTx4k302C() { //Register console commands CrestronConsole.AddNewConsoleCommand(CreateDeviceCmd, "CreateDevice", "This is a DM-TX-4K-302-C CreateDevice command", ConsoleAccessLevelEnum.AccessOperator); } // Method to handle to create DM-TX-4K-302-C Device public void CreateDeviceCmd(String args) { _DmTx4k302C = new DmTx4k302C(0x17, this); _DmTx4k302C.BaseEvent += DmTx4k302CEventHandler; _DmTx4k302C.DmOutput.OutputStreamChange += DmOutputStreamChange; _DmTx4k302C.HdmiOutput.StreamCec.CecChange += DmTx4k302CHdmiOutCecChangeEventHandler; _DmTx4k302C.DmOutput.ConnectedDevice.DeviceInformationChange += ConnectedDeviceOnDeviceInformationChange; _DmTx4k302C.VgaInput.InputStreamChange += DmTx4k302CVgaStreamChange; for (uint i = 1; i <= 2; i++) { _DmTx4k302C.HdmiInputs[i].InputStreamChange += HdmiInputOnInputStreamChange; } _DmTx4k302C.Register(); } // Method to handle top level sig change events for DM-TX-4K-302-C Device. static void DmTx4k302CEventHandler(GenericBase device, BaseEventArgs args) { if (args.EventId == DmTx4kX02CBase.VideoSourceFeedbackEventId) { CrestronConsole.PrintLine("Video Source Feedback Event occurred on {0}", _DmTx4k302C.ToString()); } } // Method to handle top level DM Out sig change events for DM-TX-4K-302-C Device. static void DmOutputStreamChange(EndpointOutputStream outputStream, EndpointOutputStreamEventArgs args) { if (args.EventId == EndpointOutputStreamEventIds.AudioFormatFeedbackEventId) { CrestronConsole.PrintLine("{Audio Format Feedback Event Received for {0}\r\n", _DmTx4k302C.ToString()); } } // Method to handle top level HDMI Out sig change events for DM-TX-4K-302-C Device. static void DmTx4k302CHdmiOutCecChangeEventHandler(Cec cecDevice, CecEventArgs args) { if (args.EventId == CecEventIds.CecMessageReceivedEventId) { CrestronConsole.PrintLine("{Cec Message Received Event Received for {0}\r\n", _DmTx4k302C.ToString()); } } // Method to handle top level Connected Device Information sig change events for DM-TX-4K-302-C Device. static void ConnectedDeviceOnDeviceInformationChange(ConnectedDeviceInformation connectedDevice, ConnectedDeviceEventArgs args) { if (args.EventId == ConnectedDeviceEventIds.ManufacturerEventId) { CrestronConsole.PrintLine("Manufacturer Event occurred on {0}", _DmTx4k302C.ToString()); } } // Method to handle HDMI Input sig change events for DM-TX-4K-302-C Device. static void HdmiInputOnInputStreamChange(EndpointInputStream inputStream, EndpointInputStreamEventArgs args) { if (args.EventId == EndpointInputStreamEventIds.AudioFormatFeedbackEventId) { CrestronConsole.PrintLine("Audio Format Feedback Event Received for {0}\r\n", _DmTx4k302C.ToString()); } } // Method to handle VGA sig change events for DM-TX-4K-302-C Device. static void DmTx4k302CVgaStreamChange(EndpointInputStream inputStream, EndpointInputStreamEventArgs args) { if (args.EventId == EndpointInputStreamEventIds.AudioFormatFeedbackEventId) { CrestronConsole.PrintLine("Audio Format Feedback Event ID is received for {0}", inputStream); } }