3 programming - mx100/visual c, Programming - mx100/visual c++ -9 – Yokogawa PC-Based MX100 User Manual

Page 32

Advertising
background image

2-9

IM MX190-01E

MX100 -Visual C++

2

2.3

Programming - MX100/Visual C++ -

Adding the Path of the Include File

Add the path of the include file (DAQMX.h) to the project. The method of adding the

include file varies depending on the environment used.

Declaration in the Source File

Write the declaration in the source file.

#include "DAQMX.h"

Note

The include file of the common section (DAQHandler.h) is referenced from the include
file described above. Thus, declaration for it is not necessary.

Library Designation

Add the library (DAQMX.lib, DAQ Handler.lib) to the project. The method of adding
the include file varies depending on the environment used.

This enables the use of all classes. It also enables the use of all Visual C functions.

Advertising