Software |
Seite
37
3.3.8.2. Usage of the VIs in LabVIEW
Some functions of the DELIB-library are expecting a string as a parameter value.
This example shows how to use such functions in LabVIEW.
We will use the A/D converter function which is used to set the voltage range as
an example.
The definition of this function is:
void DapiADSetMode(ULONG handle, ULONG ch, ULONG mode);
The voltage ranges for this function are already defined in the DELIB-library.
Example code in C/C++:
DapiADSetMode(handle, 0, ADDA_MODE_UNIPOL_5V);
This code can also be written like this:
DapiADSetMode(handle, 0, 1);
In the delib.h file can you read the hexadecimal values to determine the modes.
The hex values must be convertet to decimal.
After the installation of the DELIB-library, the delib.h file is located in the
following directory: C:\Programs\Deditec\DELIB\Include\delib.h
Summary of Contents for ETH-TTL-64
Page 1: ...Hardware Description Juli ETH TTL 64 2019 ...
Page 5: ...I Introduction Seite 5 Introduction ...
Page 7: ...II Hardware description Seite 7 Hardware description ...
Page 13: ...Hardware description Seite 13 2 4 Overview screen ETH TTL 64 ...
Page 17: ...Hardware description Seite 17 problem is solved ...
Page 19: ...III Software Seite 19 Software ...
Page 29: ...Software Seite 29 Choose the option create VIs for DLL and press continue ...
Page 39: ...Software Seite 39 ...
Page 40: ...IV Hardware Seite 40 Hardware ...
Page 46: ...Hardware Seite 46 Geben Sie hier den Text ein ...
Page 47: ...V DELIB API reference Seite 47 DELIB API reference ...
Page 79: ...VI Appendix Seite 79 Appendix ...