Hello James, hello Doug, hello Willi,
Thank you for your help. You are right concerning the polling rate.
I don’t use in real-time such a small value. We have had with our old software a value of 1500 msec.
My problem is , was - if I use WINDOWS 2000 all is done within msec – the access of the new file and the file() check.
With WINDOWS 2000 all is working excellent. Maybe I find out what with WINDOWS XP is different. I also noticed a slow dbf-access in other circumstances with XP as SERVER if a dbf-file is opened by more than one user. Luckily XP is not much used as SERVER among my customers.
>You should work with mysql
Willi I could hardly imagine that mySQL could be a better solution.
But I don’t know anything about mySQL. But I think it is much the same as SQL Server. I did some work with SQL especially for my booking system on the internet. But I had problems with speed. Maybe the provider had to many users on one SQL server.
I changed to ACCESS and I use ACCESS databases in the way of dbase files I mean I create one access database for every table like we have in dbase.
This way I have a very fast data access. But in terms of database I only have small data tables.
http://www.atzwanger-software.com/fw/Biene_onehand_symbol/Biene_onehand_symbol.htmPlease have a look at the video between 0:27 and 0:31.
It could be done even faster but I missed the button the first time. I was nervous because of the video registration..
Here is what the software does in this time:
- Create a look file
-Send the table dbf file with filecopy to the server – there my FW-software prints the order and
copies the file to the directory where the bills are stored and deletes the lock file.
- then I reopen the table for billing.
-again a lock file is created on the server
– with filecopy I copy the table dbf back to the IPAQ and open the local dbf file.
The advantage of this system is that I need only some msec. a stable WLAN connection.
Also error handling is easy – I check the return value of filecopy.
Best regards,
Otto
Video: PPC solution mobile ECR
http://forums.fivetechsupport.com/viewtopic.php?f=4&t=15590