beautypg.com

Windows ce, Mac os x, Linux – Measurement Computing DAQFlex User Guide User Manual

Page 8

background image

DAQFlex Software User's Guide

Introducing DAQFlex Software

8

Windows CE

1.

Go to the DAQFlex download page at

www.mccdaq.com/DAQFlexDL

and select the

Windows CE

option.

2.

Run the

DAQFlex for Windows CE.msi

installer file.

3.

Follow the installer instructions.

4.

After the DAQFlex software is installed, copy the Windows CE device drivers (

mccusb.dll

and

mccwinceusb.dll

) from the

DAQFlex for Windows CE\Drivers\ directory

(\X86 or \XScale

folder) to the device's Windows directory.

Connect your DAQFlex device after installing the software. You can run the

FlexTest.exe

, or build and

run the C# or VB .NET example programs included in the installation using Visual Studio (version 2008

or later).

Refer to the C# and VB Example Programs chapter on page 96 for instructions on running the DAQFlex

example programs, and to the Hardware Reference chapter on page 98 for the API components and

messages supported by DAQFlex supported hardware.

Mac OS X

1.

Go to the DAQFlex download page at

www.mccdaq.com/DAQFlexDL

and select the

Mac OS

option.

2.

Run the DAQFlex installer package (

DAQFlex.pkg

).

3.

Follow the installer instructions.

Connect your DAQFlex device after installing the software. You can run the FlexTest application located

in the

/Applications/Measurement Computing/DAQFlex

folder. Additionally, you can build and run

the example programs included in the installation using ExampleBuilder.

Refer to the C# and VB Example Programs chapter on page 96 for instructions on running the DAQFlex

example programs, and to the Hardware Reference chapter on page 98 for the API components and

messages supported by DAQFlex supported hardware.

Linux

1.

Using your Software/Package manager, verify that the

Mono framework

(version 2.4 or later) and

the

libusb

user-mode driver are installed on your Linux system.

If these versions aren't listed, information on installing, updating, or adding software repositories to

your Software/Package manager can be found at the following links. Click

here

to go to the Mono

web site. Click

here

to go to the libusb web site.

2.

As a root user, create a symbolic link to the

libusb-1.0

shared object file. For example:

o ln -s /usr/lib/libusb-1.0.so.0/usr/lib/libusb-1.0.so

The actual file location may vary.

3.

Extract the files from the

DAQFlex-2.0.tar.gz

archive file on the DAQFlex software CD using an

archive manager.

4.

In a terminal window, set the current directory to

DAQFlex/Source/DAQFlexAPI

.

5.

As a root user, run the following commands:

o make
o make install

6.

Restart the system.

Connect your DAQFlex device after installing the software. You can run the FlexTest application by

running the command

$ flextest

from a terminal window. Additionally, you can build and run the C#

example programs included in the installation using MonoDevelop or the Mono command line

interpreter.

Refer to the C# and VB Example Programs chapter on page 96 for instructions on running the DAQFlex

example programs, and to the Hardware Reference chapter on page 98 for the API components and

messages supported by DAQFlex supported hardware.