MX Foundation 4

Functions

uint32 mxfSystemUSBDetect (uint64 *count)
 
uint32 mxfSystemUSBServerConnect (uint64 index, HMXF_SERVER *server)
 

Detailed Description

Function Documentation

uint32 mxfSystemUSBDetect ( uint64 *  count)
C#
public static extern UInt32 mxfSystemUSBDetect(out UInt64 count);

Detects MAXT USB devices connected. mxfConnectUSB() function must be used to connect to the USB device. This function must be called before connecting to a USB device. Only one connection is allowed by USB device.

Parameters
[out]countnumber of MAXT USB device 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
mxfConnectUSB()
Examples:
ar664_aperiodicSap.c, ar664_com_queuing_basic.c, ar664_end_system.c, ar664_error_injection_detection.c, ar664_error_injection_detection_ede.c, ar664_playback.c, ar664_raw_rx.c, ar664_recorder.c, ar664_sampling.c, usb.c, and usb.cs.
uint32 mxfSystemUSBServerConnect ( uint64  index,
HMXF_SERVER *  server 
)
C#
public static extern UInt32 mxfSystemUSBServerConnect(UInt64 index, out UInt64 server);

Connects to MX Foundation's server over USB. mxfSystemUSBDetect() function must be called before this function. Only one connection is allowed by USB device.

Parameters
[in]indexindex of MAXT USB device (0 for first device, 1 for second device, ...).
[out]serverserver handle returned
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. Deprecated, use mxfConnectUSB() instead.
See also
mxfConnectUSB()
mxfSystemUSBDetect()
mxfServerDisconnect()
Examples:
ar664_aperiodicSap.c, ar664_com_queuing_basic.c, ar664_end_system.c, ar664_error_injection_detection.c, ar664_error_injection_detection_ede.c, ar664_playback.c, ar664_raw_rx.c, ar664_recorder.c, ar664_sampling.c, usb.c, and usb.cs.
Updated 10/23/2023