MX Foundation 4

Functions

uint32 mxfModuleChannelCountGet (HMXF_MODULE module, uint64 channelClass, uint64 subClass, uint64 *count)
 
uint32 mxfModuleChannelGet (HMXF_MODULE module, uint64 channelIndex, HMXF_CHANNEL *channel)
 
uint32 mxfModuleChannelAllGet (HMXF_MODULE module, uint64 channelClass, uint64 subClass, uint64 maxChannel, uint64 *count, HMXF_CHANNEL *channels)
 
uint32 mxfChannelCountGet (HMXF_SERVER server, uint64 channelClass, uint64 subClass, uint64 moduleType, uint64 *count)
 
uint32 mxfChannelGet (HMXF_SERVER server, uint64 channelClass, uint64 subClass, uint64 moduleType, uint64 channelIndex, HMXF_CHANNEL *channel)
 
uint32 mxfChannelAllGet (HMXF_SERVER server, uint64 channelClass, uint64 subClass, uint64 moduleType, uint64 maxChannel, uint64 *count, HMXF_CHANNEL *channels)
 

Detailed Description

Function Documentation

uint32 mxfModuleChannelCountGet ( HMXF_MODULE  module,
uint64  channelClass,
uint64  subClass,
uint64 *  count 
)
C#
public static extern UInt32 mxfModuleChannelCountGet(UInt64 module, UInt64 channelClass, UInt64 subClass, out UInt64 count);

Returns the number of channels detected on the module for the specified channel class/subclass.

Parameters
[in]modulemodule handle
[in]channelClasschannel class
Constant Description
MXF_CLASS_ALL Any channel class
MXF_CLASS_A429 ARINC 429 channel
MXF_CLASS_CSDB CSDB channel
MXF_CLASS_ANALOG Analog channel
MXF_CLASS_DISCRETE Discrete channel
MXF_CLASS_A629 ARINC 629 channel
MXF_CLASS_ASCB ASCB channel
MXF_CLASS_MIL1553 MIL-1553 channel
MXF_CLASS_A717 ARINC 717 channel
MXF_CLASS_A708 ARINC 708 channel
MXF_CLASS_PULSE PULSE channel
MXF_CLASS_HDLC HDLC channel
MXF_CLASS_CLOCK CLOCK channel
MXF_CLASS_HFCE HFCE channel
MXF_CLASS_HANDSHAKE Handshake channel
MXF_CLASS_A664 ARINC 664 channel
MXF_CLASS_ASYNC_ENHANCED ASYNC-EH channel
MXF_CLASS_CANBUS CAN channel
MXF_CLASS_FLEXDIO Flex DIO channel
MXF_CLASS_FLEXANALOG Flex Analog channel
[in]subClasschannel subClass. Restrain the function to consider only the channels that offers a particular function specified via a subclass argument. If more than one subclass is specified, the channels detected must support all specified subclasses.
Constant Description
MXF_SCLASS_ALL Do not filter with subclass
MXF_SCLASS_BM_CHANNEL Channel is a Bus Monitor
MXF_SCLASS_BC_CHANNEL Channel is a Bus Controller
MXF_SCLASS_RT_CHANNEL Channel is a Remote Terminal
MXF_SCLASS_RX_CHANNEL Channel is a receiver
MXF_SCLASS_TX_CHANNEL Channel is a transmitter
MXF_SCLASS_RXSAMPLING_SRV Channel supports sampling service
MXF_SCLASS_TXAPERIODIC_SRV Channel supports TX aperiodic service
MXF_SCLASS_RXACQ_SRV Channel supports acquisition service
MXF_SCLASS_TXPERIODIC_MJRFRAME_SRV Channel supports TX Periodic Major Frame service
MXF_SCLASS_TXPERIODIC_UPDATEMSG_SRV Channel supports TX Periodic Update Message service
MXF_SCLASS_TXPERIODIC_SCHEDULE_SRV Channel supports TX Periodic Schedule service
MXF_SCLASS_COM_RXACQ_SRV This subclass is used for the COM Acquisition service.
MXF_SCLASS_COM_RXSAMPLING_SRV This subclass is used for the COM Sampling Service.
MXF_SCLASS_SAP_RXACQ_SRV This subclass is used for the SAP Acquisition service.
MXF_SCLASS_SAP_RXSAMPLING_SRV This subclass is used for the SAP Sampling Service.
MXF_SCLASS_COM_TX_CHANNEL This subclass is used for COM Transmission.
MXF_SCLASS_SAP_TX_CHANNEL This subclass is used for SAP Transmission.
[out]countcount of channels found
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.
Availability:
Available in MX Foundation 4.0 and later.
See also
mxfModuleChannelGet()
mxfModuleChannelAllGet()
uint32 mxfModuleChannelGet ( HMXF_MODULE  module,
uint64  channelIndex,
HMXF_CHANNEL *  channel 
)
C#
public static extern UInt32 mxfModuleChannelGet(UInt64 module, UInt64 channelIndex, out UInt64 channel);

