Commit be83181e authored by Martin Karlsson's avatar Martin Karlsson

Added dummy timestamp to comedi stream

parent ec08a130
......@@ -34,7 +34,9 @@ function send(comedistream::ComediStream, cmd::SendTuple)
return
end
function read(comedistream::ComediStream, cmd::ReadTuple)
return ccall((:comedi_read, comedipath), Float64, (Int32,Int32,Int32), cmd[1], cmd[2], cmd[3])
val = ccall((:comedi_read, comedipath), Float64, (Int32,Int32,Int32), cmd[1], cmd[2], cmd[3])
dummy_timestamp = UInt64(0)
return val, dummy_timestamp
end
function send(comedistream::ComediStream)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment