[Gambas-user] Some links I have found on The Net:

2010-04-18 Thread Zelimir Ikovic
http://www.linux.com/archive/articles/40666 http://linuxfocus.org/English/March2004/article329.shtml http://www.linuxjournal.com/node/8481/print http://www.learnlinux.co.cc/gambas/ http://www.awce.com/gp3-gambas.html http://toko.baliwae.com/product_info.php?products_id=759 http://toko.baliwae.com/p

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Zelimir Ikovic
Thank you all, in last few emails is answer! --- On Sun, 4/18/10, Doriano Blengino wrote: > From: Doriano Blengino > Subject: Re: [Gambas-user] Did anybody try to run stepper motors through > paralel port > To: "mailing list for gambas users" > Received: Sunday, April 18, 2010, 2:07 PM > Z

Re: [Gambas-user] EOF problem

2010-04-18 Thread Ed & Clare Kelm
Dimitris: Oooh! That works! Weird. I'll have to write a little code to parse out my data from the single string variable, but that's a great work-around if I can't get EOF to work. Thanks! Ed K. Dimitris Anogiatis wrote: > Ed, > if reading a text file and extracting information from it i

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread nando
I use Gambas for nearly real-time work and it performs remarkably well, actually quite impressed. Far better than VB I have a data stream at 13.5 Kbps coming in from a remote modem requiring immediate work and turn around output. It might not seem like a fast stream, but the remote end requires a r

Re: [Gambas-user] EOF problem

2010-04-18 Thread Dimitris Anogiatis
Ed, if reading a text file and extracting information from it is what you're trying to do, why not just use tmp = File.Load(Fname) File.Load is documented over here http://www.gambasdoc.org/help/comp/gb/file/load after loading the contents of Fname in tmp you can do your magic, without using an

Re: [Gambas-user] EOF problem