Returns the channel handle for the specified index.

Parameters
[in]modulemodule handle
[in]channelIndexlogical channel index (e.g., 0=first channel, 1=second channel, ...)
[out]channelpointer to channel handle
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.
Availability:
Available in MX Foundation 4.0 and later.
See also
mxfModuleChannelAllGet()
mxfModuleChannelCountGet()
Examples:
ar429_embedded_comm_queues.c, ar429_periodic.c, ar429_periodic.cs, async_flexsmp_rs232.c, async_flexsmp_rs232.cs, canbus_periodic.c, canbus_sampling.c, flexdac.c, mil1553_aperiodic_event.c, mil1553_aperiodic_event.cs, mil1553_aperiodic_frame.c, mil1553_aperiodic_frame.cs, mil1553_bc_buserror_trigger.c, mil1553_bc_buserror_trigger.cs, mil1553_bc_dual_major_frame.c, mil1553_bc_dual_major_frame.cs, mil1553_bc_extclock.c, mil1553_bc_extclock.cs, mil1553_bc_rt_data_assignment.c, mil1553_bc_rt_data_assignment.cs, mil1553_cond_branch_1.c, mil1553_cond_branch_1.cs, mil1553_cond_branch_2.c, mil1553_cond_branch_2.cs, mil1553_ebr.c, mil1553_ebr.cs, mil1553_errors.c, mil1553_errors.cs, mil1553_manyErrorInjections.c, mil1553_manyErrorInjections.cs, mil1553_rt.c, mil1553_rt.cs, mil1553_rtErrorInjections.c, mil1553_rtErrorInjections.cs, multi.c, and multi.cs.
uint32 mxfModuleChannelAllGet ( HMXF_MODULE  module,
uint64  channelClass,
uint64  subClass,
uint64  maxChannel,
uint64 *  count,
HMXF_CHANNEL *  channels 
)
C#
public static extern UInt32 mxfModuleChannelAllGet(UInt64 module, UInt64 channelClass, UInt64 subClass, UInt64 maxChannel, out UInt64 count, [Out] UInt64[] channels);

Returns the channel handles that match the specified channel class/subclass.

