Re: [Gambas-user] Arithmetic failure in project..Solution

2009-10-02 Thread nando
Friend, I have gone through your project and I ran it with these changes: (1) in SUB action_click...insert above this line: result = (exposure * (guidenumber / distance) * (flashcompensation) * (multicompensation)) these four lines: IF gn_feet.Value = TRUE THEN guidenumber = (input_gn.Value / 3

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Mike
Jean-Yves F. Barbier wrote: > Mike a écrit : > >> Jean-Yves F. Barbier wrote: >> >>> Hi folks, >>> >>> Does anybody have experience (and code) of ModBus driven by Gambas? >>> >>> JY >>> >>> >> ASCII or RTU >> > > either > > I will have a look at some code for RTU, TCP, RS2

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Jean-Yves F. Barbier
Werner a écrit : ... > Depends on what you use it for, it's not free for commercial purposes. > > You have propably seen > http://copyleft.free.fr/wordpress/index.php/libmodbus/ Thanks Werner, this look interesting. But AFAIK, GPLv3 & LGPLv3 don't forbid commercial use as far as you provide a me

Re: [Gambas-user] TextEdit copy&Paste and removal of hyper tags

2009-10-02 Thread Benoît Minisini
> hi, > > I wanted to make a text editor that recognized hyper links. So I used > 'TextEdit'. To extract the plain text I tried to use SelectAll + Copy + > Paste like this: > > PUBLIC SUB Form_Open() > DIM txt AS String > > PRINT "“abc”" > TextEdit1.Text = "“abc”" > TextEdit1.SelectAll()

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Werner
Jean-Yves F. Barbier wrote: > Petit Eric a écrit : > >> find some of my first tool here : >> http://www.plcs.net/downloads/index.php?direction=0&order=&directory=Misc >> http://www.plcs.net/downloads/index.php?&direction=0&order=&directory=Modicon >> > > Ok thanks, but there not much. Anyw

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Jean-Yves F. Barbier
Petit Eric a écrit : > find some of my first tool here : > http://www.plcs.net/downloads/index.php?direction=0&order=&directory=Misc > http://www.plcs.net/downloads/index.php?&direction=0&order=&directory=Modicon Ok thanks, but there not much. Anyway, I think I found what I need with OpenScada.

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Jean-Yves F. Barbier
Mike a écrit : > Jean-Yves F. Barbier wrote: >> Hi folks, >> >> Does anybody have experience (and code) of ModBus driven by Gambas? >> >> JY >> > ASCII or RTU either -- Eat shit -- billions of flies can't be wrong. -

Re: [Gambas-user] Arithmetic failure in project

2009-10-02 Thread Doriano Blengino
Horst Günther Burkhardt III ha scritto: > On Mon, 2009-09-21 at 21:20 +0200, Charlie Reinl wrote: > >> Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt >> III: >> >>> Hey everybody. >>> >>> I'm building a basic flash exposure calculator with floats and extremely >>>

Re: [Gambas-user] ComboBox.Find (gb.qt) syntax

2009-10-02 Thread Benoît Minisini
> ComboBox.Find (gb.qt) > Syntax > > FUNCTION Find ( Item AS String ) AS Integer > > Finds an element in the poup list box and returns its index, or -1 if the > element cannot be found. > > > This appears to be case sensitive which is a pity. > > I wonder if it would be possible to have a flag

[Gambas-user] ComboBox.Find (gb.qt) syntax

2009-10-02 Thread richard terry
ComboBox.Find (gb.qt) Syntax FUNCTION Find ( Item AS String ) AS Integer Finds an element in the poup list box and returns its index, or -1 if the element cannot be found. This appears to be case sensitive which is a pity. I wonder if it would be possible to have a flag in this routine to s

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Petit Eric
find some of my first tool here : http://www.plcs.net/downloads/index.php?direction=0&order=&directory=Misc http://www.plcs.net/downloads/index.php?&direction=0&order=&directory=Modicon 2009/10/2 Petit Eric : > I did it in C# and VB.Net, Modbus protocol is pretty simple, you can > easy find protoc

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Petit Eric
I did it in C# and VB.Net, Modbus protocol is pretty simple, you can easy find protocol definition on the web, after what the transport, serial or Ethernet is "standard", so basically, if gambas support serial port writing, you just need to write it in the serial port component 2009/10/2 Mike : >

Re: [Gambas-user] gambase and modbus

2009-10-02 Thread Mike
Jean-Yves F. Barbier wrote: > Hi folks, > > Does anybody have experience (and code) of ModBus driven by Gambas? > > JY > ASCII or RTU Mike -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the on

Re: [Gambas-user] Arithmetic failure in project

2009-10-02 Thread Horst Günther Burkhardt III
On Mon, 2009-09-21 at 21:20 +0200, Charlie Reinl wrote: > Am Dienstag, den 22.09.2009, 03:42 +1000 schrieb Horst Günther Burkhardt > III: > > Hey everybody. > > > > I'm building a basic flash exposure calculator with floats and extremely > > precise arithmetic, to benefit those of us who happen t