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
comma
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 read(
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 Technologies
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 o
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:
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.
---
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 oth
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
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'
autor
Benoît, please tease us with what the future will bring in 3.1, 3.5 or even
4.0?
Thanks
--
View this message in context:
http://old.nabble.com/Gambas-future--tp33349105p33349105.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
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.
---
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 -I/usr/incl
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 -
Benoît Minisini wrote:
>
> Hi,
>
> Now, from the website, you can go to the new Gambas bug tracker located on
> code.google.com.
>
> I'd like to have a bug tracker written in Gambas, but for now, let's use
> the
> Google one.
>
> Normally, each time something is modified in the bug tracker,
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 wo
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:
http://old.nabble.com/Trouble-with-%22m
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
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 bugtra
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.
>
Fabien Bodard-4 wrote:
>
> it's corrected in the last revision
>
Thank you, I confirm it is now fixed!
--
View this message in context:
http://old.nabble.com/gbr3%3A-no-project-file-in-%27-usr-local-bin-gambas3%27.-tp28706873p28711742.html
Sent from the gambas-user mailing list archive a
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:
http://old.nabble.com/gbr3%3A-no-project-file-in-%27-usr
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
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 pro
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
> s
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 compo
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
Component=gb.f
Confirmed qt bug:
https://bugzilla.redhat.com/show_bug.cgi?id=566304
Thanks!
Bugzilla from gam...@users.sourceforge.net wrote:
>
>
>
> It seems to be a bug in Qt. Do you have some specific printer
> configuration?
>
> --
> Benoît Minisin
>
>
--
View this message in context:
http://o
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 gam...@users.sourceforge.net
Bugzilla from gam...@users.sourceforge.net wrote:
>
>> 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
>>
>> M
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!
[ge
Charlie Reinl wrote:
>
> Am Samstag, den 27.02.2010, 07:14 -0800 schrieb 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 trun
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 7fffe8dcae
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-ch
-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
-fno-omit-frame-poin
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-u
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++ -DHAVE_CON
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 we
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 before. Thanks
--
View this mes
FYI, when running gambas3 SVN 2654 I receive this error:
[geo...@george ~]$ gambas3
CRecentFile._new.14: #45: File or directory does not exist
0: CRecentFile._new.14
1: CRecentFile.Load.73
2: Project.Main.199
** (:28228): WARNING **: Failed to send buffer
** (:28228): WARNING **: Failed to send
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
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.
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 o
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
QPainter::se
43 matches
Mail list logo