Search found 1309 matches

by Dinosaur
Oct 29, 2019 23:00
Forum: General
Topic: Line Input fail
Replies: 12
Views: 401

Re: Line Input fail

Hi All

Thanks for the response, same fault.
Allegro.bi actually has the line in it.
#undef line

Also checked cgui.bi and it does not have a line command.

Regards
by Dinosaur
Oct 29, 2019 21:12
Forum: General
Topic: Line Input fail
Replies: 12
Views: 401

Line Input fail

Hi All This error has been annoying me for weeks, finally decided to vent it. Function PingDevice(byref IP as String ) as string Dim as Long PF = FreeFile Dim as String RxData , Chrs ,Pings = "fping -t 100 " + IP Open pipe Pings For Input as #PF Times.TxRxTime = Times.mSec Do Until Eof(PF)...
by Dinosaur
Oct 26, 2019 17:45
Forum: General
Topic: CGUI function
Replies: 8
Views: 264

Re: CGUI function

Hi All

Many thanks for the replies,(prompt at that)
For simplicity I will use fxm method (it is the least likely to confuse me later)

Regards
by Dinosaur
Oct 26, 2019 15:35
Forum: General
Topic: CGUI function
Replies: 8
Views: 264

Re: CGUI function

Hi All Many thanks for the replies. jj2007 , I am using a BeableBone Black and sofar the only debugger that "used to" work on it was "Gede" but the new version no longer does. Have contacted the author and he has promised to fix ?? Your change did work, thank you. I did not reali...
by Dinosaur
Oct 26, 2019 14:43
Forum: General
Topic: CGUI function
Replies: 8
Views: 264

CGUI function

Hi All I am having difficulty translating the description into a working command. Basically it is an alternative to a check box, where it will display the correct string based upon the value of "sel" In my case (using a 7" display, the check box is to small, so by using this function ...
by Dinosaur
Oct 24, 2019 23:13
Forum: Linux
Topic: Debian use Full screen
Replies: 6
Views: 388

Debian use Full screen

Hi All Spending half my day trying to find a solution to this. I am connecting a 7" lcd to a Beaglebone Black to use as an interface to Smart Plugs & Bulbs. https://www.amazon.com/gp/product/B07QLMBGZC/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1 The lcd is 1024x600 touch screen whi...
by Dinosaur
Oct 22, 2019 3:06
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 150
Views: 8107

Re: TP-Link HS110

Hi All The commands I use are as follows. pen pipe "nmcli dev wifi" For Input As #PF 'prints out all wifi's found Do Until Eof(PF) Line Input #PF, Chrs s += Chrs Loop Close #PF NetDevice(Control.Device).RxData = s If Control.PrintFlag > 0 Then Print s This produces the following response. ...
by Dinosaur
Oct 20, 2019 17:53
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 150
Views: 8107

Re: TP-Link HS110

Hi All Andy looks like you are making progress. A couple of notes: 1: Change the Alias command by adding more spaces to the command to avoid over writing the Quotes and curly brackets. .cmdStr = !"{\"system\":{\"set_dev_alias\":{\"alias\":\"FreePlug \"}}}...
by Dinosaur
Oct 19, 2019 12:57
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 150
Views: 8107

Re: TP-Link HS110

Hi All Andy I have no idea what you are doing with those commands. set cp="r:\data_papps\freebasic\lib" set sp="R:\Data\Test\hs110" set bp="R:\Data\Test\hs110" R:\data_papps\FreeBASIC\fbc -target win64 -v %sp%\tplink.bas fblogo.rc -x %bp%\tplink.exe It is as simple as e...
by Dinosaur
Oct 18, 2019 13:47
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 150
Views: 8107

Re: TP-Link HS110

Hi All Andy you are welcome, the more the merrier. I bought mine at Bunnings in Hervey Bay and would be interested in the differences. If you run the .cmdStr = !"{\"system\":{\"get_sysinfo\":null}}" command and post the result that would show if there are significant di...
by Dinosaur
Oct 16, 2019 23:32
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7150

Re: FreeBASIC 1.08 Development

Hi All I appreciate the discussion on the issue I raised, even though I thought it a "Mundane" issue. Also I now understand the complexity involved with changing what I envisaged to be a fundamental issue. I don't normally get involved with development issues, BUT,reading all the submissio...
by Dinosaur
Oct 16, 2019 13:40
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7150

Re: FreeBASIC 1.08 Development

Hi All So, basically it is to complex to implement. I guess the closest way to do it with While:Wend requires 2 extra instructions. While MyUDT.Index < MyUdt.Limit MyUDT.Index += 1 'Do whatever Exit while wend But then again I have no idea as to the overhead of each method, so while :wend could actu...
by Dinosaur
Oct 16, 2019 2:12
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 119
Views: 7150

Re: FreeBASIC 1.08 Development

Hi All This may seem to be a rather mundane request, BUT it is really annoying to me. Why is this not allowed ? For MyUDT.Index = 1 to MyUdt.Limit 'Do whatever Next I have to transfer the udt elements to & from a local or global variable. I have lost count how many times I wrote code as per abov...
by Dinosaur
Oct 15, 2019 23:34
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 150
Views: 8107

Re: TP-Link HS110

Hi All Does it use the same protocol? And do you know the commands to send? No and No, but what are the chances that the On & off are the same ? Australian expression "Suck it and see" Will test and see the getJsonValue() functions and let you know. Don't expect much progress from me u...
by Dinosaur
Oct 15, 2019 16:36
Forum: Hardware Interfaces / Communication
Topic: TP-Link HS110
Replies: 150
Views: 8107

Re: TP-Link HS110

Hi All Yet, the US version will go as low as 30 mSec to do a Tx/Rx which is still way faster then the AU version where the minimum I achieved with it is 80 mSec. I did change the sleep times. while connection->CanPut() <> 1 sleep 1 wend connection->PutData(StrPtr(Tx),Len(Tx)) while connection->CanGe...

Go to advanced search