EasyManua.ls Logo

LabJack UE9 - UE9 Labview Native TCP Example

LabJack UE9
86 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Starting
Block #
Byte
Normal ADC
Nominal Value
0
0
Slope, Unipolar G=1
7.7503E-5
volts/bit
0
8
Offset, Unipolar G=1
-1.2000E-2
volts
0
16
Slope, Unipolar G=2
3.8736E-5
volts/bit
0
24
Offset, Unipolar G=2
-1.2000E-2
volts
0
32
Slope, Unipolar G=4
1.9353E-5
volts/bit
0
40
Offset, Unipolar G=4
-1.2000E-2
volts
0
48
Slope, Unipolar G=8
9.6764E-6
volts/bit
0
56
Offset, Unipolar G=8
-1.2000E-2
volts
1
0
Slope, Bipolar G=1
1.5629E-04
volts/bit
1
8
Offset, Bipolar G=1
-5.176
volts
Starting
Block #
Byte
Miscellaneous
Nominal Value
2
0
Slope, DAC0
8.4259E+02
volts/bit
2
8
Offset, DAC0
0.0000E+00
volts
2
16
Slope, DAC1
8.4259E+02
volts/bit
2
24
Offset, DAC1
0.0000E+00
volts
2
32
Slope, Temp (133/141)
1.2968E-02
degK/bit
2
48
Slope, Temp (133/141,
Low)
1.2968E-02
degK/bit
2
64
Cal Temp
2.9815E+02
degK
2
72
Vref
2.4300E+00
volts
2
80
Reserved
2
88
Vref/2 (129/137)
1.2150E+00
volts
2
96
Slope, Vs (132/140)
9.2720E-05
volts/bit
Starting
Block #
Byte
Hi-Res ADC (UE9-Pro)
Nominal Value
3
0
Slope, Unipolar G=1
7.7503E-05
volts/bit
3
8
Offset, Unipolar G=1
-1.2000E-02
volts
4
0
Slope, Bipolar G=1
1.5629E-04
volts/bit
4
8
Offset, Bipolar G=1
-5.1760E+00
volts
Table 5.6-1. Calibration Constant Memory Locations
Format of the Calibration Constants
Each value is stored in 64-bit fixed point format (signed 32.32 little endian, 2's complement). Following are some examples of
fixed point arrays and the associated floating point double values.
Fixed Point Byte Array
(LSB, ..., MSB)
Floating Point Double
{0,0,0,0,0,0,0,0}
0.0000000000
{0,0,0,0,1,0,0,0}
1.0000000000
{0,0,0,0,255,255,255,255}
-1.0000000000
{51,51,51,51,0,0,0,0}
0.2000000000
{205,204,204,204,255,255,255,255}
-0.2000000000
{73,20,5,0,0,0,0,0}
0.0000775030
{225,122,20,110,2,0,0,0}
2.4300000000
{102,102,102,38,42,1,0,0}
298.1500000000
Table 5.6-2. Fixed Point Conversion Examples
6 - Low-level Native Examples
The examples below are useful to those who do not use the UD library/driver.
There are native examples for C, LabVIEW, and PocketPC, because these are places where the UD driver might not be easy-to-
use/load. Most other languages can work with the driver, so low-level is not necessary.
The Modbus TCP example is useful to people who prefer to use Modbus registers instead of the UD functions. The registers
behave as second option for direct communication with the UE9, instead of the low-level functions. A good portion of the UE9
functionality is available through Modbus registers.
UE9 LabVIEW Native TCP Example
These VIs make use of the native TCP capability of LabVIEW. They do not require any special LabJack drivers, and thus should
work on any LabVIEW platform that supports TCP. We have tested them on Windows, and customers have tested them on Linux.
Please let us know of any feedback for other operating systems supported by LabVIEW (Mac, Pocket PC, Palm). Also includes
UDP VIs. Refer to the "readme.txt" file in the zip for more information. Simply extract the folder to the desired location. Delete any
previous VIs first. LabVIEW 6.0 or higher. Oct 20, 2009.
LabVIEW Native TCP Example
File attachment:
79