Files
frappy/cfg/psi_nmr_setup_cfg.py

19 lines
955 B
Python

import frappy.core as fc
Node('uniaxial_nmr.psi.ch',
'The NMR system running the Scout and controlled with TNMR. Also contains a uniaxial cell (Razorbill RP100), and a network analyser (ZVL)',
interface='tcp://5000')
# TNMR
#Mod('tnmr_otf_module', 'frappy_psi.tnmr.OTFModule.ProgrammedSequence', 'NMR Sequence')
# Razorbill RP100
Mod('io1',
'frappy_psi.uniaxial_cell.RP100.RP100IO',
'communication',
uri='serial://COM10?baudrate=9600+bytesize=8+parity=none+stopbits=1')
Mod('RP100Node_CH1', 'frappy_psi.uniaxial_cell.RP100.VoltageChannel', 'Razorbill RP100 PSU (CH1)', channel=1, io='io1')
Mod('RP100Node_CH2', 'frappy_psi.uniaxial_cell.RP100.VoltageChannel', 'Razorbill RP100 PSU (CH2)', channel=2, io='io1')
# ZVL Network Analyser
#Mod('ZVLNode', 'frappy_psi.network_analysers.ZVL.ZVLNode.ZVLNode', 'ZVL Network Analyser', analyser_ip=Param('169.254.150.182')) # must be connected on the same ethernet network