Moxa DA-UPCI-DK [23/45] Installing the irig b driver in windows 7

Moxa DA-FX04-MM-ST-T [23/45] Installing the irig b driver in windows 7
DA-IRIGB-4DIO-PCI104-EMC4 Module Driver and Utility Installation
3-9
root@Moxa:~# mxIrigUtil -f 17 -p 3,1
Set DO 3 = 1
The following command example displays the digital input interface.
root@Moxa:~# mxIrigUtil -f 18 -p 0
Get DI 0 = 0
root@Moxa:~# mxIrigUtil -f 18 -p 1
Get DI 1 = 0
root@Moxa:~# mxIrigUtil -f 18 -p 2
Get DI 2 = 0
You can edit the /etc/init.d/mx_irigb.sh script to configure the IRIG-B utility. For example, if you want to
set the IRIG-B digital output interface, remove the ‘#’ symbol from the /usr/sbin/mxIrigUtil line and
configure the MX_IRIGB_UTIL_OPTS parameter. The following figure shows an example.
root@Moxa:~# sudo vi /etc/init.d/mx_irigb.sh
...
MX_IRIGB_UTIL_OPTS="
-f 15 -p 1,1,2,0"
...
case "$1" in
start)
...
# If you need the IRIG-
B signal output, you should remove the # in from
of the following line.
/usr/sbin/mxIrigUtil $MX_IRIGB_UTIL_OPTS > /dev/null 2>&1
...
Installing the IRIG-B Driver in Windows 7
1. Log into the embedded computer as an administrator.
2. Download the installation files from the Moxa web site at http://www.moxa.com
.
3. Copy the driver and utility files to the embedded computer.
4. Double-click the IRIG-B driver installation file.
5. When the welcome screen appears, click Next.

Содержание

Похожие устройства

Скачать