Parameters
[in]modulemodule handle
[in]channelClasschannel class
Constant Description
MXF_CLASS_ALL Any channel class
MXF_CLASS_A429 ARINC 429 channel
MXF_CLASS_CSDB CSDB channel
MXF_CLASS_ANALOG Analog channel
MXF_CLASS_DISCRETE Discrete channel
MXF_CLASS_A629 ARINC 629 channel
MXF_CLASS_ASCB ASCB channel
MXF_CLASS_MIL1553 MIL-1553 channel
MXF_CLASS_A717 ARINC 717 channel
MXF_CLASS_A708 ARINC 708 channel
MXF_CLASS_PULSE PULSE channel
MXF_CLASS_HDLC HDLC channel
MXF_CLASS_CLOCK CLOCK channel
MXF_CLASS_HFCE HFCE channel
MXF_CLASS_HANDSHAKE Handshake channel
MXF_CLASS_A664 ARINC 664 channel
MXF_CLASS_ASYNC_ENHANCED ASYNC-EH channel
MXF_CLASS_CANBUS CAN channel
MXF_CLASS_FLEXDIO Flex DIO channel
MXF_CLASS_FLEXANALOG Flex Analog channel
[in]subClasschannel subclass. Restrain the function to consider only the channels that offers a particular function specified via a subclass argument. If more than one subclass is specified, the channels detected must support all specified subclasses.
Constant Description
MXF_SCLASS_ALL Do not filter with subclass
MXF_SCLASS_BM_CHANNEL Channel is a Bus Monitor
MXF_SCLASS_BC_CHANNEL Channel is a Bus Controller
MXF_SCLASS_RT_CHANNEL Channel is a Remote Terminal
MXF_SCLASS_RX_CHANNEL Channel is a receiver
MXF_SCLASS_TX_CHANNEL Channel is a transmitter
MXF_SCLASS_RXSAMPLING_SRV Channel supports sampling service
MXF_SCLASS_TXAPERIODIC_SRV Channel supports TX aperiodic service
MXF_SCLASS_RXACQ_SRV Channel supports acquisition service
MXF_SCLASS_TXPERIODIC_MJRFRAME_SRV Channel supports TX Periodic Major Frame service
MXF_SCLASS_TXPERIODIC_UPDATEMSG_SRV Channel supports TX Periodic Update Message service
MXF_SCLASS_TXPERIODIC_SCHEDULE_SRV Channel supports TX Periodic Schedule service
MXF_SCLASS_COM_RXACQ_SRV This subclass is used for the COM Acquisition service.
MXF_SCLASS_COM_RXSAMPLING_SRV This subclass is used for the COM Sampling Service.
MXF_SCLASS_SAP_RXACQ_SRV This subclass is used for the SAP Acquisition service.
MXF_SCLASS_SAP_RXSAMPLING_SRV This subclass is used for the SAP Sampling Service.
MXF_SCLASS_COM_TX_CHANNEL This subclass is used for COM Transmission.
MXF_SCLASS_SAP_TX_CHANNEL This subclass is used for SAP Transmission.
[in]maxChannelmaximum number of channel handles to be returned in channels array
[out]countnumber of channel handles returned
[out]channelsarray of channel handles
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.
Availability:
Available in MX Foundation 4.0 and later.
See also
mxfModuleChannelGet()
mxfModuleChannelCountGet()
Examples:
ar429_aperiodic.cs, ar429_comm_queues.c, ar429_comm_queues.cs, ar429_embedded_bridge.cs, ar429_embedded_discrete.c, ar429_embedded_discrete.cs, ar429_embedded_recorder.c, ar429_embedded_recorder.cs, ar429_embedded_timer.c, ar429_embedded_timer.cs, ar429_rx_event_handler.cs, ar429_rx_sampling.cs, ar629_alternate.c, ar629_alternate.cs, ar629_aperiodic_frame.c, ar629_aperiodic_frame.cs, ar629_aperiodic_mode.c, ar629_aperiodic_mode.cs, ar629_block_mode.c, ar629_block_mode.cs, ar629_dual_xpp.c, ar629_dual_xpp.cs, ar629_error_injection_detection.c, ar629_error_injection_detection.cs, ar629_independent_mode.c, ar629_independent_mode.cs, ar629_updating_data_sampling.c, ar629_updating_data_sampling.cs, ar664_aperiodicSap.c, ar664_aperiodicSap.cs, ar664_com_queuing_basic.c, ar664_com_queuing_basic.cs, ar664_end_system.c, ar664_end_system.cs, ar664_error_injection_detection.c, ar664_error_injection_detection.cs, ar664_error_injection_detection_ede.c, ar664_error_injection_detection_ede.cs, ar664_playback.c, ar664_playback.cs, ar664_raw_rx.c, ar664_raw_rx.cs, ar664_recorder.c, ar664_recorder.cs, ar664_sampling.c, ar664_sampling.cs, ar708.c, ar708.cs, ar708_aperiodic.c, ar708_aperiodic.cs, ar708_buffer_threshold.c, ar708_buffer_threshold.cs, ar708_event_handler.c, ar708_event_handler.cs, ar708_periodic.c, ar708_periodic.cs, ar708_sampling.c, ar708_sampling.cs, ar708_trigger.c, ar708_trigger.cs, ar708_tx_error_injection.c, ar708_tx_error_injection.cs, ar717.cs, ar717_advance.c, ar717_advance.cs, ar717_bridge_from_ar429.c, ar717_bridge_from_ar429.cs, ar717_buffer_threshold.c, ar717_buffer_threshold.cs, ar717_embedded_recorder.c, ar717_embedded_recorder.cs, ar717_rx_acquisition_trigger.cs, async.c, async.cs, async_flow_control_hw.c, async_flow_control_hw.cs, async_flow_control_sw.c, async_flow_control_sw.cs, async_tx_error_injection.c, async_tx_error_injection.cs, can_fd.c, canbus.c, canbus.cs, csdb_aperiodic.c, csdb_aperiodic.cs, csdb_buffer_threshold.c, csdb_buffer_threshold.cs, csdb_periodic.c, csdb_periodic.cs, csdb_rx_event_handler.c, csdb_rx_event_handler.cs, csdb_rx_sampling.c, csdb_rx_sampling.cs, discrete.c, discrete.cs, discrete_Multi.c, discrete_Multi.cs, discrete_pulse_clock.c, discrete_pulse_clock.cs, flexdio.c, ipm_async_rs485_9bit.c, irigb_1pps.c, irigb_1pps.cs, mil1553_aperiodic.c, mil1553_aperiodic.cs, mil1553_aperiodic_event.c, mil1553_aperiodic_event.cs, mil1553_bc.c, mil1553_bc.cs, mil1553_bc_dual_major_frame.c, mil1553_bc_dual_major_frame.cs, mil1553_bm.c, mil1553_bm.cs, mil1553_cond_branch_1.c, mil1553_cond_branch_1.cs, mil1553_cond_branch_2.c, mil1553_cond_branch_2.cs, mil1553_ebr.c, mil1553_ebr.cs, mil1553_embedded_async_to_1553.c, mil1553_embedded_async_to_1553.cs, mil1553_embedded_update_embedded.c, mil1553_embedded_update_host.c, mil1553_embedded_update_host.cs, mil1553_errors.c, mil1553_errors.cs, mil1553_manyErrorInjections.c, mil1553_manyErrorInjections.cs, mil1553_rtErrorInjections.c, mil1553_rtErrorInjections.cs, multi.c, multi.cs, usb.c, and usb.cs.
uint32 mxfChannelCountGet ( HMXF_SERVER  server,
uint64  channelClass,
uint64  subClass,
uint64  moduleType,
uint64 *  count 
)
C#
public static extern UInt32 mxfChannelCountGet(UInt64 server, UInt64 channelClass, UInt64 subClass, UInt64 moduleType, out UInt64 count);

