from WebSQController import WebSQController

# Please change this to be the IP address of the driver in your network
websq_domain = 'http://192.168.10.10/'

sq = WebSQController(websq_domain)

traces = sq.sweepIv(0, 50, 1, 100)

channels = list(traces.keys())
first_channel = channels[0]

print(f"Data for channel {first_channel}:")
print("Bias Current (uA):")
print(traces[first_channel]['biasI'])
print("Monitor Voltage (V):")
print(traces[first_channel]['monitorV'])
