Search found 1361 matches

by Dinosaur
Jan 22, 2021 23:56
Forum: Community Discussion
Topic: Debug FreeBASIC with VSCode
Replies: 10
Views: 337

Re: Debug FreeBASIC with VSCode

Hi All now we can do debugging in Linux too I have been debugging in Linux for a few years now using Gede Debugger (GDB Frontend) Done so on various Industrial CPU boards and lately on the Beagelbone Black. Both in Linux Mint and Debian 10. The only original problem with Freebasic was the single com...
by Dinosaur
Jan 07, 2021 20:35
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All

Thanks for the reply badidea.
Or more likely I am completely missing something blatant.

You were right (AGAIN) all it needed was StrPtr instead of @.

One of these days I am going to get over my phobia about pointers.

Regards
by Dinosaur
Jan 07, 2021 9:28
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Just bought a new printer Epson XP-4100. Unbelievable how difficult it is to get the printer you want in Australia due to so many people working from home. My requirement was for ESC/P support. Yes, many of the latest Inkjets support ESC/P. Using it on a Beaglebone Black and didn't want to in...
by Dinosaur
Dec 17, 2020 2:49
Forum: General
Topic: Keyboard Handler
Replies: 1
Views: 208

Re: Keyboard Handler

Hi All I have found an alternative solution to this problem: By opening a Text window and giving that window "Focus" , any characters typed in or pushed into the keybuffer appear in this window, which allows them to be assigned to a string variable. It does not solve the problem that FreeB...
by Dinosaur
Dec 14, 2020 20:55
Forum: General
Topic: Keyboard Handler
Replies: 1
Views: 208

Keyboard Handler

Hi All I am adding rfid tags to my Museum Tp-Link application and having problems unloading Allegro keyboard handler and getting FB Inkey working. These rfid readers basically shove characters into the keyboard buffer via a usb interface. The problem is that my app uses cgui library which traps all ...
by Dinosaur
Dec 02, 2020 5:47
Forum: Beginners
Topic: What's wrong with my freebasic - gdb environment ?
Replies: 3
Views: 324

Re: What's wrong with my freebasic - gdb environment ?

Hi All

Or try Gede , I am very pleased with that.

Regards

Edit: And I use it with Linux Mint 19.3 on a similar Jurassic machine as my age.
by Dinosaur
Sep 11, 2020 11:05
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Sometimes I ask questions before experimenting with different solutions. This was one of those. The problem was that the client may at unpredictable times try to transmit the result of an rfid scan. If the server only checks every 1,5 or even 10 seconds this line fails at the Client. Client =...
by Dinosaur
Sep 10, 2020 23:00
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All

Can someone tell me how to allow a longer delay for "Client = NetworkClient(.TxIP,.TxPort)"
My server is busy with other things and checks for clients only every second.
The client has at least 10 sec of spare time.

Regards
EDIT:Figured it out, doens't need time extension.
by Dinosaur
Sep 09, 2020 20:41
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Thanks Joshy, I will test and make a minimal TxApp & RxApp in the next few days using Desktop PC and Beaglebone. Regards Edit: Had to use different Port (Bind Error on Port 80) otherwise it worked using the Client.bas & Server.bas from you latest .zip file. Will try to use the mods fo...
by Dinosaur
Sep 09, 2020 10:11
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Thank you for that little gem. By calling NetworkClient my problem is solved. So basically calling CanPut does NOT verify that the Client Can PutData. @Dino :-) do it like a man and use error checking ! Dino wrote The code below is as usual stripped of all error checking to simplify my troubl...
by Dinosaur
Sep 09, 2020 4:33
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All I am not sure if I am trying to do something that is not possible. Running Gede debugger (gdb gui) I can trace the steps and the CanPut function passes all steps and returns. None of the steps that would assign -1 get executed, although I could not see where the return value of 1 is set. Perh...
by Dinosaur
Sep 08, 2020 22:50
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Many thanks for the replies. I am sorting through it today. However because the Rfid Tag reader may only send one Tx for the whole day, is the reason I terminate the connection after a Server read. The server keeps looking for clients trying to connect all day (and night). There are also 3 or...
by Dinosaur
Sep 08, 2020 10:15
Forum: Tips and Tricks
Topic: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.
Replies: 94
Views: 20317

Re: [S]imple [N]etwork [C]onnection win and lin 32/64-bit.

Hi All Adding rfid tag sensing to my SmartPlug application, but have struck a problem when testing. The problem resides in the Client program being unable to verify server availability. The code below is as usual stripped of all error checking to simplify my trouble shooting. (I can hear Joshy alrea...
by Dinosaur
Aug 06, 2020 21:57
Forum: General
Topic: Random Screen saver movement
Replies: 2
Views: 270

Re: Random Screen saver movement

Hi All Thanks for the reply MrSwiss. I know that Screensavers are really no longer needed these days. The screen has one rather large light bulb that is either On or Off. They flick a single input switch (mechanical) to switch all the light in this museum. That switch then cancels the screen saver s...
by Dinosaur
Aug 06, 2020 5:19
Forum: General
Topic: Random Screen saver movement
Replies: 2
Views: 270

Random Screen saver movement

Hi All Finally got tired of using XScreensaver on the Beaglebone Black which does not have keyboard or mouse and has Touchscreen disabled. To cancel the XScreensaver I had to shell out and send a command to it. Messy. So wrote a simple Date/Time screensaver that can be included in my code.(and thus ...

Go to advanced search