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 Technologies

Re: [Gambas-user] Multiple charts using gb.chart

2013-06-28 Thread Fabien Bodard
It depend... If all the chart are on the same style ... One chart object in multiple drawing area pointing on one event handler Group Le 28 juin 2013 13:14, "Alberto Caballero" a écrit : > Ok Fabien, > > I will try all of this. What I want to do is to show different charts > inside different tab

Re: [Gambas-user] read/data commands

2013-06-28 Thread Fabien Bodard
In gambas Dim grata as integer[][]=[[1,2,3,4][1,2,3,4][1,2,3,4][1,2,3,4]] But also an internal file in gambas can be used Dim a as integer[]=split(file.load("data")) For I =3 to 3 For j = 0 to 3 Adata[i][j]=a[I*j] Next Next Or a structure via gb.setting .. so many ways But for a short sequ

Re: [Gambas-user] Multiple charts using gb.chart

2013-06-28 Thread Alberto Caballero
Ok Fabien, I will try all of this. What I want to do is to show different charts inside different tabs. Should I declare different Chart variables for each chart? I will update you ASAP. 2013/6/28 Fabien Bodard > Never resize the drawing area in its draw event !!! > > Use the form resize even

Re: [Gambas-user] Multiple charts using gb.chart

2013-06-28 Thread Fabien Bodard
Never resize the drawing area in its draw event !!! Use the form resize event or better learn how to use gambas arrangement properties. The last allow to do what you want without any code line. Le 28 juin 2013 13:06, "Fabien Bodard" a écrit : > I think I don'treally understand what you want to d

Re: [Gambas-user] Multiple charts using gb.chart

2013-06-28 Thread Fabien Bodard
I think I don'treally understand what you want to do ... One tabstrip ... Multiple tabs and one chart object with different set of data that change depend on the selected tab ? Le 28 juin 2013 12:54, "Alberto Caballero" a écrit : > Hi Fabien, > > Thanks for your support. > > Here you have the pi

Re: [Gambas-user] Multiple charts using gb.chart

2013-06-28 Thread Alberto Caballero
Hi Fabien, Thanks for your support. Here you have the piece of code that manages the graph. For a new graph at a new DrawingArea, should I declare a new Chart variable? I think this did not work for me. Private Sub GenGraficaCaudales() Dim i As Integer Dim msg As String Dim titles As New

Re: [Gambas-user] read/data commands

2013-06-28 Thread Jussi Lahtinen
I remember read/data statements, but I never used them. There is inline assembler in C... Jussi On Fri, Jun 28, 2013 at 1:23 PM, Caveat wrote: > Think the rest of the list are pretending to be younger than they are! > > Of course I remember read/data statements, it was quite a popular way of >

Re: [Gambas-user] read/data commands

2013-06-28 Thread Caveat
Think the rest of the list are pretending to be younger than they are! Of course I remember read/data statements, it was quite a popular way of getting a little (and sometimes not so little!) snippet of machine code into a basic program. I still have my Spectrum 48k, my ZX81, and my ZX80 :-D K