SetLockInPllOn
function SetLockInPllOn (PllOn : integer) : integer;
switches the PLL on or off (0) and gives the state of the PLL back.
PllOn = 0
PLL is off, internal reference is used
PllOn = 1
PLL is ON and on TTL input level
PllOn = 2
PLL is ON and sine wave input is used (not valid for AMU2.4 PCI card)
When using the external trigger (PLL is ON), please make sure, that later calls of
SetLockInHarm(H) or SetLockInPhase do not reset the state of the PLL to zero.
Starting from software package Version 1.05, the functions “SetLockInPhase,”,
“SetLockInHarm”,“SetLockInFreq” and “SetLockInAmpl” do not overwrite the PLL setting anymore.
SetLockInTimeConst
function SetLockInTimeConst (TimeConst : integer) : integer;
sets the time constant for the low pass filter.
TimeConst =
0
10 µs
1
20 µs
2
50 µs
0.1 ms
4
0.2 ms
....
17
5 s
SetLockInRollOff
function SetLockInRollOff (RollOff : integer) : integer;
sets the RollOff for the low pass filter:
0
6 dB/oct
1
12 dB/oct
2
24 dB/oct
GetLockInChannel
function GetLockInChannel (Channel : integer) : double;
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
4
In
It gives the read value of this channel in V back.
Note: It is necessary to call
SetLockInHardGain
first.
GetLockInStatus
function GetLockInStatus : longint;
Manual Anfatec PCI-Lockin Amplifier AMU2.4 – Rev. 1.10 dated 30/09/20
Page 35 (70)