VescentPhaseLock

VescentPhaseLock#

class VescentPhaseLock(resourceName, name)#

Bases: PhaseLock

VescentPhaseLock base for Vescent phase-lock modules.

Manages a serial connection (Serialport) and provides methods to connect(), check(), lock(), and unlock().

Constructor Summary
VescentPhaseLock(resourceName, name)#

Construct a VescentPhaseLock.

Parameters:
  • resourceName (string) – Serial resource (e.g., “COM3”)

  • name (string, optional) – Device nickname

Property Summary
Serialport internal.Serialport#
Method Summary
check()#

Query lock status and current frequency; update Status and CurrentFrequency.

close()#

Close the serial session.

connect()#

Open serial connection using ResourceName.

lock()#

Lock to the requested Frequency.

unlock()#

Unlock the phase lock (servo off) if currently locked.