Search found 15 matches

by Volhout
May 16, 2012 11:56
Forum: Linux
Topic: Freebasic on Lubuntu Oneric
Replies: 7
Views: 2143

SOLVED: Freebasic on Lubuntu Oneric

This is simply great !!!

Thanks for the help. Maybe this info can be added to the user manual on the website ?
I have changed the title of the thread, so others can easy find it...

Volhout
by Volhout
May 16, 2012 10:20
Forum: Linux
Topic: Freebasic on Lubuntu Oneric
Replies: 7
Views: 2143

Re: Freebasic on Lubuntu Oneric

I am using the 32bit version.

I fear the Lubuntu team have removed some files from the distro that where originally in the ubuntu build...
by Volhout
May 16, 2012 7:59
Forum: Linux
Topic: Freebasic on Lubuntu Oneric
Replies: 7
Views: 2143

Freebasic on Lubuntu Oneric

Hi Freebasic specialists, I have been using Freebasic for years already on Windows, and I like it. It has enough familiarity with Qbasic to make me find my way easily. Problem is that I am trying to install Freebasic (0.23) on Lubuntu Oneric Ocelot (11.10). And without success so far. If I look at t...
by Volhout
Dec 21, 2011 9:30
Forum: Hardware Interfaces / Communication
Topic: no reads when using chisock to talk to test equipment
Replies: 3
Views: 2225

no luck

Hi W_samsa,

tried it, but doe not work. It loops some 10 or 12 times, and then exits with a segmentation fault.

Any other idea's ?

Regards,

Volhout

P.S. I compiled chisock again, with and without -mt flag, does not change anything. I am using freebasic 0.21.1
by Volhout
Dec 20, 2011 14:55
Forum: Hardware Interfaces / Communication
Topic: no reads when using chisock to talk to test equipment
Replies: 3
Views: 2225

no reads when using chisock to talk to test equipment

I am trying to use chisock to establish a TCP connection to a signal generator. The generator has IP adress 192.168.1.11 and uses port 5025. I am using a Windows XP os, and have the generator wired via a cross cable. The communication is pure text based (SCPI). Question-answer protocol. No need for ...
by Volhout
Dec 16, 2011 7:35
Forum: Hardware Interfaces / Communication
Topic: Winsock, sdlnet....
Replies: 3
Views: 2392

parameters

Hi Vince, My setup contains a scope (COM2 @ 38k4 baud) and a waveform generator (ethernet 192.168.1.11 that uses port 5025). The IP adress is free programmable in the generator, so pick any. The port for SCPI control of the generator is fixed. SCPI is a text based control language for intruments. Ma...
by Volhout
Dec 15, 2011 16:14
Forum: Hardware Interfaces / Communication
Topic: Winsock, sdlnet....
Replies: 3
Views: 2392

Winsock, sdlnet....

I am trying to have a PC running XP control a waveform generator and read out an oscilloscope. The waveform generator is connected via ethernet (cross cable), and I can talk to it using hyperterminal under windows XP (select TCP). The oscilloscope is connected via RS232, and I can talk to it using h...
by Volhout
Mar 08, 2011 8:49
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

pointer

OK, that works. If I print @MyHandle, I get the same value all the time. But still I can't get the FT245BM to accept the second command. TJF, could there be a mismatch between the dll you used to derive the bi file from, and the one on my system ?? The version on my PC is 2.08.02. But in Windows I s...
by Volhout
Mar 04, 2011 8:28
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

Memory completely hosed up ?

Hi Scottinmt and TJF, I am not sure what is happening here, but it seems like Freebasic is modifying memory. Look at following code snippet: ' test FTDI USB interface #include "ftd2xx-2.08.02-1_TJF.bi" Dim FT_Status As UInteger Dim FT_NumDev As UInteger Dim MyHandle As FT_HANDLE Dim Shared...
by Volhout
Mar 03, 2011 9:00
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

Not working properly though

Hi TJF, Your new header file copiles, and I am getting somewhere (it seems). Am using Geany (not the portable version yet) and have configured as per your proposal. It works. Have run into another problem though..... (this is my code so far) ' test FTDI USB interface #include "ftd2xx-2.08.02-1_...
by Volhout
Mar 02, 2011 10:15
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

Geany

Hi TJF, I'll give Geany a try... For now I used your (published) .BI file, and get 1 compiler error: Command executed: "C:\FreeBasic\fbc.exe" "C:\FreeBASIC\examples\ftdi\ftdi_001.bas" Compiler output: C:\FreeBASIC\examples\ftdi\ftd2xx-2.08.02_TJF.bi(423) error 56: Illegal specifi...
by Volhout
Mar 02, 2011 8:25
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

Geany

Hi TJF,

Does Geany support the freebasic language set (coloring) for the 0.21.1 compiler version ? If that is the case, I would prefer it over FBIDE.

Regards,

Volhout
by Volhout
Mar 01, 2011 13:48
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

PVOID

Hi TJF, Thanks for helping so fast. I was amazed !. I upgraded the compiler to the latest, used your .BI files, and it starts to work (adding functionality while experimenting). But I seem to be stuck again, and could use your advise. See below code: If FT_GetDeviceInfoList(@DevInfo,@FT_NumDev) = FT...
by Volhout
Feb 28, 2011 12:54
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

Does not compile

When I compile the main program that includes your ftdi.bi it immediatly starts with compiler errors. Apparently it does not understand #LANG When I comment this out, then it starts generating errors about the next line EXTERN "C". Here is the first detailed compiler error. Command execute...
by Volhout
Feb 23, 2011 15:38
Forum: Hardware Interfaces / Communication
Topic: FTD2XX.dll [Solved!]
Replies: 21
Views: 23156

ftdi.bi file

Hi guys, I want to add some GPIO to a netbook with only USB. The FT245BM seems a simple solution. Read through some threads, and have been able to generate the dll.a file from the dll, but I am not sure how to create the ftdi.bi file. This is my first project with Freebasic, so don't asume too much ...