Returns the number of channels detected by MX Foundation.

Parameters
[in]serverserver handle.
[in]channelClasschannel class.
Constant Description
MXF_CLASS_ALL Any channel class
MXF_CLASS_A429 ARINC 429 channel
MXF_CLASS_CSDB CSDB channel
MXF_CLASS_ANALOG Analog channel
MXF_CLASS_DISCRETE Discrete channel
MXF_CLASS_A629 ARINC 629 channel
MXF_CLASS_ASCB ASCB channel
MXF_CLASS_MIL1553 MIL-1553 channel
MXF_CLASS_A717 ARINC 717 channel
MXF_CLASS_A708 ARINC 708 channel
MXF_CLASS_PULSE PULSE channel
MXF_CLASS_HDLC HDLC channel
MXF_CLASS_CLOCK CLOCK channel
MXF_CLASS_HFCE HFCE channel
MXF_CLASS_HANDSHAKE Handshake channel
MXF_CLASS_A664 ARINC 664 channel
MXF_CLASS_ASYNC_ENHANCED ASYNC-EH channel
MXF_CLASS_CANBUS CAN channel
MXF_CLASS_FLEXDIO Flex DIO channel
MXF_CLASS_FLEXANALOG Flex Analog channel
[in]subClasschannel subclass.
Constant Description
MXF_SCLASS_ALL Do not filter with subclass
MXF_SCLASS_BM_CHANNEL Channel is a Bus Monitor
MXF_SCLASS_BC_CHANNEL Channel is a Bus Controller
MXF_SCLASS_RT_CHANNEL Channel is a Remote Terminal
MXF_SCLASS_RX_CHANNEL Channel is a receiver
MXF_SCLASS_TX_CHANNEL Channel is a transmitter
MXF_SCLASS_RXSAMPLING_SRV Channel supports sampling service
MXF_SCLASS_TXAPERIODIC_SRV Channel supports TX aperiodic service
MXF_SCLASS_RXACQ_SRV Channel supports acquisition service
MXF_SCLASS_TXPERIODIC_MJRFRAME_SRV Channel supports TX Periodic Major Frame service
MXF_SCLASS_TXPERIODIC_UPDATEMSG_SRV Channel supports TX Periodic Update Message service
MXF_SCLASS_TXPERIODIC_SCHEDULE_SRV Channel supports TX Periodic Schedule service
MXF_SCLASS_COM_RXACQ_SRV This subclass is used for the COM Acquisition service.
MXF_SCLASS_COM_RXSAMPLING_SRV This subclass is used for the COM Sampling Service.
MXF_SCLASS_SAP_RXACQ_SRV This subclass is used for the SAP Acquisition service.
MXF_SCLASS_SAP_RXSAMPLING_SRV This subclass is used for the SAP Sampling Service.
MXF_SCLASS_COM_TX_CHANNEL This subclass is used for COM Transmission.
MXF_SCLASS_SAP_TX_CHANNEL This subclass is used for SAP Transmission.
[in]moduleTypemodule type.
Constant Description
MXF_MODULE_ALL Used to specify any modules.
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
[out]countnumber of channels detected.
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.
Availability:
Available in MX Foundation 4.0 and later.
See also
mxfChannelGet()
mxfChannelAllGet()
uint32 mxfChannelGet ( HMXF_SERVER  server,
uint64  channelClass,
uint64  subClass,
uint64  moduleType,
uint64  channelIndex,
HMXF_CHANNEL *  channel 
)
C#
public static extern UInt32 mxfChannelGet(UInt64 server, UInt64 channelClass, UInt64 subClass, UInt64 moduleType, UInt64 channelIndex, out UInt64 channel);

