Search found 136 matches

by cogier
Monday 16th October 2017 4:28pm
Forum: General
Topic: List only the files without extensions
Replies: 8
Views: 353

List only the files without extensions

If I run the code below I will get a list of all the files ending in '.png' in my Home directory. Is there a way to list ONLY the files with no extension? :? Public Sub Main() Dim sList As String[] Dim sTemp As String Dim sPattern As String = "*.png" sList = Dir(User.home, sPattern, gb.file) For Eac...
by cogier
Monday 16th October 2017 2:40pm
Forum: General
Topic: Raspberry Pi camera module
Replies: 27
Views: 736

Re: Raspberry Pi camera module

Hi Sony,

You cannot see the 'raspistill' output over SSH so the program takes a photo 75 times a minute that is stored in RAM which is quicker and does no damage to the SD card. The picture can then be seen over a SSH link.

Glad it helped,

Charlie
by cogier
Sunday 15th October 2017 3:45pm
Forum: General
Topic: Raspberry Pi camera module
Replies: 27
Views: 736

Re: Raspberry Pi camera module

OK let's see if I have got this right. Attached is my PiCam software with a additional Form and Class. Run the program. Take a picture with the size at 800 x 800 then click on the 'Sony' button and you will see the picture you took in a DrawingArea. Is this what you are looking for? This will only w...
by cogier
Saturday 14th October 2017 3:27pm
Forum: General
Topic: Raspberry Pi camera module
Replies: 27
Views: 736

Re: Raspberry Pi camera module

I am trying to understand what you are trying to do, can you explain what you hope to achieve.

Are you using the Pi and a USB camera or a Pi Camera?

Are you trying to capture the video on the Pi or stream it to another computer?
by cogier
Monday 09th October 2017 3:05pm
Forum: Lounge
Topic: B4A
Replies: 10
Views: 596

Re: B4A

I have had a look at RFO but I found the IDE not very good and that you had to program on the phone or use a development kit did not help. However I did find a APK creator for it AND it's written in Gambas, but I can't get it to work. It is available here http://rfo-basic.com/x-quickapk.html.
by cogier
Monday 09th October 2017 2:52pm
Forum: General
Topic: Raspberry Pi camera module
Replies: 27
Views: 736

Re: Raspberry Pi camera module

I presume you mean streaming from the pi to a computer using SSH as Matt and I did with his robot (It had a camera on it then!). 2016-08-07 14.11.32.resized.jpg On the Pi create a file (e.g. startvideofeed.sh) with only the following: - raspivid -o - -t 0 -hf -w 640 -h 360 -fps 25 | cvlc -vvv stream...
by cogier
Thursday 05th October 2017 1:49pm
Forum: General
Topic: disk serial numbaer
Replies: 4
Views: 254

Re: USB disk serial number

Here is another way of doing it. This works in Linux Mint but whether it will work in other distros is another matter.
USB Serial Number.jpg
USB Serial Number.jpg (29.69 KiB) Viewed 245 times
USB_Serial_Number.tar
(26.5 KiB) Downloaded 13 times
EDIT: - It does not work on the Raspberry Pi
by cogier
Monday 02nd October 2017 5:12pm
Forum: Lounge
Topic: USA
Replies: 4
Views: 175

Re: USA

I know other countries allow guns but I suspect they expect their users to pass some sort of proficiency test and/or health check. Also the amount and type of weapon and ammunition allowed is controlled. I could get a gun but there would be security, police and health checks and I would not be allow...
by cogier
Monday 02nd October 2017 2:12pm
Forum: Lounge
Topic: USA
Replies: 4
Views: 175

USA

I wonder if they will do anything this time regarding the US gun laws. They just don't seem to get it!
by cogier
Friday 22nd September 2017 2:38pm
Forum: General
Topic: Did you know?
Replies: 22
Views: 1288

Re: Did you know?

This does not work with the Cinnamon Desktop as the key stroke is reserved for showing all Virtual Desktops. In the Gambas IDE put the cursor on a line and press [Ctrl]+[Alt]+[Up Arrow]. This will move the whole line up and will jump over other lines. [Ctrl]+[Alt]+[Down Arrow] will move it down. Thi...