[Gambas-user] gb.web

2019-05-19 Thread Mike Crean via Gambas-user
Hi all, How do I copy HTML inputs to a gambas variable.
<%Dim HtmlInput As String%>
  Login      userid    
password        
<%!Arg      ''??? %>    
<%''How Do I put user and password into HtmlInput.%>
RegardsMike




___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas not starting

2017-11-12 Thread Mike Crean via Gambas-user
 Was just a thought.Unable to help. You should try trawling the web you usually 
get somegood pointers or the answer to you problem.
Mike
 

On Monday, 13 November 2017, 10:49, Mike Crean via Gambas-user 
<gambas-user@lists.sourceforge.net> wrote:
 

 Is your single board computer ARM or X86
RegardsMike
 

    On Monday, 13 November 2017, 3:42, Christof Thalhofer <chri...@deganius.de> 
wrote:
 

 Am 12.11.2017 um 18:12 schrieb T Lee Davidson:
> Shouldn't we be using the new Gambas mailing list at
> http://lists.gambas-basic.org/ ?

Yes :-)


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas not starting

2017-11-12 Thread Mike Crean via Gambas-user
Is your single board computer ARM or X86
RegardsMike
 

On Monday, 13 November 2017, 3:42, Christof Thalhofer  
wrote:
 

 Am 12.11.2017 um 18:12 schrieb T Lee Davidson:
> Shouldn't we be using the new Gambas mailing list at
> http://lists.gambas-basic.org/ ?

Yes :-)


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Serial I/O with byte data

2017-05-16 Thread Mike Crean
Hi, as I said before most likely Modbus RTU or similar protocol. If so you will 
need to do some BIT bashing and probably 
some CRC conversion. You will need to know the frame size among other things.

Public Sub HbLb()
  Dim Xz2 As Long
  Hb = Fix(DataS / 256)
  Xz2 = Fix(256 * Hb)
  Lb = DataS - Xz2
End
RegardsMike
 

On Monday, 15 May 2017, 23:29, ML  wrote:
 

 Alex,

Without knowing the protocol/device you're communicating with, I don't
think anyone will be able to give substantial help.
But, after years of interfacing very diverse hardware via RS-232 (fiscal
printers, cash-hanlding hardware, GPS, you name it!), I can tell you
that it's not always easy, and docs sometimes lack info or are plain wrong.
Unfortunately the bulk of my experience with hardware is in VB6...
Maybe you're looking at some kind of protocol wrapper bytes... Can't
really say without the detail.

On 15/05/17 08:52, alexchernoff wrote:
> Thanks, it works (both with .tostring and reading one by one...
> But I get values I don't know how to convert, e.g. where I expect a
> decimal 83 or hex 53 I get byte value of 253 ... Or instead of Decimal
> 15 I get 225 :(
> cheers!


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Serial I/O with byte data

2017-05-15 Thread Mike Crean
If you are talking about a byte the likes of that used in modbusrtu you will 
need to do some high low bit manipulation on it.
RegardsMike
 

On Monday, 15 May 2017, 13:19, Alexie  wrote:
 

 Following should work for you:

Public Sub XXX_Read()

  Dim iLen As Integer
  Dim aData As Byte[]

  iLen = Lof(Last)
  aData = New Byte[]
  aData.Resize(iLen)
  Try aData.Read(Last, 0, iLen)

End

You need to get the length (lof) first, then resize array ... only then you
can read it.

2017-05-14 21:56 GMT+02:00 Tobias Boege :

> On Sun, 14 May 2017, alexchernoff wrote:
> > Good day all,
> >
> > Anyone know how to read data received on serial port into an array of
> bytes
> > instead of string?
> >
>
> I think that's not possible.
>
> > String gets unreadable binary characters, so how can I
> > put them into byte[] or so?
> >
>
> This shouldn't be a problem. Gambas Strings are not null-terminated and can
> contain any sequence of bytes, which includes non-printable characters
> (which
> I think is what you meant by "unreadable" characters).
>
> If you insist on a Byte[], read it into a String and use
> Byte[].FromString(),
> but there is no way to go around the String, AFAICT (and that is because
> there is no need to, as Strings can handle binary data just fine).
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Serial I/O with byte data

2017-05-08 Thread Mike Crean
Hi Alex, have a look at this code for some ideas how I have serial comms 
working.
' Gambas class file

Private Sport As SerialPort
Public Pp As Byte
Public Po As Byte
Public Rxs As String

Public Sub Form_Open()
  Me.Load
  Me.Center
End

Public Sub Button2_Click()
  Sport = New SerialPort As "Sport"
  Po = 1
  
  If TextBox3.Text = "N" Or TextBox3.Text = "n" Then
    pp = 0
  End If
  
  With Sport
    .PortName = TextBox1.Text
    .Speed = TextBox2.Text
    .Parity = Pp
    .DataBits = TextBox4.Text
    .StopBits = TextBox5.Text
    .FlowControl = Val(TextBox6.text)
  Try
    .Open()
    Label9.Text = TextBox1.Text & ":" & TextBox2.Text & "," & TextBox3.Text & 
"," & TextBox4.Text & "," & TextBox5.Text & "  OPEN"
    Label10.Background = &  
    If Error Then
  Message(" Port " & TextBox1.Text & " not found -- TERMINATING PROGRAM")
  Quit
    Endif
  End With

End

Public Sub Sport_Read()
  Dim Rx As String
  Read #Sport, Rx, Lof(Sport)
  Rxs = Rxs & Rx
  If Rx = Chr$(13) Then
    TextArea1.Text = TextArea1.Text & Rxs
    Rxs = ""
  End If
End

Public Sub Button1_Click()
  If Po = 0 Then
    Message("Open the PORT")
  Else
    Print #Sport, Textbox7.Text; Chr$(13)
  End If
End

Public Sub Button3_Click()
  Sport.Close
  Label10.Background = &
  Label9.Text = "CLOSED"
  Po = 0
End

Public Sub Button4_Click()
  TextArea1.Clear
End

Public Sub Button5_Click()
  EndIt()  
End

Public Sub Form_Close()
  EndIt()
End

Public Sub EndIt()
  Try
    Sport.Close
    Quit
  If Error Then
    Quit  
  Endif
End


RegardsMike
 

On Tuesday, 9 May 2017, 0:12, alexchernoff  wrote:
 

 Dear all,

I am receiving data over a serial port which is sent by a byte[].write
function (an array of bytes)

I get the SerialPort1_read() event raised where I try to read data, RxBuffer
is a string var

*Try Read #SerialPort1, RxBuffer, Lof(SerialPort1)*

as soon as I do, the whole program stops, some other timers in other modules
also stop to fire. In fact when running the program in Gambas again, it does
not execute even the startup, so have to restart the IDE. 

what am I doing wrong?

thanks!




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Serial-I-O-with-byte-data-tp58933.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   --
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] shell

2017-04-26 Thread Mike Crean
Thanks Fabien I have solved the problem.
Regards Mike
 

On Tuesday, 25 April 2017, 22:58, Fabien Bodard  wrote:
 

 ???

2017-04-25 10:52 GMT+02:00 Charlie :
> Can you post the 'Shell' code you are using.
>
>
>
> -
> Check out www.gambas.one
> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/shell-tp58793p58795.html
> Sent from the gambas-user mailing list archive at Nabble.com.
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] shell

2017-04-24 Thread Mike Crean
If I run make from the terminal in a named directory make works as expected.
Using Gambas 3.9.2 and run the command, shell "make" while in the named 
directory I get an error make: *** No targets specified and no makefile found. 
Stop The same error when I try to shell to a file containing #!/bin/sh and 
make.The file runs correctly when run from the named directory. The named 
directory permissions are set for anyone.This is on a Rpi3 running 
RaspbianAnyone have a fix for this please.
Regards Mike
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Christmas

2016-12-24 Thread Mike Crean
Merry Christmas to all of our Gambaser's.
A cool one in Perth WA this year low 39;s for the big day/
Seasons greetings fromMike Crean
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] The interview on FLOSS

2015-09-20 Thread Mike Crean
Just a few choice ones. 


 On Sunday, 20 September 2015, 13:48, Ian Haywood  
wrote:
   

 On Sat, Sep 19, 2015 at 11:21 PM, Ru Vuott  wrote:
>>  "autodidact" *is* an English word,
>
> ..that doesn't come from english
sure, can you think of a word that does?

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Wireless modem

2015-06-06 Thread Mike Crean
Hi, for those thatwent to www.creaniestoys.noip.me asking why I used the the 
KY-210 433mHz wireless modems running at 19200 bps cause they are cheep 
(around$15 US) and the 433 mHz band they are on here is free to air. Theyhave a 
good range for our application. Reliable out to 100 to 130meters. It is a very 
wireless dead area where we use them. They arealso small and can be easily 
mounted on top of our signal head.
 


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas, Rpi and Signals

2015-06-03 Thread Mike Crean
Hey Benoit, thanks for looking at my web site and yourinterest in my projects. 
The relation between Gambas and my trains is signalscontrol at Niana North this 
is all on Linux (Ubuntu) and the SCADA (automation)software is code cut using 
Gambas 3. The new Niana South control is using anold PC to interface with Niana 
North. It will be replace by a Raspberry pi 2 B+with control software created 
using Gambas 3. I have found the power controland filtering chip (IC) used in 
the Rpi’s to be very shaky at best. It seems unableto handle large voltage 
transients commonly seen on our electricity supply and seems prone to fail. 
Iwill be installing a UPS and power filter to hopefully over come this problem. 
Havea look at the signals section in the Trains menu on my web site 
www.creaniestoys.noip.me.
 
Many, many best wishes and keep up the great work withGambas.Regards Mike 
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] My Web Site

2015-06-02 Thread Mike Crean
Hi all, 
For those that are interested my web site is up again 
www.creaniestoys.noip.me please be gentile with it cause it is onlyserved up on 
a raspberry pi model B+ www.raspberrypi.org a computerabout the size of an 
iphone 4 The images will be a bit slow downloading 1sttime around, be patient.
RegardsMike
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Hey Bruce, have a look at this link for a anaolg gauge html server. \
RegardsMike
Gauges

|   |
|   |  |   |   |   |   |   |
| GaugesController Channel: Switch Cancel Status:  |
|  |
| View on demo.crossbar.io | Preview by Yahoo |
|  |
|   |


RegardsMike 

 On Saturday, 14 February 2015, 12:07, Dimitris Anogiatis 
dos...@gmail.com wrote:
   

 Hey Bruce,
In addition to all the good suggestions everyone is throwing in the
problem, you could use a CouchDB database on a different server and just
connect to it with a normal http connection if you're worried about file
hits on the sd card. Gambas supports JSON and the httpclient component
should work just fine for what you want it to do.

Hope this helps,
Dimitris


On Fri, Feb 13, 2015 at 7:04 PM, Benoît Minisini 
gam...@users.sourceforge.net wrote:

 Le 13/02/2015 21:35, Bruce Cunningham a écrit :
  Caveat,
 
  Thanks for the info.
 
  I'm a little concerned about using a disk based database because
  the disk is flash, which has a limited number of write cycles.  Even
  with wear-leveling, I would eventually kill parts of the flash.  I
  don't want these things dropping dead in the field after a year or
  so...
 
  I was considering something like named pipes, but I'm a little
  unclear about how Linux actually handles them.  I thought I saw a
  mention that they are managed via temporary files within the file
  system, and that would defeat the whole idea of not writing to disk.
 
  I know how to do interprocess communication in Windows, but not in
  Linux with Gambas.
 
  Bruce
 
  Bruce Cunningham bcunning...@sportif.com
 

 You can use a named pipe : you create the node on the disk once (if you
 don't want to ruin the flash). All the data exchange will be done in
 memory by the system.

 Regards,

 --
 Benoît Minisini


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A couple of questions about building web / cgi applications

2015-02-14 Thread Mike Crean
Bruce this is the link
Mike
Gaugeshttps://demo.crossbar.io/demo/gauges/index.html
|   |
|   |  |   |   |   |   |   |
| GaugesController Channel: Switch Cancel Status:  |
|  |
| View on demo.crossbar.io | Preview by Yahoo |
|  |
|   |

   

 On Saturday, 14 February 2015, 21:51, Mike Crean mike.cr...@y7mail.com 
wrote:
   

 Hey Bruce, have a look at this link for a anaolg gauge html server. \
RegardsMike
Gauges

|   |
|   |  |   |   |   |   |   |
| GaugesController Channel: Switch Cancel Status:  |
|  |
| View on demo.crossbar.io | Preview by Yahoo |
|  |
|   |


RegardsMike 

    On Saturday, 14 February 2015, 12:07, Dimitris Anogiatis dos...@gmail.com 
wrote:
  

 Hey Bruce,
In addition to all the good suggestions everyone is throwing in the
problem, you could use a CouchDB database on a different server and just
connect to it with a normal http connection if you're worried about file
hits on the sd card. Gambas supports JSON and the httpclient component
should work just fine for what you want it to do.

Hope this helps,
Dimitris


On Fri, Feb 13, 2015 at 7:04 PM, Benoît Minisini 
gam...@users.sourceforge.net wrote:

 Le 13/02/2015 21:35, Bruce Cunningham a écrit :
  Caveat,
 
  Thanks for the info.
 
  I'm a little concerned about using a disk based database because
  the disk is flash, which has a limited number of write cycles.  Even
  with wear-leveling, I would eventually kill parts of the flash.  I
  don't want these things dropping dead in the field after a year or
  so...
 
  I was considering something like named pipes, but I'm a little
  unclear about how Linux actually handles them.  I thought I saw a
  mention that they are managed via temporary files within the file
  system, and that would defeat the whole idea of not writing to disk.
 
  I know how to do interprocess communication in Windows, but not in
  Linux with Gambas.
 
  Bruce
 
  Bruce Cunningham bcunning...@sportif.com
 

 You can use a named pipe : you create the node on the disk once (if you
 don't want to ruin the flash). All the data exchange will be done in
 memory by the system.

 Regards,

 --
 Benoît Minisini


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Rpi2

2015-02-13 Thread Mike Crean
I have these errors when I install gambas3
Any one help please.
make  install-data-hookmake[5]: Entering directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Installing the gb.gtk control icons if 
needed...Creating the information files for gb.gtk component...
make[5]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[4]: Leaving 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Making install in openglmake[3]: Entering 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'  CC     
gb_gtk_opengl_la-main.loIn file included from main.c:26:0:main.h:31:23: fatal 
error: gtk/gtkgl.h: No such file or directorycompilation 
terminated.Makefile:422: recipe for target 'gb_gtk_opengl_la-main.lo' 
failedmake[3]: *** [gb_gtk_opengl_la-main.lo] Error 1make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'Makefile:1317: recipe for target 
'install-recursive' failedmake[2]: *** [install-recursive] Error 1make[2]: 
Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Makefile:373: recipe for 
target 'install-recursive' failedmake[1]: *** [install-recursive] Error 
1make[1]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk'Makefile:367: recipe 
for target 'install-recursive' failedmake: *** [install-recursive] Error 1
RegardsMike
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Rpi2

2015-02-13 Thread Mike Crean
I have these errors when I install gambas3
Any one help please.
make  install-data-hookmake[5]: Entering directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Installing the gb.gtk control icons if 
needed...Creating the information files for gb.gtk component...
make[5]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[4]: Leaving 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src'Making install in openglmake[3]: Entering 
directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'  CC     
gb_gtk_opengl_la-main.loIn file included from main.c:26:0:main.h:31:23: fatal 
error: gtk/gtkgl.h: No such file or directorycompilation 
terminated.Makefile:422: recipe for target 'gb_gtk_opengl_la-main.lo' 
failedmake[3]: *** [gb_gtk_opengl_la-main.lo] Error 1make[3]: Leaving directory 
'/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'Makefile:1317: recipe for target 
'install-recursive' failedmake[2]: *** [install-recursive] Error 1make[2]: 
Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Makefile:373: recipe for 
target 'install-recursive' failedmake[1]: *** [install-recursive] Error 
1make[1]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk'Makefile:367: recipe 
for target 'install-recursive' failedmake: *** [install-recursive] Error 1
RegardsMike
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Rpi 2

2015-02-12 Thread Mike Crean
Hi All, I am trying to install gambas3-3.4.2 on a ReaspberryPi 2. all compiles 
OK without error.When I run sudo make install I get some errors at the end.When 
I try to run Gambas3 I get this
pi@raspberrypi ~ $ gambas3Project.RefreshBreakpointPicture.5051: Unable to find 
method _get in class Stock. Parameters do not match1: 
Project.RefreshBreakpointPicture.50512: Project.Main.247
Any clues please and is there a guide for compiling and installing the latest 
gambas build anywhere.
Regards to all Mike
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Rpi 2

2015-02-12 Thread Mike Crean
Hey Bruce if you can give me some ideas about installing Gambas3 on Raspbian on 
Rpi 2 it would be great.
Best RegardsMike 

 On Friday, 13 February 2015, 13:09, adamn...@gmail.com 
adamn...@gmail.com wrote:
   

 On Thu, 12 Feb 2015 13:53:08 +0100
Tobias Boege tabo...@gmail.com wrote:

 (Although I fear that Bruce will jump in with your solution any moment:)
nah, i have been up and out for 16 hours followed by a v. large lunch.  


...
aha! i see the bed

post,now ...
b

-- 
B Bruen adamn...@gnail.com (sort of)

--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Rpi

2015-02-03 Thread Mike Crean
windows 10 I want things to go fast haha 

 On Wednesday, 4 February 2015, 14:43, Mike Crean mike.cr...@y7mail.com 
wrote:
   

 windows 10 hehehehehe 

 On Wednesday, 4 February 2015, 4:42, Lewis Balentine le...@keywild.com 
wrote:
   

  Are you sure it's an advantage to install windows 10? 
on anything ???



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user





--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Rpi

2015-02-03 Thread Mike Crean
windows 10 hehehehehe 

 On Wednesday, 4 February 2015, 4:42, Lewis Balentine le...@keywild.com 
wrote:
   

  Are you sure it's an advantage to install windows 10? 
on anything ???



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Rpi

2015-02-03 Thread Mike Crean
So who has ordered there pi 2. I have.
Regards to all Mike
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Non-linux line ending files are seen as binary by the IDE

2015-02-02 Thread Mike Crean
He Jussi, would one not expect to see CR, LF in a binaryfile and would expect 
to see EOF.
Regards Mike 

 On Tuesday, 3 February 2015, 2:11, Jussi Lahtinen 
jussi.lahti...@gmail.com wrote:
   

 It would certainly be good thing if IDE would have converter for these
cases. Meanwhile it should be pretty easy to write script to convert the
line endings.
However, it's strange that I did not have this problem with source files...
maybe this is bug in how Gambas detect binary files.


Jussi

On Mon, Feb 2, 2015 at 9:49 AM, adamn...@gmail.com adamn...@gmail.com
wrote:

 If I have a data file in the project which has windows style line endings,
 i.e. CRLF then the IDE thinks it's a binary file.

 Don't really know if this is a bug or just an anomaly or what is the
 expected behaviour?

 e.g. attached.  In the IDE, Data|New  Existing, add  the attached file.
 Double clicking on it raises the error balloon Cannot open a binary file.

 cheers
 B

 --
 B Bruen adamn...@gnail.com (sort of)


 --
 Dive into the World of Parallel Programming. The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more. Take a
 look and join the conversation now. http://goparallel.sourceforge.net/
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


   
--
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SerialPort: RS232 DTR problem

2015-01-04 Thread Mike Crean
Have you tried a standard loop back cable. Also have a look at the most 
excepted RS323 standards.
This may help.
Over the past couple of decades the serial standard has evolved. Current 
accepted practice says that DSR and DTR should be used for Equipment Status 
and that hardware flow control be done using CTS and RTS.

Since the signaling is identical you can plug any device that uses DSR/DTR flow 
control into any device that uses CTS/RTS flow control as long as the cable is 
wired correctly.

All currently available Lantronix multi-port servers with RJ45 serial ports use 
this RS232 pinout:
1 RTS
2 DTR
3 TXD
4 SGD
5 SGD
6 RXD
7 DSR
8 CTSRegardsMike 

 On Sunday, 4 January 2015, 10:20, Benoît Minisini 
gam...@users.sourceforge.net wrote:
   

 Le 03/01/2015 15:40, Tobias Boege a écrit :
 On Fri, 02 Jan 2015, Beno?t Minisini wrote:
 Le 16/12/2014 15:52, Tobias Boege a ?crit :
 Hi,

 [ this is a forwarded bug report -- and this time I'm only translating. I
    don't understand any of these hardware things. If there are questions
    left, don't hesitate; ]

 a user complains that SerialPort.DTR is buggy on his system: after
 initialisation, this property is False and the voltage is -12V.

 Setting it to True works and the voltage raises to +12V. But setting it to
 False afterwards does nothing: the property continues to return True the
 voltage remains on +12V. The needed hardware is an RS232 or an RS232-USB
 adapter.

 He says it worked with Gambas2 and he first noticed that it didn't with
 Gambas 3.1.1 (from the Ubuntu repositories). I urged him to update and the
 error still happens with 3.6.2.

 Attached is the project we came up with to reproduce the issue. He also
 mentioned that behaviour changed slightly when he left out the graphical
 component he initially used his project with: with a graphical component,
 the hardware didn't react and the property remained True and without a
 graphical component, the hardware reacts correctly, only the property gives
 the wrong value -- if I got him right.

 Regards,
 Tobi


 Does the last revision (#6792) change anything?


 He says no.


A stupid bug in the DTR property implementation... It should be fixed in 
revision #6804. Please ask him to confirm.

Regards,

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

   
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas Software Farm in revision #6676

2014-11-25 Thread Mike Crean
I for one would be in favor of a published and private access to components 
available on the farm.
RegardsMike 

 On Wednesday, 26 November 2014, 13:25, Kevin Fishburne 
kevinfishbu...@eightvirtues.com wrote:
   

 On 11/26/2014 12:02 AM, T Lee Davidson wrote:
 On 11/25/2014 10:38 PM, Kevin Fishburne wrote:
 Since the farm (as it stands currently) is only for free software (as in
 GPL), users will be free to circumvent payment by downloading the
 application from another source, such as someone who paid and then began
 hosting the source code and/or binaries themselves. This is perfectly
 legal, as the GPL states users may modify or distribute the application
 as they see fit as long as they provide access to the source code. So
 payment will effectively be for convenience, application support or
 kindness rather than the only way they can access the application.

 I'm thinking that creating a payment system for GAMBAS would be an
 insane amount of work and probably isn't a good idea. A much easier way
 would be to support existing payment solutions such as PayPal. Here's
 some information on their digital goods payment solutions:
 Benoît stated that the Farm was not intended to be a marketplace.


While that is true, it may not always be the case. Things change 
according to the wants and needs of users and developers. At this time 
there may be little interest in that particular functionality among 
developers, but it seems an obvious extension to what is essentially a 
digital distribution service, so I think it's worth at least discussing.


 Hence, my suggestion that it could be used as a pseudo-marketplace by
 allowing publishers to make their listing private. The payment and/or
 transaction details, access credential delivery, and level of on-going
 support (free/paid) would be the responsibility the individual publisher.


That's an interesting suggestion, but I'm not sure if it can be made to 
fit in with the plan to have the farm compile and install the 
application on the end user's system. If that's the farm's primary 
objective then it would be too late for a password-protective archive as 
the program would already be installed.


 I was not suggesting creating a payment system for GAMBAS, nor
 complicating or burdening the Farm platform with transactional needs.


I am suggesting 3rd party payment processing integration. :) Didn't mean 
to imply that you were suggesting it.


 Any publishers successfully using the Farm commercially could graciously
 'buy Benoît a beer', or three.


True, I've even bought him a few beers myself, but I wouldn't build a 
business on that premise.


-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sa...@eightvirtues.com
phone: (770) 853-6271


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

   
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Mike Crean
Hey Bruce if it is any help I have
Wheezy image with GB3 and a number of other apps. Available for
download from my web site www.bbbpishop.com in the next few days. If you would 
like to know more just use the
contact page on the site. The image was set up and runs on ARM
Cortex-A8 1gh processor as used on the Beagle Bone Black board.

Cheers Mike
On Wednesday, 21 May 2014 6:29 PM, Ian Haywood ihaywo...@gmail.com wrote:
 


On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen
jussi.lahti...@gmail.com wrote:

 I've been trying to compile Gambas on a development board that uses the
 Allwinner A10 SOC.  I know there is a build for the Raspberry PI, so it
 should be doable.
I use a solidrun cubox (a tiny Israeli company making even tinier
computers), which is also based
on an ARM SoC. I can't help you on OpenGL (and there doesn't seem much
point on ARM) but I have got webkit and the rest
of gambas running fine.

From your logfile the punchline is

configure: WARNING: Unable to met pkg-config requirement: QtWebKit = 4.5.0
configure: WARNING: gb.qt4.webkit is disabled

which means you don't have the right development package installed,
it's called libwebkit-dev on
debian-based distros, dunno about the others.

If you are on a debian-based system, try upgrading to the latest
testing and then install gambas directly
('apt-get install gambas3), this *should* work as there will be
pre-compiled ARM binaries for gambas in the Debian repos.

Ian


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: morse code sound ?

2014-02-07 Thread Mike Crean
So how about di, di, dit, dar,dar,dar




On Friday, 7 February 2014 3:53 PM, Ru Vuott vu...@yahoo.it wrote:
  
morse code  sound a kind of bip bip ?





Ven 7/2/14, Dirk y...@gmx.net ha scritto:

Oggetto: [Gambas-user] morse code  sound ?
A: Gambas-user@lists.sourceforge.net
Data: Venerdì 7 febbraio 2014, 04:24

Hi,


can create with gambas morse code  sound ?


...
Dirk

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common
Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: morse code sound ?

2014-02-07 Thread Mike Crean


Correction to my last. For those that are interested
complements of Wikipedia
 
International Morse code is
composed of five elements:
1. short mark, dot or dit (·) — dot duration is one time unit long
2. longer mark, dash or dah (–) — three time units long
3. inter-element gap between the dots and dashes within a character — 
one dot duration or one unit long
4. short gap (between letters) — three time units long
5. medium gap (between words) — seven time units long[1]
Morse code can be transmitted in
a number of ways: originally as electrical pulses along a telegraphwire, but 
also as an audio tone, a radio signal with short and long tones, or
as a mechanical, audible or visual signal (e.g. a flashing light) using devices
like an Aldis
lampor a heliograph, a common flashlight, or even a car horn. Some
mine rescues have used pulling on a rope - a short pull for a dot and a long
pull for a dash.
Morse code is transmitted using
just two states (on and off). Historians have called it the first digitalcode. 
Strictly speaking it is not binary, as there are five fundamental
elements (see quinary).
However, this does not mean Morse code cannot be represented as a binary code.
In an abstract sense, this is the function that telegraph operators perform
when transmitting messages. Working from the above definitions and further
defining a unit as a bit, we can visualize any Morse code sequence as a 
combination of
the following five elements:
1. short mark, dot or dit (·) — 1
2. longer mark, dash or dah (–) — 111
3. intra-character gap (between the dots and dashes within a character) 
— 0
4. short gap (between letters) — 000
5. medium gap (between words) — 000
Note that this method assumes
that dits and dahs are always separated by dot duration gaps, and that gaps are
always separated by dits and dahs.



On Friday, 7 February 2014 4:25 PM, Mike Crean mike.cr...@y7mail.com wrote:
  
So how about di, di, dit, dar,dar,dar




On Friday, 7 February 2014 3:53 PM, Ru Vuott vu...@yahoo.it wrote:
  
morse code  sound a kind of bip bip ?





Ven 7/2/14, Dirk y...@gmx.net ha scritto:

Oggetto: [Gambas-user] morse code  sound ?
A: Gambas-user@lists.sourceforge.net
Data: Venerdì 7 febbraio 2014, 04:24

Hi,


can create with gambas morse code  sound ?


...
Dirk

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common
Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Externs ... yet again

2014-01-27 Thread Mike Crean

 
Hey Bruce are you on the apple isle, if
so its never really hot. Try a real state if you want hot (WA) :-).

Cheers 
Mike



On Monday, 27 January 2014 2:09 PM, Bruce bbr...@paddys-hill.net wrote:
 
On Mon, 2014-01-27 at 15:48 +1030, Bruce wrote:
 'aspell_config_replace(spell_config, lang, en_US);
 Extern aspell_config_replace(spell_checker As Pointer, Var As String =
 lang, lang As String = en_AU) In libaspell
 
 Not allowed?
 
 Syntax error. Missing ',' or ')' in ...
 
 Sorry  for terseness , bloody hot here today
 
 Bruce

Forget it.  Duh! Optional keyword would have been a good idea.

:-( melting

B





--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Serial port control

2013-12-23 Thread Mike Crean
Carl, will you be using the PC end and gambas code as the master or slave, if 
master then just use the sport read interupt function.
Remember you will have to use chr and asc if using binary data streems. The 
Gambas3 serial example is very good. If any data is in the input buffer it will 
trigger the Sport_Read sub and exit leeving the system free to carry on. Just 
use the PC as master to request data from the slave of slaves.

Private Sport As SerialPort
Const None As Integer = 0
Private RxLen As Integer
Private Rx As String

Public Sub Form_Open()
  Sport = New SerialPort As Sport
  Sport.PortName = /dev/ttyACM0    'Setup for Arduino you may have to change 
to ttyUSB0
  Sport.Speed = 57600
  Sport.Parity = 0
  Sport.DataBits = 8 
  Sport.StopBits = 1
  Sport.FlowControl = 0
  Sport.Open()
End

Public Sub Sport_Read()
  
  Try Read #Sport, Rx, Lof(Sport)
  
    If Error Then 
  Goto NoRx
    Endif
    
    RxLen = InStr(Rx, Chr(13))
    LabelRxlen.Text = RxLen
    ListBox1.Add(Rx)
  
NoRx:

  Rx = 

End

Best Regards 
Mike

Very Merry Christmas to all





On Monday, 23 December 2013 5:03 PM, nando nand...@nothingsimple.com wrote:
 
My suggestion to reading 124 bytes from a serial stream

I use this technique mostly because I want to empty the buffer provided by the 
control
as much as possible.

I would have one function which is the _read of the serial port.
The only thing it does is accumulate bytes in an array.

I have another function which will ask for 124 bytes from the accumlating array.
If there are not enough, it can block, or return an array of zero long
which would mean not enough came in.
In this case you could also do a small time delay (ie. WAIT 0.1) 
just to prevent the CPU from running 100% testing for 124 bytes.


Both of these can be a Gambas Class and the second function is the public 
function.
You can use _new to instantiate the serial port control.
You don't need to create it at design time.

I used techniques like this and it works like a charm.
-Nando


-- Original Message ---
From: Randall Morgan rmorga...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sun, 22 Dec 2013 23:35:33 -0800
Subject: Re: [Gambas-user] Serial port control

 I think the RTheshold of VB simply sets the byte count that must accumulate
 in the receive buffer before a comm event is triggered. It doesn't do
 anything else. In the background VB is still polling the buffer and looking
 at the byte count. You can do this in GB but you will have to write it
 yourself. You would need to simply use the read event on the comm object to
 test the byte count. I believe it triggers at 1 byte. Then use that to
 trigger your own custom event when your 124 bytes have arrived.
 
 You might also be able to talk Benoit into adding an RThreshold property.
 Seems like it might be handy At the very least 4Hz is very very slow
 for most computers. And setting up a 4Hz polling of the port wouldn't be
 hard at all.
 
 On Sun, Dec 22, 2013 at 8:10 PM, Carl Nilsson nils...@iinet.net.au wrote:
 
  Thanks Randall.  I guess it's time to try it and play around a
  little, which I can't do for a few days.  At the moment I'm trying to
  look ahead and see where problems might lie.  When push comes to
  shove, I don't know how these things really work!  I follow
  recipes!  Don't really want to close the port as the data come in
  continuously as fast as the device can send them and I don't want to
  miss any.  (It's attitude sensor data from an inertial management
  unit in a light aircraft).  Same in principle with another
  continuous stream of binary GPS data with packets of 124 bytes
  coming in at a slower rate of, say, 4 Hz.  How continuous it is
  would depend on the baud rate at which the port is operating.  The
  RThreashold property of MScomm handles this issue very well. Doesn't
  trigger an event until the specified number of bytes is in the serial
  buffer.
  Carl
 
  At 02:47 PM 23/12/2013, you wrote:
  It has been a long while since I have used the serial component of GB but
  I
  have a project starting in which I will need to re-acquaint myself with
  it.
  The stream can be setup as blocking or non-blocking. The PC uses either
  polling or interrupt when the port is opened. So trying to manage the
  serial port at the same level you would in on uC is pointless in most
  cases. Just set up the stream and read the bytes you need from there. If
  you're concerned about buffer overflow then you may want to close the port
  once you have read the bytes you need.
  
  Perhaps someone with more recent experience can help you more.
  
  
  
  
  On Sun, Dec 22, 2013 at 7:15 PM, Carl Nilsson nils...@iinet.net.au
  wrote:
  
Randall: Thanks for responding.  OK, I have looked at the stream
functions:  My question was, basically, how do I specify how many
bytes I want to take in from a given serial port at each
instance?  For example, on one input I 

[Gambas-user] (no subject)

2013-12-07 Thread Mike Crean
Me to. Keep it the same as most BASIC's use the underscore _ as line
extension.
 
Regards to all Mike
 
PS if you do it, have a
merry Christmas
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] shell

2013-12-03 Thread Mike Crean
Hey Ivan, thanks very much for that. I forgot all about the piping command.
 
Regards Mike
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] shell

2013-12-02 Thread Mike Crean
 
Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
sudo sh -c 'echo out /sys/class/gpio/gpio27/direction']
and get an error /bin/sh: 0: Can't open sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction' any help please. 

 I
have also tried shell sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction' this runs with out error and
but will not change data in the direction file. It stays at the old
value of in. 

 If
I run it from a terminal the string works fine. 

 Thanks
in advance
Mike
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] (no subject)

2013-12-02 Thread Mike Crean
Hey boys, I am trying to emulate the terminal string sudo sh -c
'echo out /sys/class/gpio/gpio27/direction' (works OK in terminal, on
BBB wheezy arm lxde) I run this from gambas3.5.90 Exec [system.shell,
sudo sh -c 'echo out /sys/class/gpio/gpio27/direction']
and get an error /bin/sh: 0: Can't open sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction' any help please. 

 I
have also tried shell sudo sh -c 'echo out
/sys/class/gpio/gpio27/direction' this runs with out error and
but will not change data in the direction file. It stays at the old
value of in. 

 If
I run it from a terminal the string works fine. 

 Thanks
in advance
Mike
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gw.web

2013-02-23 Thread Mike Crean
Hi Tobi,
I have just translated the 1st 14 pages of the PDF.
If you can translate from your end and up date for
Gambas 3 that would be great.
Regards
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-23 Thread Mike Crean
Hi Randall,
 
If Tobi is on the side perhaps he can check with Hans' if it is OK to release 
my English version of
his work.
 
Regards
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-23 Thread Mike Crean
Randall, perhaps I should wait untill I have it all working then document it 
all and have it posted up
on the Gambas web site.
 
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] (no subject)

2013-02-22 Thread Mike Crean
Thanks Bruce,

Have tried the magic line although nothing like yours. I have now tried it and 
again no joy.
As there is no env in /bin I have tried #!/user/bin/env and #!/usr/bin/gbw3 and 
many other combinations.
I have saved the file as text named index.html from the text editor into 
/var/www. thanks for the help and any other suggestions.

Mike

#!/bin/env /usr/bin/gbw3 
Gambas3 Web Server.
 % print A01 ON % 

and many other combinations

#!/user/bin/env /usr/bin/gbw3 
Gambas3 Web Server.
 % print A01 ON % 
 
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-22 Thread Mike Crean
 
Hi Bruce,

 Thanks
for the suggestions, I have tried them to no avail. It would seem
there is a very full on learning curve to get this up and running.
Perhaps
there is a much simpler way using something other than Gambas.
 Again
thanks for you help Bruce. Perhaps Randall's comments about the
Apache CGI set-up has some merit. Again have read some suggestions as
to how to set-up CGI on Apache and tried many. My aim is to get this
all working on a standard deb OS install on Rpi with Gambas ?? and
Apache 2 standard out of the box installs. 


 Thanksboys I am open to any other suggestions.

Regards

Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-22 Thread Mike Crean
 
Hi Tobi,
 Thanks
for the offer I would like some help. You can get me at
mike.cr...@y7mail.com
 any
help is appreciated.
 
Regards
Mike
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-21 Thread Mike Crean
 
Hi Benoit,

I am trying to get a Gambas 3 web
server up and running using gb.web I just do not get it at all. I
have looked at a lot of examples and threads but I just can not get a
web server page up and running. I am using Apache2 and Gambas 3.4
with gb.web enabled. The aim is to use Gambas 3 within a HTML page to
get data from a communications port (ttyACM0) and display the data as
text or other on the HTML page. Also would like to send data from a
HTML page with the push of a button or text box to a serial device
(ttyACM0). The device would be an Arduino.

Hope you can help with an example and
any changes I would have to make to files and directors  for Gambas 3
and Apache2. The OS is Ubuntu 12.04. If this is to much to ask
perhaps you can suggest someone that can help me.

Best Regards
Mike Crean
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.web

2013-02-21 Thread Mike Crean
 
Hi Jussi,

Thanks for the reply.
I have tried the example you have pointed to and can not get it to
work.
All I need to do is take data from a serial stream e.g.
Stuff = A01 ON and use the print statement to display
the
string A01 ON on a HTML web page. I have Apache running ok and
can display an index.html page from /var/www
when I connect to
http://localhost/
I have tried entering this code in the
index.html file, I don't get the desired result as it just displays
the text and not the 
print statement as such, it displays all
the file % and % etc.

html
body

h1Gambas3
Web Server./h1
%
print Stuff
or print A01
ON
%

/body
/html

Mike



 From: Jussi Lahtinen jussi.lahti...@gmail.com
To: mailing list for gambas users gambas-user@lists.sourceforge.net 
Sent: Thursday, 21 February 2013 11:25 PM
Subject: Re: [Gambas-user] gb.web
 
Please be more specific.
Send your project and tell us what it is supposed to do and what happens
instead.
Or specifically what doesn't work.

Here is example of server page. It doesn't work?
http://gambasdoc.org/help/doc/serverpage?view

Jussi



On Thu, Feb 21, 2013 at 2:35 PM, Mike Crean mike.cr...@y7mail.com wrote:


 Hi Benoit,

 I am trying to get a Gambas 3 web
 server up and running using gb.web I just do not get it at all. I
 have looked at a lot of examples and threads but I just can not get a
 web server page up and running. I am using Apache2 and Gambas 3.4
 with gb.web enabled. The aim is to use Gambas 3 within a HTML page to
 get data from a communications port (ttyACM0) and display the data as
 text or other on the HTML page. Also would like to send data from a
 HTML page with the push of a button or text box to a serial device
 (ttyACM0). The device would be an Arduino.

 Hope you can help with an example and
 any changes I would have to make to files and directors  for Gambas 3
 and Apache2. The OS is Ubuntu 12.04. If this is to much to ask
 perhaps you can suggest someone that can help me.

 Best Regards
 Mike Crean

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_feb
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.web

2013-02-05 Thread Mike Crean
 
Hi all,

Anyone have some simple example code
for web page creation or control with Gambas 3 gb.web

I would like to get serial data from an
Arduino and display it on a HTML web page.

Regards
Mike
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] To All

2012-12-24 Thread Mike Crean
A Merry Christmas to all.
Best Regards
Mike Crean
Perth W.A.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Puppy on Pi

2012-12-23 Thread Mike Crean
charlesg thanks for the tip.

If you want the pi to go fast try Puppy SAP (Squeezed Arm Puppy) from the site 
http://puppylinux.org/wikka/Puppi 

I have downloaded and installed on 4gb SD this little OS is very fast. Perhaps 
some one can compile a Gambas 3 version to install on it. 

The OS is at alpha 4 stage. I think BarryK is looking for feed back on it.

Cheers
Mike
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] RaspberryPi

2012-12-20 Thread Mike Crean
Hi John,
 
I have had my Pi for a while
now and admit I have not used it much.
I downloaded the wheezy image with GB3
(3.2.1) from

http://dl.dropbox.com/u/97096067/2012-07-15-wheezy-gambas3.zip

I have just tried the download, it
works. 

When you have downloaded the image (about
30 min. @ 360kbs). You will have to unzip the file and copy the image
to an SD card. 

I would use 8GB or larger. Have had problems with 32GB
and larger. I also had problems using Ubuntu to put the image on the
SD. 

I used win32diskimager to install the image to the SD in a USB
card reader on my Windows box.

When the Pi is first booted the
configuration screen will come up. Expand Wheezy to use all the SD if
you like plenty of room to play. 

Follow the other parameters to
complete the set-up.

I find the GUI very slow and have
developed my GB3 apps on my PC and then transferred them to the PI.

You can update GB3 from the sourceforge
site. If you do this with the Pi be prepared to wait a few hours for
the download and install to complete.

Hope this is of some help.

Cheers Mike



 From: John Rose john.aaron.r...@gmail.com
To: MailingList GambasUsers gambas-user@lists.sourceforge.net 
Sent: Thursday, 20 December 2012 3:02 AM
Subject: Re: [Gambas-user] RaspberryPi
 
RaspberryPi is offering as of 16/12/2012 a recommended image of Raspbian 
(based on Debian Wheezy) at:
http://www.raspberrypi.org/downloads

http://elinux.org/RPi_Easy_SD_Card_Setup
shows how to create an image on an SD Card for booting from. I used the 
ImageWriter tool described there as I prefer a GUI to the CLI.

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34t=6182start=50#p189319
describes how to install Gambas 3.2.1 as it needs a patch described there.

I'll try above setup  install when I get my (actually a present for my 
grandson's 11th birthday) RaspberryPi.

-- 
Regards,
John
01902 331266


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Ubuntu 12.04 + SerialPort Example

2012-12-11 Thread Mike Crean
Hi abbat81,  
Usually this indicates you are trying
to open the wrong device . Perhaps this code snip will help.
If you are connecting to an Ardunio
with USB look in /dev/ to see if ttyACM0 is there. Remember the file
names are case sensitive.

