Configure Devices with Advantech DAQ Device Manager Utilities

There are some utilities available with Advantech DAQ Device Linux Driver package.

1. advdevice_list

 

      List the Advantech devices plugged in the system and show some information of those devices. 

    -Usage:

            advdevice_list

    - Example:

            #advdevice_list
            Advantech : advdevice_list version 0.0.01
            
            The 0th Advantech Device: 
            	+--Device Type Name is usb4761
            	+--BoardID is 0x5
            	+--The Device has not been binded with device file 
            	+--Please bind this device with device file using advdevice_bind utility!

 

2. advdevice_bind

   

    Associate a device with a device node or CANCEL the relationship between a USB device and a device file .


-Usage:


    advdevice_bind [OPTIONS]  <device type> <board id> <device file>

- Example:

1. Associate a device(usb4761) with a device node (/dev/advdaq0)

#advdevice_bind usb4761 4 /dev/advdaq0

2. Cancel the relationship between a USB device and a device node

#advdevice_bind -r usb4761 4 /dev/advdaq0
*NOTE: If you remove a device from system, you need to associate the device with a device node using "advdevice_bind" again.

3. advdevice_locate

   

    This utility is developed for identify Advantech USB device. The LED status of the USB device will blink when the device is located using this utility.

-Usage   

         advdevice_locate  <device file>

-Example

#advdevice_locate /dev/advdaq0

4. advdevice_setboardid

   

    This utility is developed for changing board ID of USB device.

-Usage   

         advdevice_setboardid  <device file> <new board id>

-Example

#advdevice_setboardid /dev/advdaq0 0x5