Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-07-01 Thread dr.diesel
Thanks again, I believe this is what is causing my problems with /dev/usbtmc0 read(2) and fread(2) Here's another aspect you need to be aware of. The kernel offers two sets of system calls for file I/O, and their behavior is slightly different, especially when it comes to reading data. The

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-07-01 Thread dr.diesel
Well, even with: Public hDevice As File Public sLine As String Public Sub Form_Open() hDevice = Open /dev/usbtmc0 For Read Output Watch End Public Sub File_Read() sLine = Read #hDevice, -256 Print sLine End It sill just times out when the form opens, without even sending any

Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-06-28 Thread dr.diesel
Thanks for the help. That is basically what I've done, expect all I get: System error #110: Connection Timed out I get the same when I cat and echo, but I get the proper response then get the error: [root@dev andy]# echo *IDN?/dev/usbtmc0 [root@dev andy]# cat /dev/usbtmc0 Rigol

[Gambas-user] Help binding to /dev/usbtmc0?

2013-06-25 Thread dr.diesel
Hello all, I'm trying to communicate to a Rigol spectrum analyzer, which is routed to /dev/usbtmc0 once connected via USB. You can easily echo and cat serial commands to usbtmc0 but I'd prefer to use a socket of some sort, any suggestions on how to do this via gambas? usbtmc0 has no port speed

[Gambas-user] Best method to trigger event at midnight?

2013-03-23 Thread dr.diesel
I'm looking to trigger an event at midnight, any suggestions on the best method to ensure the time is not missed? My application reads/writes a DB, launches websites and reads heavily on the COM port. I'm afraid that if I simply look for the date/time to be 00:00 I'll miss the time while some

Re: [Gambas-user] Best method to trigger event at midnight?

2013-03-23 Thread dr.diesel
Thanks Jorge, however I need to trigger this from within Gambas? Or am I not understanding correctly? -- View this message in context: http://gambas.8142.n7.nabble.com/Best-method-to-trigger-event-at-midnight-tp41408p41410.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] Best method to trigger event at midnight?

2013-03-23 Thread dr.diesel
Funny you mention, I just wrote this: Dim midnight As Date Dim seconds As Integer midnight = DateAdd(Date, gb.day, 1) TextBox1.Text = DateDiff(Now, midnight, gb.Second) Need to validate it then maybe I can assume any value say 5 seconds is midnight. -- View this message in context:

Re: [Gambas-user] Trouble compiling gb.net SVN 4597

2012-04-06 Thread Dr.Diesel
Email sent, thank you. Benoît Minisini wrote: I need the full output of the configure and make process. And note that gb.net does not use libcurl. Regards, -- Benoît Minisini -- Better than sec?

[Gambas-user] Trouble compiling gb.net SVN 4597

2012-04-05 Thread Dr.Diesel
This could be a Fedora 17 issue, as Fedora 16 compiles fine. I'm happy to email entire output of below if necessary. I know code tags don't work, but you get the idea! Thanks [code] autoreconf: configure.ac: adding subdirectory gb.net to autoreconf autoreconf: Entering directory `gb.net'

[Gambas-user] Vertical Progress Bar?

2011-10-24 Thread Dr.Diesel
Any possible trick to flipping a progress bar to the vertical position? Thanks Andy -- View this message in context: http://old.nabble.com/Vertical-Progress-Bar--tp32713955p32713955.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] 4025: Y U No Compile?

2011-08-21 Thread Dr.Diesel
Benoît Minisini wrote: I cannot reconcile this one. 4023 make'd with no problems. What is your GTK+ version ? -- Benoît Minisini 4027 doesn't compile with a similar error: /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread

[Gambas-user] Is this a libtool 2.4 Compile error?

2011-01-15 Thread Dr.Diesel
I've got two machines doing this, both compiled fine before I upgraded to Fedora 15 pre-alpha. I am sure it's not a gambas3 bug but maybe something that will need to be addressed when Fedora 15 goes final. /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DGBX_INFO

Re: [Gambas-user] About Gambas 2 deprecation

2010-10-28 Thread Dr.Diesel
Benoît Minisini wrote: Hi, I had badly expressed myself when I said that Gambas 2 will be deprecated before the end of the year. What I meant is: 1) I want to / will release the first release candidate of Gambas 3 before the end of the year. 2) Then I will stop working of

[Gambas-user] Trouble with make install

2010-10-06 Thread Dr.Diesel
I have three other Gambas3 boxes without this issue, so maybe not a Gambas issue. My latest install in on a Fedora 14 RC box, I receive the following error installing with su -c make install, this works fine on my other Fedora 14 boxes, save software levels, all 64bit etc. make[2]: Nothing to

Re: [Gambas-user] Trouble with make install

2010-10-06 Thread Dr.Diesel
Thank you, not sure how I missed that with a mirror of a working machine! Please also add package: qt-webkit-devel To the Fedora 13+ package list here: http://gambasdoc.org/help/install/fedora?view Many thanks, Andy -- View this message in context:

Re: [Gambas-user] Need advice about a Gambas bug tracker

2010-09-18 Thread Dr.Diesel
Benoît Minisini wrote: Hi, I have started to setup a Gambas bugtracker on code.google.com for 3.0. Does someone know bugtrackers well ? The Google one has the simplicity I'd like to have, but I'd like to not be forced to host the bugtracker there. Thanks for any advice. Regards,

Re: [Gambas-user] Need advice about a Gambas bug tracker

2010-09-18 Thread Dr.Diesel
Benoît Minisini wrote: Benoît Minisini wrote: Hi, I have started to setup a Gambas bugtracker on code.google.com for 3.0. Does someone know bugtrackers well ? The Google one has the simplicity I'd like to have, but I'd like to not be forced to host the bugtracker there.

[Gambas-user] gbr3: no project file in '/usr/local/bin/gambas3'.

2010-05-28 Thread Dr.Diesel
FYI, caused by Today's SVN pull, 2975, everything was fine 2 days ago. [a...@ace ~]$ gambas3 gbr3: no project file in '/usr/local/bin/gambas3'. [a...@ace ~]$ Happy to provide more info if needed. Thanks -- View this message in context:

Re: [Gambas-user] Mouse Clicks become unresponsive on form?

2010-04-27 Thread Dr.Diesel
Benoît Minisini wrote: Benoît Minisini wrote: Running SVN 2910. After a few mouse click, either switching a few Many Thanks! Your main form has the Type property set to Menu. It should be set to Normal. Can you try with the Type property set to Normal, and tell me if

Re: [Gambas-user] Mouse Clicks become unresponsive on form?

2010-04-27 Thread Dr.Diesel
Benoît Minisini wrote: Benoît Minisini wrote: Benoît Minisini wrote: Running SVN 2910. After a few mouse click, either switching a few Many Thanks! Your main form has the Type property set to Menu. It should be set to Normal. Can you try with the Type

Re: [Gambas-user] Mouse Clicks become unresponsive on form?

2010-04-26 Thread Dr.Diesel
Benoît Minisini wrote: Running SVN 2910. After a few mouse click, either switching a few Many Thanks! Your main form has the Type property set to Menu. It should be set to Normal. Can you try with the Type property set to Normal, and tell me if you have strange click

[Gambas-user] Mouse Clicks become unresponsive on form?

2010-04-25 Thread Dr.Diesel
Running SVN 2910. After a few mouse click, either switching a few TabStrips or a few button clicks the mouse clicks become ineffective. Sometimes I can click around and one click will take, but then it drops out again. I have these components: Component=gb.image Component=gb.gtk

Re: [Gambas-user] Mouse Clicks become unresponsive on form?

2010-04-25 Thread Dr.Diesel
Dr.Diesel wrote: Running SVN 2910. After a few mouse click, either switching a few TabStrips or a few button clicks the mouse clicks become ineffective. Sometimes I can click around and one click will take, but then it drops out again. I have these components: Component=gb.image

Re: [Gambas-user] Make Qt version error, SVN 2720.

2010-02-27 Thread Dr.Diesel
Dr.Diesel wrote: -DQT3_SUPPORT -DQT_SHARED -DQT3_SUPPORT -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtNetwork -I/usr/include/QtSql -I../../share -I../../src/share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden

[Gambas-user] Segmentation fault (core dumped)

2010-02-27 Thread Dr.Diesel
SVN 2722 (did a reconf and configure), not sure how to help, don't get much console output and can't get gambas3 to run in gdb? [geo...@george trunk]$ gambas3 Segmentation fault (core dumped) [geo...@george trunk]$ this from dmesg: gbr3[9579]: segfault at 4 ip 003b2c124cd1 sp

Re: [Gambas-user] Segmentation fault (core dumped)

2010-02-27 Thread Dr.Diesel
Fabien Bodard-4 wrote: no you are not in the good path ! cd /home/george/trunk/app/src/gambas3 gdb gbx3 set args -p run . segfault bt return the output Mm, that didn't catch the crash? Notice at the bottom I run gambas3, thanks for the help! [geo...@george

Re: [Gambas-user] Segmentation fault (core dumped)

2010-02-27 Thread Dr.Diesel
Don't think so, but i do have one default printer setup, it works fine though? I deleted my default printer and gambas now works fine! This is very weird? I am guessing I need to report this to my distro, what do you think? As always, many thanks! Bugzilla from

[Gambas-user] Make Qt version error, SVN 2720.

2010-02-25 Thread Dr.Diesel
-DQT3_SUPPORT -DQT_SHARED -DQT3_SUPPORT -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/Qt3Support -I/usr/include/QtNetwork -I/usr/include/QtSql -I../../share -I../../src/share -pipe -Wall -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os

[Gambas-user] SVN 2708 Make error

2010-02-21 Thread Dr.Diesel
FYI on SVN 2708, I did do./reconf-all ./configure -C. Please ask if any further info is needed. Thanks make[5]: Leaving directory `/home/george/trunk/gb.qt4/src/opengl' make[5]: Entering directory `/home/george/trunk/gb.qt4/src' /bin/sh ../libtool --tag=CXX --mode=compile g++

Re: [Gambas-user] SVN 2708 Make error

2010-02-21 Thread Dr.Diesel
Bugzilla from gam...@users.sourceforge.net wrote: FYI on SVN 2708, I did do./reconf-all ./configure -C. Please ask if any further info is needed. Thanks Is it better with revision #2709? -- Benoît Minisini https://lists.sourceforge.net/lists/listinfo/gambas-user It

Re: [Gambas-user] SVN 2697 - Open Project Hangs

2010-02-13 Thread Dr.Diesel
Benoît Minisini wrote: Running today's trunk SVN, 2697. When I try to open a project by clicking on the open project button on the startup splash screen gambas hangs with the busy cursor. No output on console, just sits there. This is my first svn pull in about a week, all was ok

[Gambas-user] qt4 draw error

2010-01-03 Thread Dr.Diesel
I believe I have found a qt4 bug. Here is a very simply gambas 3 (svn current to 1/2/10), this works perfectly find and as expected if i switch to gtk. Error is, and it only outputted to the gambas console: QPainter::begin: Widget painting can only begin as a result of a paintEvent

Re: [Gambas-user] qt4 draw error

2010-01-03 Thread Dr.Diesel
Benoît Minisini wrote: It's not a Qt4, it's by design: they forbid drawing on a widget outside of a paint event, so that Qt4 code remains the same between X11, Windows and MacOSX. I think in the future I will enforce the same policy in Gambas for gb.gtk. There is no need of

Re: [Gambas-user] qt4 draw error

2010-01-03 Thread Dr.Diesel
Benoît Minisini wrote: DrawingArea1 is locked on the main form. Thanks Andy Sorry, located not locked. -- View this message in context: http://old.nabble.com/qt4-draw-error-tp27005884p27006233.html Sent from the gambas-user mailing list archive at Nabble.com.

Re: [Gambas-user] sdl.sound and total length of a track

2010-01-03 Thread Dr.Diesel
Alessandro Rinaldi wrote: Argh! It is in plan for GB3? The developers of gambas do not write/maintain SDL. You will have to ask the SDL developers. -- View this message in context: http://old.nabble.com/sdl.sound-and-total-length-of-a-track-tp26998283p27007145.html Sent from the