New topic: 

Menubar and serial communication

<http://forums.realsoftware.com/viewtopic.php?t=28134>

  Page 1 of 1
 [ 7 posts ]  Previous topic | Next topic AuthorMessagesuibaf Post subject: 
Menubar and serial communicationPosted: Tue May 19, 2009 3:23 pm 
Joined: Tue Dec 16, 2008 9:08 am
Posts: 47
Location: Lecce (Italy) in new version has been solved this problem?

http://forums.realsoftware.com/viewtopic.php?f=1&t=26171

Thanks
Top   timhare Post subject: Re: Menubar and serial communicationPosted: Tue May 
19, 2009 3:39 pm 
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 5374
Location: Portland, OR USA No.
Top  suibaf Post subject: Re: Menubar and serial communicationPosted: Tue May 
19, 2009 3:49 pm 
Joined: Tue Dec 16, 2008 9:08 am
Posts: 47
Location: Lecce (Italy)  Fantastico!

Is there a solution?

Fabio
Top   timhare Post subject: Re: Menubar and serial communicationPosted: Tue May 
19, 2009 4:03 pm 
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 5374
Location: Portland, OR USA If you have time-critical serial communications, put 
the serial I/O into a helper app. But, what problem are you needing to solve 
that requires uninterrupted serial I/O?

Tim
Top  suibaf Post subject: Re: Menubar and serial communicationPosted: Tue May 
19, 2009 4:17 pm 
Joined: Tue Dec 16, 2008 9:08 am
Posts: 47
Location: Lecce (Italy) I must to comunicate with a PLC with a modbus protocol. 
(PC is master and PLC is slave). I must to read data from plc every 10 second 
and store it in a database. If a does not read data from PLC a have a % of 
error.

What do you mean with "put the serial I/O into a helper app"?

Regards

Fabio
Top   mrebar Post subject: Re: Menubar and serial communicationPosted: Tue May 
19, 2009 4:41 pm 
Joined: Wed Feb 15, 2006 1:30 pm
Posts: 2702
Location: U.S.A (often), Creswell, often Dallas, Atlanta, Spokane, Pago Pago. 
Quote:put the serial I/O into a helper app
A helper app is a second separate application -- in this case dedicated to 
sampling data. So...you'd have a GUI app for interacting with the user and a 
helper app.

Michael
_________________
RB 2009r2, OS 10.5.6, Win XP SP 3
Top  timhare Post subject: Re: Menubar and serial communicationPosted: Tue May 
19, 2009 9:36 pm 
Joined: Fri Jan 06, 2006 3:21 pm
Posts: 5374
Location: Portland, OR USA Quote:I must to read data from plc every 10 second
I don't see how a menu suspending events from firing will cause a problem. The 
data will be in the buffer when the event finally does fire. Are you 
timestamping the data in the database, and if so, do you really expect the 
system clock to be accurate enough that it makes a difference? What problem are 
you trying to solve? Most of these issues turn out to be nothing once you look 
at it closely.

Tim
Top  Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 
months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1
 [ 7 posts ] 

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to