2010-04-18 Thread Ed & Clare Kelm
Hi all: A couple of comments about the discussions below: 1. The test program was written with EOF at the start, because the actual program I am working on has this structure, for reading in multiple lines of text: WHILE NOT EOF(tfile) (bunch of code for reading the lines in and putting t

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Doriano Blengino
Zelimir Ikovic ha scritto: > I wanted to know how predictable and reliable GAMBAS is when a reaction to > real-world events is required. > > Let say that Java RealTimeSystem is intended only for suitable operating > systems, which means that only a > real-time operating system, such as QNX, is

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Werner
On 19/04/10 04:17, Zelimir Ikovic wrote: > I wanted to know how predictable and reliable GAMBAS is when a reaction to > real-world events is required. > > Let say that Java RealTimeSystem is intended only for suitable operating > systems, which means that only a > real-time operating system, s

Re: [Gambas-user] EOF problem

2010-04-18 Thread Doriano Blengino
Les Hardy ha scritto: > Doriano Blengino wrote: > >> Les Hardy ha scritto: >> >> >>> Hi Ed, >>> I figured it out. >>> First of all, depending how the text file was emptied/created, the >>> contents may not be truely empty. >>> Gedit for example leaves the 0A (end-of-line) character in t

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Zelimir Ikovic
I wanted to know how predictable and reliable GAMBAS is when a reaction to real-world events is required. Let say that Java RealTimeSystem is intended only for suitable operating systems, which means that only a real-time operating system, such as QNX, is appropriate for implementing the JVM

Re: [Gambas-user] EOF problem

2010-04-18 Thread Les Hardy
Doriano Blengino wrote: > Les Hardy ha scritto: > >> Hi Ed, >> I figured it out. >> First of all, depending how the text file was emptied/created, the >> contents may not be truely empty. >> Gedit for example leaves the 0A (end-of-line) character in the 'empty' >> file. This is recognised by e

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Les Hardy
Doriano Blengino wrote: > Les Hardy ha scritto: > >> Zelimir Ikovic wrote: >> >> >>> I have VB6 program that run CNC plasma machine. It work very well and >>> smooth under win200, but in WinXP machine motion is not good. >>> >>> It doesnot help if I set REALTIME prority for the process

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Zelimir Ikovic
To run a stepper we need 2 pins: one for direction: 0 is clckwise, 5V is CounterClockWise. Second pin is for stepping. I have to bring 5V and keep it for 200 nanosec or more with WAIT1 SUB then bring 0V, and then I need precise amount of time to wait. It has to be precise because speed of machin

Re: [Gambas-user] EOF problem

2010-04-18 Thread Ed & Clare Kelm
Dimitris & Les: First Dimitris: OK, I pasted in your code. I had to change "temp" to "tmp", because Temp seems to be a Keyword. With that out of the way, the problem persists. When it fails, I get "EOF" both in label1 and the debug window. When it works OK, I get a blank label1 and the te

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Doriano Blengino
Les Hardy ha scritto: > Zelimir Ikovic wrote: > >> I have VB6 program that run CNC plasma machine. It work very well and smooth >> under win200, but in WinXP machine motion is not good. >> >> It doesnot help if I set REALTIME prority for the process ... >> >> How about Linux and Gambas? Daes i

Re: [Gambas-user] EOF problem

2010-04-18 Thread Doriano Blengino
Les Hardy ha scritto: > Hi Ed, > I figured it out. > First of all, depending how the text file was emptied/created, the > contents may not be truely empty. > Gedit for example leaves the 0A (end-of-line) character in the 'empty' > file. This is recognised by eof() as a character, so, end-of-file

Re: [Gambas-user] form_resize issue

2010-04-18 Thread Robert JUHASZ
OK, I play a little tonight! But there is a risk that I ask questions tomorrow :D Thx a lot, Robi 2010/4/18 Fabien Bodard > just do that to try : > > make a form > and add 3 panel in it > > then in each panel add 3 other panels > > give an unique color for each panels and then try each properti

Re: [Gambas-user] form_resize issue

2010-04-18 Thread Robert JUHASZ
Hi Benoit, I put together the small project with 2 level of TabStrip controls and with tableview controls on some of them. First it seemed to work perfectly... but finally I could reproduce the effect on my computer. When the app starts up then (normally) the controls resize correctly. Just after

Re: [Gambas-user] form_resize issue

2010-04-18 Thread Fabien Bodard
just do that to try : make a form and add 3 panel in it then in each panel add 3 other panels give an unique color for each panels and then try each properties and run the form ... it's the better way to understand 2010/4/18 Robert JUHASZ : > For the moment I just have a big one. I try to buil

Re: [Gambas-user] EOF problem

2010-04-18 Thread Les Hardy
Hi Ed, I figured it out. First of all, depending how the text file was emptied/created, the contents may not be truely empty. Gedit for example leaves the 0A (end-of-line) character in the 'empty' file. This is recognised by eof() as a character, so, end-of-file is not found. I am not sure if th

Re: [Gambas-user] EOF problem

2010-04-18 Thread Les Hardy
Hi Ed, After many tries, I managed to recreate your problem. It happens with your code and the code supplied by Dimitris. I am using Ubuntu 9.04, Kernel 2.6.28-18, Gambas 2.20.2, QT I have not managed to figure out the cause yet. I will do more tests and get back to you. Regards Les Hardy Ed

Re: [Gambas-user] form_resize issue

2010-04-18 Thread Robert JUHASZ
For the moment I just have a big one. I try to build a small example which shows the problem. Robi 2010/4/18 Benoît Minisini > > Hello List, > > > > When the user resizes the main form of my application I try to follow the > > form size with the controls on the form. I use the Form_resize event

Re: [Gambas-user] form_resize issue

2010-04-18 Thread Benoît Minisini
> Hello List, > > When the user resizes the main form of my application I try to follow the > form size with the controls on the form. I use the Form_resize event and I > modify the controls' position accordingly. > > My hierarchy is something like that: > > Form > TabStrip1 > TabStrip11

Re: [Gambas-user] Did anybody try to run stepper motors through paralel port

2010-04-18 Thread Les Hardy
Zelimir Ikovic wrote: > I have VB6 program that run CNC plasma machine. It work very well and smooth > under win200, but in WinXP machine motion is not good. > > It doesnot help if I set REALTIME prority for the process ... > > How about Linux and Gambas? Daes it depent on version of Linux ... >