Of Francois PIETTE
Sent: 27 January 2011 20:48
To: ICS support mailing
Subject: Re: [twsocket] Using the FTP Client
While the FTP data is being processed, the USB is continually
monitored and FTP processing is interrupted to service the USB.
Reading that rings the bell in my head !
If you are using
While the FTP data is being processed, the USB is continually
monitored and FTP processing is interrupted to service the USB.
Reading that rings the bell in my head !
If you are using polling, then this is bad design.
Use two separate threads to handle USB and to handle FTP. Each thread
should
2011 09:42
To: ICS support mailing
Subject: Re: [twsocket] Using the FTP Client
While the FTP data is being processed, the USB is continually
monitored and FTP processing is interrupted to service the USB.
Reading that rings the bell in my head !
If you are using polling, then this is bad design
Maybe background loop is the wrong term. I have a timer
generating anevent every 50mS. This routine processes the data from
the USB and FTP.
50ms is virtually a continuous loop, it's very short. I'd make it 500ms
and see if application performance improves. Or use a thread and create
an
gra...@deephaven.co.uk
To: 'ICS support mailing' twsocket@elists.org
Sent: Friday, January 28, 2011 1:10 PM
Subject: Re: [twsocket] Using the FTP Client
Maybe background loop is the wrong term. I have a timer generating an
event every 50mS. This routine processes the data from the USB and FTP
Is it possible that the FTP transactions can, for whatever network reasons,
hog the CPU resources so that my application cannot get access to the USB
data?
Is it possible to completely turn off all FTP exchanges and try only with USB?
You may also check CPU usage during FTP sessions.
--
Anton
To: twsocket@elists.org
Subject: Re: [twsocket] Using the FTP Client
Is it possible that the FTP transactions can, for whatever network
reasons,
hog the CPU resources so that my application cannot get access to the USB
data?
Is it possible to completely turn off all FTP exchanges and try only
somehow the application can at times no longer get data from the USB
quick enough.
Disk I/O in Windows can be blocking, you normally only see it with bad
disk sectors when the event log shows lots of errors in red when it times
out waiting for a response from the drive. If this is the sort of
and
get some ICS logging files to compare.
Graham
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 27 January 2011 14:31
To: twsocket@elists.org
Subject: Re: [twsocket] Using the FTP Client
It is only when the FTP is getting data that it can go pear shaped.
While the FTP data is being processed, the USB is continually
monitored and FTP processing is interrupted to service the USB.
Are FTP and USB servicing running as separate applications? FTP is
presumably writing a simple
Maybe you'd try to extract USB interaction into separate thread and assign to
it a higher priority?
--
Anton
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
hardware. I also have
my own iNEWS server.
Graham
-Original Message-
From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On
Behalf Of Angus Robertson - Magenta Systems Ltd
Sent: 27 January 2011 16:16
To: twsocket@elists.org
Subject: Re: [twsocket] Using the FTP Client
It is all one application.
While having one application is very convenient, is there not some way to
decouple the two different tasks into separate applications, perhaps with
a socket being used for communication, or maybe just shared memory? This
would remove any possible thread synchronise
While the FTP data is being processed, the USB is continually monitored
and FTP processing is interrupted to service the USB.
Reading that rings the bell in my head !
If you are using polling, then this is bad design.
Use two separate threads to handle USB and to handle FTP. Each thread should
I want to conect and upload a file and quit, and found the
Transfer-prcedure. All seems fine, I get logged in and the password is
correct, but I get the following error-message when sending the file:
500 'STOR' not understood
Is this a known problem?
Have you specified a filename for
15 matches
Mail list logo