0
6 dB/oct
1
12 dB/oct
2
24 dB/oct
GetLockInChannel
reads the results in the channel number x, where x is:
0
real part = X
1
imaginary part = Y
2
amplitude = R
3
phase = phi
It gives the the read value of this channel in V back.
SetLockInHardGain
Switches the input gain of the lockin between
1
high reserve
10
normal
100
low noise
SetLockInCoupling
Switches the input coupling of the lockin between ac mode and dc mode
1
ac coupling
0
dc coupling
GetLockInStatus
Return bit = 1 if the input of the lockin is overloaded
When the DLL is initialized, it sets the following default values:
Phase
0 degree
Harmonic:
1
PLL.:
off
Time constant:
1 ms
RollOff:
12 dB
Input Gain:
1 (high reserve)
E
XAMPLE
PROGRAMS
There are two program examples provided, one in Borland Delphi 6.0 (demo.exe) and one in
Borland C++ Builder 5.0. They use both the function name conventions compatible with C++.
In newer hardware versions, the scaling parameter are stored on the card. When the DLL is used for
the first time, these parameters are transferred to the Windows Registry.
If the card does not contain the parameters (older versions), the DLL
searches for the file 'lockin.ini' and transfers the parameters to the
Windows Registry. Later, the DLL just uses the entries in the Registry.
If the lockin.ini is not available in this directory, an error message
appears when the program starts:
Manual Anfatec PCI-Lockin Amplifier AMU5.0 – Rev. 1.01
Page 27 (34)