From 54dcc8ee5eb8ddbfd47a4ddfb8a421561cf71b11 Mon Sep 17 00:00:00 2001 From: "Jacob Wikmark (projekt Fredrik Bagge)" <gna10jwi@ktesibios-06.control.lth.se> Date: Tue, 13 Mar 2018 15:28:37 +0100 Subject: [PATCH] connection test --- test/testconnection.jl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/testconnection.jl diff --git a/test/testconnection.jl b/test/testconnection.jl new file mode 100644 index 0000000..7724625 --- /dev/null +++ b/test/testconnection.jl @@ -0,0 +1,6 @@ +#testing connections +measures = [AnalogInput10V(0), AnalogInput10V(1),AnalogInput10V(4), AnalogOutput10V(0)] +st = ComediStream() +init_devices!(st, measures...) +print("$(read.(measures[1:3])\n)") +send(measures[4], 10.0) -- GitLab