From aa6d0832184d055bf369cd41865f97f3ffe952e1 Mon Sep 17 00:00:00 2001 From: jwikmark <jacob@wikmark.se> Date: Thu, 15 Mar 2018 11:17:44 +0100 Subject: [PATCH] connection test --- test/testconnection.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/testconnection.jl b/test/testconnection.jl index 7724625..3680580 100644 --- a/test/testconnection.jl +++ b/test/testconnection.jl @@ -1,6 +1,8 @@ -#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)] st = ComediStream() init_devices!(st, measures...) -print("$(read.(measures[1:3])\n)") +print("$(read.(measures[1:3]))\n") send(measures[4], 10.0) -- GitLab