- C#
- public static extern UInt32 mxfSystemDeviceCountGet(UInt64 server, UInt64 type, out UInt64 count);
Returns the number of devices detected by MX Foundation. This function can be called before the initialization of MX Foundation.
- Parameters
-
[in] | server | server handle. |
[in] | type | device type.
Constant | Description |
MXF_DEVICE_ALL | Used to specify any devices. |
MXF_DEVICE_FLEX1553_PCIE | Flex1553-PCIe |
MXF_DEVICE_FLEXMULTI_1553 | FlexMulti 1553 |
MXF_DEVICE_FLEXMULTI_629 | FlexMulti 629 |
MXF_DEVICE_FLEXMULTI_664 | FlexMulti 664 |
MXF_DEVICE_FLEXMULTI_429 | FlexMulti 429 |
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 |
|
[out] | count | number of devices 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
- mxfSystemDeviceGet()
-
mxfSystemDeviceAllGet()