3 programming - mx100/visual c, Programming - mx100/visual c++ -15, Adding the path to the include file – Yokogawa PC-Based MX100 User Manual

Page 579: Declaration in the source file, Library designation

Advertising
background image

12-15

IM MX190-01E

MX100 for Extended API

12

12.3 Programming - MX100/Visual C++ -

Adding the Path to the Include File

Add the path of the include file (DAQMX100.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 ìDAQMX100.h”

Note

The include file of the common section (DAQHandler.h) and the

MX100 include file (DAQMX.h) is referenced from the include file

described above. Thus, declaration for it is not necessary.

Library Designation

Adds libraries (DAQMX100.lib, DAQMX.lib, and DAQHandler.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