double _declspec(dllimport) cdecl SetLockInPhase (double Phase);
long _declspec(dllimport) cdecl SetLockInHarm (long Harm);
long _declspec(dllimport) cdecl SetLockInPllOn (long PllOn);
long _declspec(dllimport) cdecl SetLockInTimeConst (long Time);
long _declspec(dllimport) cdecl SetLockInRollOff (long Time);
double _declspec(dllimport) cdecl GetLockInChannel (long Channel);
long _declspec(dllimport) cdecl SetLockInHardGain (long Gain);
long _declspec(dllimport) cdecl GetLockInStatus;
long _declspec(dllimport) cdecl SetLockInCoupling (long Coupling);
}
All these functions give the set value back when they are called, except 'SetLockInAmpl'.
'SetLockInFreq' gives the set value back, when the system uses the internal oscillator (PLL = Off) or
allows the user to read the external frequency, when then PLL is ON.
DLL-F
UNCTIONS
SetLockInFreq
this function sets the center frequency of the lockin to a value in Hz and returns the value of the
frequency in Hz. If the PLL is OFF, the return value equals the sent value. If the PLL is ON, this
function can be used to read the external frequency value.
SetLockInAmpl
sets the output amplitude of the reference output in V and gives no value back.
SetLockInPhase
sets the phase offset in degree and returns this phase offset in degree.
SetLockInHarm
sets the harmonic at which the signal is analysed. The harmonic can vary between 1 and 15. It
returns the harmonic value.
SetLockInPllOn
switches the PLL on (1) or off (0) and gives the state of the PLL back. The state 1 stands for “PLL
ON”, while the state 0 stand for “PLL OFF”. When using the external trigger, 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
sets the time constant for the low pass filter
0
0.25 ms
1
0.5 ms
2
1 ms
3
2 ms
4
5 ms
....
13
5 s
SetLockInRollOff
sets the RollOff for the low pass filter:
Manual Anfatec PCI-Lockin Amplifier AMU5.0 – Rev. 1.01
Page 26 (34)