Location of Vortex Stirrer(s) in Schematic |
---|
![]() |
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/jQMEU1Do160?si=86x4RakOEsa86G7K" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
%%HTML
<iframe width="800" height="600" src="https://www.youtube.com/embed/dEWZSLP9jBE?si=sIji_38-MLjGlG81" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
import serial
import time
vortexRelayCOM="COM10"
vortexRelay=serial.Serial(vortexRelayCOM,timeout=1,write_timeout=0)
time.sleep(5)
print(vortexRelay.name)
print(vortexRelay.get_settings())
print(vortexRelay.is_open)
if not vortexRelay.is_open:
vortexRelay.open()
time.sleep(5)
def stop_bead_vortex():
stop_both_vortices()
def start_bead_vortex():
vortexRelay.write("A1|B0\n".encode())
#Use this method to stop the Bead Channel Vortex
def stop_bead_vortex2():
stop_both_vortices()
def start_bead_vortex2():
vortexRelay.write("A0|B1\n".encode())
def start_both_vortices():
vortexRelay.write("A1|B1\n".encode())
def stop_both_vortices():
vortexRelay.write("A0|B0\n".encode())
COM10 {'baudrate': 9600, 'bytesize': 8, 'parity': 'N', 'stopbits': 1, 'xonxoff': False, 'dsrdtr': False, 'rtscts': False, 'timeout': 1, 'write_timeout': 0, 'inter_byte_timeout': None} True
start_bead_vortex()
time.sleep(10)
start_bead_vortex2()
time.sleep(10)
start_both_vortices()
time.sleep(10)
stop_both_vortices()
time.sleep(10)
vortexRelay.close()