I have a VS840 multimeter, and i found some code for PC readouts, through rs232 port
the source: http://pastebin.com/483265
or you can find it at: http://www.lrr.in.tum.de/~acher/vc840/vc840.c
(it's the same code)
the program reads out the measurings right, but the problem is that you can only stop it with C-c
after that if you run the prog. again, it doesnt read anything until a reboot.
setserial said that the port was in use
is there a way to manually close an open serial port? or another way to stop the program that would close the port (there is a close_serial function, but it is not used)?
it is boring if I have to make 20 reading to reboot my pc 20 times.
thank you for any help given