Returns the channel handle for the specified channel class, subclass, module type and index.

Parameters
[in]serverserver handle
[in]channelClasschannel class.
Constant Description
MXF_CLASS_ALL Any channel class
MXF_CLASS_A429 ARINC 429 channel
MXF_CLASS_CSDB CSDB channel
MXF_CLASS_ANALOG Analog channel
MXF_CLASS_DISCRETE Discrete channel
MXF_CLASS_A629 ARINC 629 channel
MXF_CLASS_ASCB ASCB channel
MXF_CLASS_MIL1553 MIL-1553 channel
MXF_CLASS_A717 ARINC 717 channel
MXF_CLASS_A708 ARINC 708 channel
MXF_CLASS_PULSE PULSE channel
MXF_CLASS_HDLC HDLC channel
MXF_CLASS_CLOCK CLOCK channel
MXF_CLASS_HFCE HFCE channel
MXF_CLASS_HANDSHAKE Handshake channel
MXF_CLASS_A664 ARINC 664 channel
MXF_CLASS_ASYNC_ENHANCED ASYNC-EH channel
MXF_CLASS_CANBUS CAN channel
MXF_CLASS_FLEXDIO Flex DIO channel
MXF_CLASS_FLEXANALOG Flex Analog channel
[in]subClasschannel subclass.
Constant Description
MXF_SCLASS_ALL Do not filter with subclass
MXF_SCLASS_BM_CHANNEL Channel is a Bus Monitor
MXF_SCLASS_BC_CHANNEL Channel is a Bus Controller
MXF_SCLASS_RT_CHANNEL Channel is a Remote Terminal
MXF_SCLASS_RX_CHANNEL Channel is a receiver
MXF_SCLASS_TX_CHANNEL Channel is a transmitter
MXF_SCLASS_RXSAMPLING_SRV Channel supports sampling service
MXF_SCLASS_TXAPERIODIC_SRV Channel supports TX aperiodic service
MXF_SCLASS_RXACQ_SRV Channel supports acquisition service
MXF_SCLASS_TXPERIODIC_MJRFRAME_SRV Channel supports TX Periodic Major Frame service
MXF_SCLASS_TXPERIODIC_UPDATEMSG_SRV Channel supports TX Periodic Update Message service
MXF_SCLASS_TXPERIODIC_SCHEDULE_SRV Channel supports TX Periodic Schedule service
MXF_SCLASS_COM_RXACQ_SRV This subclass is used for the COM Acquisition service.
MXF_SCLASS_COM_RXSAMPLING_SRV This subclass is used for the COM Sampling Service.
MXF_SCLASS_SAP_RXACQ_SRV This subclass is used for the SAP Acquisition service.
MXF_SCLASS_SAP_RXSAMPLING_SRV This subclass is used for the SAP Sampling Service.
MXF_SCLASS_COM_TX_CHANNEL This subclass is used for COM Transmission.
MXF_SCLASS_SAP_TX_CHANNEL This subclass is used for SAP Transmission.
[in]moduleTypemodule type
Constant Description
MXF_MODULE_ALL Used to specify any modules.
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
[in]channelIndexlogical channel index (e.g., 0=channel 0, 1=channel 1, ...)
[out]channelchannel handle
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.
Availability:
Available in MX Foundation 4.0 and later.
See also
mxfChannelCountGet()
mxfChannelAllGet()
Examples:
ar429_rx_acquisition_trigger.c, ar429_rx_acquisition_trigger.cs, ar429_UDPCommRxEmbedded.c, ar629_alternate.c, ar629_alternate.cs, ar629_freshnessCounter_manyCID.c, ar629_freshnessCounter_manyCID.cs, ascb_bc.c, ascb_bm.c, ascb_user.c, async_flexsmp.c, async_flexsmp.cs, csdb_flexsmp.c, csdb_flexsmp.cs, dac.c, hdlc.c, hdlc.cs, hdlc_aperiodic.c, hdlc_aperiodic.cs, hdlc_buffer_threshold.c, hdlc_buffer_threshold.cs, hdlc_flexsmp.c, hdlc_flexsmp.cs, hdlc_trigger.c, hdlc_trigger.cs, hdlc_tx_error_injection.c, hdlc_tx_error_injection.cs, hfce.c, hfce_aperiodic.c, hfce_buffer_threshold.c, hfce_trigger.c, hfce_tx_error_injection.c, mil1553_rt_rt.c, mil1553_rt_rt.cs, pulse.c, write_read_async.c, and write_read_async.cs.
uint32 mxfChannelAllGet ( HMXF_SERVER  server,
uint64  channelClass,
uint64  subClass,
uint64  moduleType,
uint64  maxChannel,
uint64 *  count,
HMXF_CHANNEL *  channels 
)
C#
public static extern UInt32 mxfChannelAllGet(UInt64 server, UInt64 channelClass, UInt64 subClass, UInt64 moduleType, UInt64 maxChannel, out UInt64 count, [Out] UInt64[] channels);

