Moxa V2426A-C7-T-W7E [63/88] Epm dk02 driver installation

Moxa V2426A-C7-T-W7E [63/88] Epm dk02 driver installation
V2400A Series Expansion Modules Software Installation and Programming Guide
4-43
int mxcan_set_read_timeout (int fd, unsigned int to)
Description Sets data reading timeout of an open port.
Input <fd> the open port
<to> timeout in milliseconds
Return Value 0 on success; otherwise failure
int mxcan_set_write_timeout (int fd, unsigned int to)
Description Sets data writing timeout of an open port.
Input <fd> the open port
<to> timeout in milliseconds
Return Value 0 on success; otherwise failure
int mxcan_write (int fd, char * buffer, int size)
Description Writes data to the open port
Input <fd> the open port
<buffer> pointer to the data
<size> size of the data (should be a multiple of the CANMSG size)
Return Value 0 on failure; otherwise the number of bytes written
EPM-DK02: Driver Installation
Please refer to these sections in Chapter 4:
Wi-Fi Module Driver Installation
LTE Module Driver Installation
3G Module Driver Installation
3G-GPS Module Driver Installation
EPM-DK02: Controlling Power
The EPM-DK02 module provides a power control function that lets you control the power of a USB device so that
you can enable or disable the device. This section introduces how to configure this function to enable/disable
a USB DOM.
Note that the power on/off control function is only suitable for devices that have a USB interface. If you are
using a device with a PCIe interface, do not enable the power on/off control function, since doing so could
damage the device.
EPM-DK02: Getting the USB Sockets’ Current Power Status
1. Execute PowerContorl.exe, located on the CD-ROM at \examples\DK-03\PowerContorl\Release.
2. You may verify that the current power status for your selected devices matches that reported by the utility
by checking the Windows Device Manager.

Содержание

Скачать