Skip to content
Snippets Groups Projects
Commit aa6d0832 authored by Jacob Wikmark's avatar Jacob Wikmark
Browse files

connection test

parent f0ade6fe
No related branches found
No related tags found
No related merge requests found
#testing connections using LabConnections.Computer, DoubleTankLab
print("testing connections, this should give something other than NaN or 0.0, and the pump should turned on\n")
measures = [AnalogInput10V(0), AnalogInput10V(1),AnalogInput10V(4), AnalogOutput10V(0)] measures = [AnalogInput10V(0), AnalogInput10V(1),AnalogInput10V(4), AnalogOutput10V(0)]
st = ComediStream() st = ComediStream()
init_devices!(st, measures...) init_devices!(st, measures...)
print("$(read.(measures[1:3])\n)") print("$(read.(measures[1:3]))\n")
send(measures[4], 10.0) send(measures[4], 10.0)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment