Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
72 user(s) are online (56 user(s) are browsing Forums)

Members: 1
Guests: 71

Nuder_Try, more...

Support us!

Headlines

Report message:*
 

Re: how to work properly with device when you need query every 5 seconds

Subject: Re: how to work properly with device when you need query every 5 seconds
by ncafferkey on 2021/1/2 2:58:26

@kas1e

Whether you should leave a device open or not depends on the use case. Could other programs need to access it in between your accesses? Will your having the device open block other accesses? (I'm too lazy to read the serial.device AutoDoc right now )

Again, I'm not sure of the use case. My guess is you have custom monitoring hardware attached to one of the X5000's serial headers. Or is it standard? Ideally, there would be a hardware monitor API that would share out this information to multiple listeners. Then it wouldn't matter much if the "API" blocked other direct access to the serial device.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project