Returns the handle(s) of all channels specified by type for the server.

Parameters
[in]serverserver handle
[in]channelClasschannel class.
Constant Description
MXF_CLASS_ALL Any channel class
MXF_CLASS_A429 ARINC 429 channel
MXF_CLASS_CSDB CSDB channel
MXF_CLASS_ANALOG Analog channel
MXF_CLASS_DISCRETE Discrete channel
MXF_CLASS_A629 ARINC 629 channel
MXF_CLASS_ASCB ASCB channel
MXF_CLASS_MIL1553 MIL-1553 channel
MXF_CLASS_A717 ARINC 717 channel
MXF_CLASS_A708 ARINC 708 channel
MXF_CLASS_PULSE PULSE channel
MXF_CLASS_HDLC HDLC channel
MXF_CLASS_CLOCK CLOCK channel
MXF_CLASS_HFCE HFCE channel
MXF_CLASS_HANDSHAKE Handshake channel
MXF_CLASS_A664 ARINC 664 channel
MXF_CLASS_ASYNC_ENHANCED ASYNC-EH channel
MXF_CLASS_CANBUS CAN channel
MXF_CLASS_FLEXDIO Flex DIO channel
MXF_CLASS_FLEXANALOG Flex Analog channel
[in]subClasschannel subclass.
Constant Description
MXF_SCLASS_ALL Do not filter with subclass
MXF_SCLASS_BM_CHANNEL Channel is a Bus Monitor
MXF_SCLASS_BC_CHANNEL Channel is a Bus Controller
MXF_SCLASS_RT_CHANNEL Channel is a Remote Terminal
MXF_SCLASS_RX_CHANNEL Channel is a receiver
MXF_SCLASS_TX_CHANNEL Channel is a transmitter
MXF_SCLASS_RXSAMPLING_SRV Channel supports sampling service
MXF_SCLASS_TXAPERIODIC_SRV Channel supports TX aperiodic service
MXF_SCLASS_RXACQ_SRV Channel supports acquisition service
MXF_SCLASS_TXPERIODIC_MJRFRAME_SRV Channel supports TX Periodic Major Frame service
MXF_SCLASS_TXPERIODIC_UPDATEMSG_SRV Channel supports TX Periodic Update Message service
MXF_SCLASS_TXPERIODIC_SCHEDULE_SRV Channel supports TX Periodic Schedule service
MXF_SCLASS_COM_RXACQ_SRV This subclass is used for the COM Acquisition service.
MXF_SCLASS_COM_RXSAMPLING_SRV This subclass is used for the COM Sampling Service.
MXF_SCLASS_SAP_RXACQ_SRV This subclass is used for the SAP Acquisition service.
MXF_SCLASS_SAP_RXSAMPLING_SRV This subclass is used for the SAP Sampling Service.
MXF_SCLASS_COM_TX_CHANNEL This subclass is used for COM Transmission.
MXF_SCLASS_SAP_TX_CHANNEL This subclass is used for SAP Transmission.
[in]moduleTypemodule type
Constant Description
MXF_MODULE_ALL Used to specify any modules.
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
[in]maxChannelmaximum number of channel handles that can be returned in channels array
[out]countnumber of channel handles returned
[out]channelsarray of channels handles
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.
Availability:
Available in MX Foundation 4.0 and later.
See also
mxfChannelGet()
mxfChannelCountGet()
Examples:
adc.c, adc_buffer_threshold.c, adc_internal_calib.c, adc_sampling.c, ar429_aperiodic.c, ar429_buffer_threshold.c, ar429_buffer_threshold.cs, ar429_embedded_bridge.c, ar429_rx_event_handler.c, ar429_rx_sampling.c, ar629_freshnessCounter_manyCID.c, ar629_freshnessCounter_manyCID.cs, ar717.c, ar717_embedded_recorder.c, ar717_embedded_recorder.cs, ar717_rx_acquisition_trigger.c, async_rx_acquisition_trigger.c, async_rx_acquisition_trigger.cs, csdb_rx_acquisition_trigger.c, csdb_rx_acquisition_trigger.cs, dac_buffer_threshold.c, dac_relative_timing.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, flexadc.c, flexadc_buffer_threshold.c, flexadc_sampling.c, flexdac_buffer_threshold.c, flexdac_relative_timing.c, flexdio_event_handler.c, flexdio_fifo.c, flexdio_fifo_sampling.c, flexdio_sampling_acq.c, flexdio_sync.c, mil1553_bm_acquisition_trigger.c, and mil1553_bm_acquisition_trigger.cs.
Updated 10/23/2023