MX Foundation 4
Command Line Tools

Host

MX Foundation comes with some command line tools. The executables of these tools are located in the “mx_foundation/bin/utilities” directory.

The base path is "C:\Program File\MAX Technologies" on Windows and "/usr/local/max_technologies" on Linux.

To connect locally, simply hit enter at the Server Address prompt.
To connect with Ethernet, simply enter the MXF server's IP address at the Server Address prompt.
To connect with USB, simply enter usb:x at the Server Address prompt where 'x' is the device index (ex: usb:0).

deviceinfo

Displays information about detected MAXT devices and modules, performs an external device memory selftest, and displays information about the installed software. The results are stored in the deviceinfo.log file in the maxfiles directory.

deviceprog

Upgrades the firmware of devices. The results are stored in the deviceprog.log file in the maxfiles directory.

flexchangeip

Allows the user to change the DHCP, IP address and netmask settings of a MAX Technologies Flex device. Can be useful when DHCP is not used. With FlexMulti device, the last digit will not be used, it is overridden by dip switches. The device must be powered down for changes to take effect.

Command line usage:

flexchangeip [device_index new_ip_address new_ip_netmask [mxf_server_address]]

ex: flexchangeip 0 192.168.0.2 255.255.255.0 192.168.0.1

flexchangeacl

Allows the user to change the ACL for a MAX Technologies Flex Ethernet device. Can be useful to change the default username/password of MAX Technologies Flex Ethernet server.

embeddedmon

The embedded monitor tool displays the “printf” formatted output generated by MX Embedded code.

perfmeter

Displays the device CPU Usage and reports error statistics.

deviceassign

Assigns a device to MXF4 or to MXF3. When a device is assign to a version of MXF, applications build with this version of MXF will be able to use it. Only useful for PCIe/PXIe 500 series carrier.


Embedded

MX Foundation also comes with some command line tools specific to embedded programming. The executables of these tools are located in /maxfiles directory.

selftest

Performs a quick selftest on the device. Use -oi option to use internal loopback for the test.

deviceinfo

Displays information about detected MAX Technologies devices, modules, and installed software. The results are stored in the deviceinfo.log file in the maxfiles directory. Not available on FlexMAX device.

Updated 10/23/2023