Regards
Mike

Label2.Text =  
ttyACM0,57600,N,8,1 
Sport = New SerialPort As Sport
Sport.PortName = /dev/ttyACM0
Sport.Speed = 57600
Sport.Parity = 0
Sport.DataBits = 8 
Sport.StopBits = 1
Sport.FlowControl = 0
Try
Sport.Open()
Goto PortOpen

SkipAcm:
If Error Then
Label2.Text =  
ttyUSB0,57600,N,8,1 
Sport = New SerialPort As Sport
Sport.PortName = /dev/ttyUSB0
Sport.Speed = 57600
Sport.Parity = 0
Sport.DataBits = 8 
Sport.StopBits = 1
Sport.FlowControl = 0 
End If
Try 
Sport.Open()
Goto PortOpen
If Error Then
Label2.Text =  
ttyS0,57600,N,8,1
Try Sport.PortName = /dev/ttyS0
Sport.Speed = 57600
Sport.Parity = 0
Sport.DataBits = 8
Sport.StopBits = 1
Sport.FlowControl = 0
Sport.Open() 
If Error Then
Message( Onboard Uart Comm
1 not found -- PROGRAM TERMINATING)
Quit
Endif 
Endif 
PortOpen:



 From: abbat81 abbat...@mail.ru
To: gambas-user@lists.sourceforge.net 
Sent: Monday, 10 December 2012 7:09 PM
Subject: [Gambas-user] Problem with Ubuntu 12.04 + SerialPort Example
 
Hi,
I have a problems with Ubuntu 12.04 but the same example is working good in
Ubuntu 11.04.

I get next:
Cannot open serial port (5) in FSerialPort:39.

Can you help me?




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Problem-with-Ubuntu-12-04-SerialPort-Example-tp40318.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Need personal help

2012-09-28 Thread Mike Crean
Hi Fabien, this may help http://en.wikipedia.org/wiki/Registered_jack
 
regards
Mike
 


 From: Fabien Bodard gambas...@gmail.com
To: gambas-user@lists.sourceforge.net 
Sent: Friday, 28 September 2012 3:12 AM
Subject: [Gambas-user] Need personal help
  
Do know the trademark of this plug rj45 ? And the maker. Cf photo

Thank you

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas 3 on RPi photo?

2012-09-28 Thread Mike Crean
Benoit, I have attached some photos of GB3 on Pi hope you
get them. If not let me know how I can send the photos to you.
GB on Pi 1 Raspbian and Gambas on Raspberry Pi.
GB on Pi 2 Gambas 3.2.1 opening screen.
GB on Pi 3 Edit screen for the Serial Port demo.
GB on Pi 4 IDE WSWYG screen for the serial Port demo.
GB on Pi 5 My Gambas I/O AD port test application.
GB on Pi 6 Rpi connected to Arduino Uno  my I/O Shield
on top with 3 outputs on.
GB on Pi 7 Rpi  Uno under my I/O shield with 1 output
on.
My I/O shield has 6 by 5 to 30VDC digital inputs, 6 by 0 to
5VDC Analog inputs  6 open collector outputs 5 to 30VDC at 150 ma each.
I will have my web site up in a few days and let you all
know about it here.
Looks like the 7 phots I sent are to big for the mailing list.
Let me know if I can send them another way.
Regards
Mike
mike.cr...@y7mail.com
 


 From: Benoît Minisini gam...@users.sourceforge.net
To: mailing list for gambas users gambas-user@lists.sourceforge.net 
Sent: Wednesday, 26 September 2012 6:02 PM
Subject: Re: [Gambas-user] Gambas 3 on RPi photo?
  
Le 26/09/2012 12:01, wally a écrit :

 recent posting was too big, but i think it will reach you.


I got it anyway through the mailing-list administration interface. Thanks!

-- 
Benoît Minisini

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Need personal help

2012-09-28 Thread Mike Crean
Looks like an industrial RJ45 modular plug.
http://www.digikey.com/product-highlights/us/en/3m-3r108-series-industrial-rj45-modular-plug/2549
http://www.industrysearch.com.au/HARTING-RJ-Industrial-10G-Rj45-Plug-For-10gigabit-Ethernet/p/63350
http://www.automation.siemens.com/mcms/industrial-communication/en/ie/cabling-technology/fast-connect-rj45-plug/pages/fast-connect-rj45-plug.aspx
 
Regards
Mike
 


 From: Fabien Bodard gambas...@gmail.com
To: gambas-user@lists.sourceforge.net 
Sent: Friday, 28 September 2012 3:12 AM
Subject: [Gambas-user] Need personal help
  
Do know the trademark of this plug rj45 ? And the maker. Cf photo

Thank you

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Test

2012-08-09 Thread Mike Crean
Pardon me
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Pardon its a test

2012-08-09 Thread Mike Crean
Test msg
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Declaring external C libraries

2012-08-05 Thread Mike Crean
Hi will it be setup to install  run on Raspbian or only Squeeze ?


Mike



 From: Christer Johansson li...@hth.com
To: 'mailing list for gambas users' gambas-user@lists.sourceforge.net 
Sent: Sunday, 5 August 2012 6:07 PM
Subject: Re: [Gambas-user] Declaring external C libraries
 

 Does somebody have a compiled version of Gambas for the 
 Raspberry Pi? (I don't have time to compile my own...)

Jyst a FYI...

Since it's raining here today I decided to set things up so I can compile
Gambas3 3.2.1 on my Raspberry Pi.

So if everything works out OK and I figure out how to make a DEB-package
out of it I will post a link to it later...

/CJ



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Raspberry Pi

2012-08-02 Thread Mike Crean
Well my Rpi has turned up and it works very well with Raspbian (Debian wheezy) 
on it.
I am happy to say it performs much faster than I expected. 
I have down loaded  install Gambas3 with the Rpi.

sudo  apt-get update
sudo apt-get install gambas3
sudo gambas3

All seem to install OK and no errors. When I run GB3 the Rpi CPU usage went to 
100% and the Rpi hung.

Any one have GB3 running on Raspbian and any idea why GB3 hangs for me.

Regards to all 
Mike
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user