- C#
- public static extern UInt32 mxfAttributeUint64Get(UInt64 handle, UInt64 attrib, out UInt64 value);
Returns the value an attribute specific for the handle. The value is 64 bits integer unsigned.
The attribute type is available in MXF_ATTRIBUTE_INFO.type from mxfAttributeInfoGet().
- Parameters
-
[in] | handle | handle reference
Constant | Description |
MXF_SERVER | Server handle |
HMXF_DEVICE | Device handle |
HMXF_MODULE | Module handle |
HMXF_CHANNEL | Channel handle |
HMXF_PORT | COM / SAP handle (ARINC 664) |
HMXF_VL | Virtual Link handle (ARINC 664) |
HMXF_BUFFER | VL/SubVL buffer (ARINC 664) |
|
[in] | attrib | attribute identification.
Refer to the specific sections below for the exhaustive list of attributes;
|
[out] | value | pointer to returned value |
- Note
- To return a floating point attribute, use mxfAttributeDoubleGet().
- Returns
- MAXT_SUCCESS is returned when the function has succeeded.
Refer to mxf_error.h for a list of defined errors.
Call mxfSystemErrorStringGet() to transform the return code into a text string.
Server Attributes
Ethernet Server supports the following attributes:
Keep Alive
The KMXF_SERVER_KEEP_ALIVE
attribute holds the keep alive mechanism state. When enabled, connection timeout is fired if no activity has been detected for 60 seconds. Network timeout condition can happen when debugging an Ethernet application and staying on a breakpoint for longer than the timeout value. In that case, disabling the keep alive mechanism will avoid this condition.
Constant | Description |
VMXF_ENABLE | Keep alive is enabled (default) |
VMXF_DISABLE | Keep alive is disabled |
Allow Reconnection
When enabled, the KMXF_SERVER_ALLOW_RECONNECTION_EXCLUSIVE_CLIENT
attribute allows an exclusive client to reconnect. This can be useful in development when the application is run in a container and terminates improperly without calling mxfServerDisconnect(), but the process is still alive (VIs in LabVIEW are such a case). This attribute is global to the server, so any client can change it.
Constant | Description |
VMXF_ENABLE | Reconnection is allowed |
VMXF_DISABLE | Reconnection is not allowed (default) |
Device Attributes
Device Type
The KMXF_DEVICE_TYPE
attribute holds the device type (read-only).
Constant | Description |
MXF_DEVICE_FLEX1553_PCIE | Flex1553-PCIe |
MXF_DEVICE_FLEXMULTI_1553 | FlexMulti 1553 |
MXF_DEVICE_FLEXMULTI_629 | FlexMulti 629 |
MXF_DEVICE_FLEXMULTI_429 | FlexMulti 429 |
MXF_DEVICE_FLEXMULTI_664 | FlexMulti 664 |
MXF_DEVICE_FLEXMULTI | FlexMulti |
MXF_DEVICE_PCIE502 | PCIe 502 carrier |
MXF_DEVICE_PXIE500 | PXIe 500 carrier |
MXF_DEVICE_FMOB429_PLUS | FlexMobile 429+ |
MXF_DEVICE_FLEXMAX_3U | FlexMAX 3U |
MXF_DEVICE_FLEXMAX_1U | FlexMAX 1U |
MXF_DEVICE_RELAYBOX | RelayBox |
Sync-Out Termination
The KMXF_DEVICE_SYNC_OUT_TERMINATION
attribute holds the sync-out termination state. 120 ohm termination resistor can be added by changing this attribute.
Only available on FlexMobile, FlexMAX and RelayBox devices.
Constant | Description |
VMXF_DEVICE_SYNC_OUT_TERMINATION_NONE | No termination resistor (default) |
VMXF_DEVICE_SYNC_OUT_TERMINATION_120OHM | 120 ohm termination resistor is added |
Sync-In Termination
The KMXF_DEVICE_SYNC_IN_TERMINATION
attribute holds the sync-in termination state. 100 or 120 ohm termination resistor can be added by changing this attribute.
Only available on FlexMobile, FlexMAX and RelayBox devices.
Constant | Description |
VMXF_DEVICE_SYNC_IN_TERMINATION_NONE | No termination resistor (default) |
VMXF_DEVICE_SYNC_IN_TERMINATION_120OHM | 120 ohm termination resistor is added |
VMXF_DEVICE_SYNC_IN_TERMINATION_100OHM | 100 ohm termination resistor is added |
Module Attributes
Module Type
The KMXF_MODULE_TYPE
attribute holds the module type (read-only).
Constant | Description |
MXF_MODULE_DIO48 | IPM-DIO-48 module |
MXF_MODULE_DAC | IPM-DAC module |
MXF_MODULE_A429E | IPM-429 module |
MXF_MODULE_DIOFIFO48 | IPM-DIO-48-FIFO module |
MXF_MODULE_MIL1553MRT | IPM-1553-MRT module |
MXF_MODULE_ASCBMRT | IPM-ASCB module |
MXF_MODULE_A629MRT_REV2 | IPM-629 module |
MXF_MODULE_MULTI | IPM-MULTI module |
MXF_MODULE_A708 | IPM-708 module |
MXF_MODULE_ADC | IPM-ADC module |
MXF_MODULE_DIOFIFO24DIFF | IPM-DIO-24 module |
MXF_MODULE_MIL1553MRT_SF | IPM-1553-MRT-SF module |
MXF_MODULE_ASYNC | IPM-ASYNC module |
MXF_MODULE_HFCE | IPM-HFCE module |
MXF_MODULE_CANBUS | CAN bus module |
MXF_MODULE_MIL1553MRT_EH | MIL-1553 Enhanced module |
MXF_MODULE_A664 | ARINC 664 module |
MXF_MODULE_DIOFIFO_EH | Discrete input / discrete output Enhanced module |
MXF_MODULE_A429_EH | ARINC 429 Enhanced module |
MXF_MODULE_ASYNC_EH | ASYNC Enhanced module |
MXF_MODULE_MULTI_EH | Multi-protocol Enhanced module |
MXF_MODULE_A629MRT_EH | ARINC 629 Enhanced module |
MXF_MODULE_A708_EH | ARINC 708 Enhanced module |
MXF_MODULE_FLEXDIO | FlexMAX DIO module |
MXF_MODULE_FLEXDAC | FlexMAX DAC module |
MXF_MODULE_FLEXADC | FlexMAX ADC module |
MXF_MODULE_FLEX429 | FlexMAX 429 module |
MXF_MODULE_FLEXSMP | FlexMAX SMP module |
MXF_MODULE_FLEX1553 | FlexMAX 1553 module |
MXF_MODULE_FLEX708 | FlexMAX 708 module |
Module Version
The KMXF_MODULE_VERSION
attribute holds the module version of programmed VHDL code (read-only).
Module Options
The KMXF_MODULE_OPTIONS
attribute holds the module options of programmed VHDL code (read-only).
Module Type | Option | Description |
MXF_MODULE_MIL1553MRT
MXF_MODULE_MIL1553MRT_SF
MXF_MODULE_MIL1553MRT_EH
MXF_MODULE_FLEX1553 | VMXF_MIL1553_MODULE_OPTIONS_EBR | This module has EBR option |
VMXF_MIL1553_MODULE_OPTIONS_1760 | This module has MIL-STD-1760 option |
VMXF_MIL1553_MODULE_OPTIONS_HYBRID_MODE | This module has MIL-STD-1553 A/B Hybrid option |
MXF_MODULE_A429_EH | VMXF_A429_MODULE_OPTIONS_PARAMETRIC | This module has Tx parametric option |
MXF_MODULE_FLEX429 | VMXF_A429_MODULE_OPTIONS_PARAMETRIC | This module has Tx parametric option |
VMXF_A429_MODULE_OPTIONS_BIDIRECTIONAL | This module has bidirectional option |
MXF_MODULE_FLEXSMP | VMXF_FLEXSMP_MODULE_OPTIONS_HDLC | This module has HDLC option |
VMXF_FLEXSMP_MODULE_OPTIONS_RS232 | This module has RS-232 option |
VMXF_FLEXSMP_MODULE_OPTIONS_CAN | This module has CAN option |
VMXF_FLEXSMP_MODULE_OPTIONS_DISCRETE | This module has Discrete option |
Channel Attributes
Channel Class
The KMXF_CHANNEL_CLASS
attribute holds the channel class of the channel. To change channel class of channel that supports more than one channel class, use mxfSystemInitAttributeUint64CallbackHandler() initialization handler.
- Note
- Since MXF 4.5.2, it is now possible to change the channel class by using mxfAttributeUint64Set() instead of using the initialization handler.
Constant | Description |
MXF_CLASS_A429 | A429 Channel |
MXF_CLASS_CSDB | CSDB Channel |
MXF_CLASS_DISCRETE | Discrete Channel |
MXF_CLASS_A629 | A629 Channel |
MXF_CLASS_MIL1553 | MIL1553 Channel |
MXF_CLASS_A717 | A717 Channel |
MXF_CLASS_A708 | A708 Channel |
MXF_CLASS_HDLC | HDLC Channel |
MXF_CLASS_CLOCK | CLOCK Channel |
MXF_CLASS_HANDSHAKE | Handshake Channel |
MXF_CLASS_ASYNC_ENHANCED | ASYNC Enhanced Channel |
MXF_CLASS_CANBUS | CAN bus Channel |
MXF_CLASS_A664 | A664 Channel |
MXF_CLASS_ANALOG | Analog Channel |
MXF_CLASS_HFCE | HFCE Channel |
MXF_CLASS_ASCB | ASCB Channel |
MXF_CLASS_PULSE | Pulse Channel |
MXF_CLASS_FLEXDIO | FlexDIO Channel |
MXF_CLASS_FLEXANALOG | FlexAnalog Channel |
Channel Subclass
The KMXF_CHANNEL_SUBCLASS
attribute holds the supported subclass of the channel (read-only).
Constant | Description |
MXF_SCLASS_RX_CHANNEL | Channel is RX |
MXF_SCLASS_TX_CHANNEL | Channel is TX |
MXF_SCLASS_BM_CHANNEL | Channel is BM |
MXF_SCLASS_BC_CHANNEL | Channel is BC |
MXF_SCLASS_RT_CHANNEL | Channel is RT |
MXF_SCLASS_RXACQ_SRV | Channel supports RX acquisition |
MXF_SCLASS_RXSAMPLING_SRV | Channel supports RX sampling |
MXF_SCLASS_TXAPERIODIC_SRV | Channel supports TX aperiodic |
MXF_SCLASS_TXPERIODIC_MJRFRAME_SRV | Channel supports TX periodic frame |
MXF_SCLASS_TXPERIODIC_UPDATEMSG_SRV | Channel supports TX periodic update message |
MXF_SCLASS_TXPERIODIC_SCHEDULE_SRV | Channel supports TX periodic schedule |
- Availability:
- Available in MX Foundation 4.0 and later.
- See also
- mxfAttributeUint64Set()
-
mxfAttributeInfoGet()
-
mxfAttributeDoubleGet()
- Examples:
- ar429_buffer_threshold.c, ar429_buffer_threshold.cs, ar429_embedded_bridge.c, ar429_embedded_timer.c, ar429_embedded_timer.cs, ar429_rx_event_handler.c, ar429_rx_sampling.c, discrete_event_handler.c, discrete_event_handler.cs, discrete_fifo.c, discrete_fifo.cs, discrete_rx_acquisition_trigger.c, discrete_rx_acquisition_trigger.cs, mil1553_aperiodic.c, and mil1553_aperiodic.cs.