Re: [Synalist] TCP socket not created

2018-01-19 Thread Paul Breneman

On 01/19/2018 08:26 AM, Jon via synalist-public wrote:

FYI, it is the same with official release 40 from here: 
https://sourceforge.net/code-snapshots/svn/s/sy/synalist/code/synalist-code-150-trunk.zip


Please try the *new* 64-bit code here and let me know if it works:
  http://ctrlterm.com/

Regards,
Paul
www.ControlPascal.com

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Serial USB Device with Linux - which version should i use

2014-10-17 Thread Paul Breneman
On 10/17/2014 02:09 PM, Robert Angermayr wrote:
 Hi,

 i have a program that reads an writes from a USB device.
 with windows i use a ftdi driver to create a virtual com port that i'm
 accessing.
 This works.
 Now im going to port this program to linux.
 The device is recognized as /dev/ttyUSB0.
 Synaser in its code uses /dev/ttyS but this is not working for me.
 So i have changed the synaser code to access /dev/ttyUSB but when i try
 to access this device it crashes.

 So, for further debugging, i'm using synaser40 the official release (?)
 Should i use the latest trunk 192 ore should i stay with the 40?
 The program is productive several users use the program with windows
 that means its not experimental.

 The program reads and writes data from divecomputers is called OSTCTools.

I've modified the Synaser code at www.CtrlTerm.com so it works on Linux 
for USB and ARM serial ports.

Regards,
Paul Breneman
www.TurboControl.com


--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] reading data from serial device

2014-09-24 Thread Paul Breneman
On 09/24/2014 09:25 AM, Pieter Eendebak wrote:
 Hi all,

 Using synaser and a TBlockSerial object I am reading out a serial-USB
 device. The device is sending data (I can see the buffer is growing using
 the function WaitingDataEx), but as soon as I read something from the
 buffer no data is stored in the buffer any more. I have
 tried RecvBuffer, RecvBufferEx and RecvByte to read data. After calling the
 Purge function, the buffer starts filling with data again. Calling Purge
 after every read is no option, since I have to receive all data in order to
 be able to perform my processing.
 Is there any reason for the buffers to stop filling after a read?

 I am using Ubuntu 14.04 with a recent 32-bit freepascal compiler.

 With kind regards,
 Pieter Eendebak

Please try www.CtrlTerm.com and let me know if that works.

Regards,
Paul Breneman
www.TurboControl.com


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] New Synapse (simple) terminal program: CtrlTerm

2014-06-09 Thread Paul Breneman
A bit of progress has been made in the past year, as this new web page 
shows:
http://turbocontrol.com/devoptions.htm


On 05/24/2013 10:39 AM, Paul Breneman wrote:
 Lukas Gebauer wrote:
 I could use some help with 2 things:
 - Can any of my SynaSer.pas changes go into trunk?

 Send me your modified version and I can revise your changes and I can
 commit accepted changes.

 - Why does Linux socket need TTCPBlockSocket (unlike Windows)?

 I do not understand... what you mean? :-o


 I added a note near the bottom of the page for i386-linux:
 http://www.ctrlterm.com/
 Without that change the program fails to connect a socket on Linux (but
 Windows works).  The source is the same.

 You can download any of the zips and compare my SynaSer.pas with the
 original one (it is in a separate folder).

 Please let me know if anything is still not clear.

 I also need to add a link to Synapse near the top of the page!



--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] New problem on FPC 2.6.4 on ARM Linux

2014-05-26 Thread Paul Breneman
On 05/20/2014 11:29 PM, Paul Breneman wrote:
 The same program worked with FPC 2.6.2 but with 2.6.4 whenever I put
 SynaSer or BlckSock in the uses it fails:

 ./fpcunits/cprt0.o: In function '_haltproc_eabi':
 (.text+0x88): undefined reference to '_fini'
 ./fpcunits/cprt0.o: In function '_haltproc_eabi':
 (.text+0x90): undefined reference to '_init'
 --- Error: Error while linking

 Seems that those two Synapse units may be exposing a FPC 2.6.4 bug?

 Two Free Vision apps (in the same zip) work OK with FPC 2.6.4.

 *

 There are 2-6 MB zips on this page:
 http://ctrlterm.com/ports.htm

 The ARM -051414.zip works but the -052014.zip doesn't.  I can't test on
 my Raspberry Pi at the moment, so I'm testing on a Nexus 7 tablet.

 Regards,
 Paul Breneman
 www.TurboControl.com

Here is something from a year ago but I don't think it is related to my 
current problem:
http://bugs.freepascal.org/view.php?id=24518


--
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] New problem on FPC 2.6.4 on ARM Linux

2014-05-20 Thread Paul Breneman
The same program worked with FPC 2.6.2 but with 2.6.4 whenever I put 
SynaSer or BlckSock in the uses it fails:

./fpcunits/cprt0.o: In function '_haltproc_eabi':
(.text+0x88): undefined reference to '_fini'
./fpcunits/cprt0.o: In function '_haltproc_eabi':
(.text+0x90): undefined reference to '_init'
--- Error: Error while linking

Seems that those two Synapse units may be exposing a FPC 2.6.4 bug?

Two Free Vision apps (in the same zip) work OK with FPC 2.6.4.

*

There are 2-6 MB zips on this page:
   http://ctrlterm.com/ports.htm

The ARM -051414.zip works but the -052014.zip doesn't.  I can't test on 
my Raspberry Pi at the moment, so I'm testing on a Nexus 7 tablet.

Regards,
Paul Breneman
www.TurboControl.com

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Unsure how to proceed

2014-02-08 Thread Paul Breneman
On 02/08/2014 05:10 AM, Jeremy Coulter wrote:
 HI all.

 Here is my scenario.

 I connect to a server as a client using a TTCPBlockSocket. Once I am
 connected I send it a command (plain text) to initiate the login.

 Once I am logged into the waiting service on the server, I receive data from
 the server at intermittent intervals. It is once again just plain text data.

 At the same time, I also need to be able to send commands to tell the
 service to do something.

 In a nut shell, I need something that's once connected, sits in a loop
 listing for data, passes that data to an event so I can decided if I need to
 act on the data receive, and if so, I need to send a command.



 I am not sure how I would go about doing this. I am guessing I would need a
 thread for the listening? Any help appreciated



 Thanks Jeremy

It seems you have a good understanding of your options.  A thread would 
normally be the way I'd do what you are suggesting.  But I've used a 
timer and done polling with slower data.  How fast is your data?

This project just does polling (at this time) but I may add a custom 
option with threading:
   www.CtrlTerm.com


--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] synser question/problem

2013-12-25 Thread Paul Breneman
On 11/21/2013 07:50 AM, Paul Breneman wrote:
 If you want to try www.CtrlTerm.com for troubleshooting (and stay on
 this list) I might be interested in helping you figure this out.

I just added a Lazarus port to this page:
   http://www.ctrlterm.com/ports.htm

I don't have a Mac to test on, but from some work I did a few years ago 
I'm guessing that the function GetSerialPortNames (at the bottom of the 
synaser.pas file) will need to be changed?

Any feedback would sure be appreciated!

Thanks,
Paul Breneman
www.TurboControl.com


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] synser question/problem

2013-11-21 Thread Paul Breneman
If you want to try www.CtrlTerm.com for troubleshooting (and stay on 
this list) I might be interested in helping you figure this out.


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] New Synapse (simple) terminal program: CtrlTerm

2013-05-24 Thread Paul Breneman
Lukas Gebauer wrote:
 I could use some help with 2 things:
 - Can any of my SynaSer.pas changes go into trunk?
 
 Send me your modified version and I can revise your changes and I can 
 commit accepted changes.
 
 - Why does Linux socket need TTCPBlockSocket (unlike Windows)?
 
 I do not understand... what you mean? :-o
 

I added a note near the bottom of the page for i386-linux:
   http://www.ctrlterm.com/
Without that change the program fails to connect a socket on Linux (but 
Windows works).  The source is the same.

You can download any of the zips and compare my SynaSer.pas with the 
original one (it is in a separate folder).

Please let me know if anything is still not clear.

I also need to add a link to Synapse near the top of the page!


--
Try New Relic Now  We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app,  servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] New Synapse (simple) terminal program: CtrlTerm

2013-05-19 Thread Paul Breneman
Just added a small zip that should work with Delphi-2007 or earlier.


Paul Breneman wrote:
 Two weeks ago I updated the stuff on this page (which includes DbgTerm 
 which is a serial terminal using SynaSer):
http://www.turbocontrol.com/easyfpgui.htm
 
 Today I added TCP/IP capability and made the initial release:
http://www.ctrlterm.com/
 
 Not yet fully tested but hopefully it will compile and work.
 
 Comments and suggestions welcomed!

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Editing html emails

2013-05-18 Thread Paul Breneman
Danie Wessels wrote:
 On 18/05/2013 10:18, Roy Lambert wrote:
 I'm thinking of moving to Lazarus/FPC from Delphi. One thing I would need is 
 a replacement for WPTools which I use to write emails / letters. I know 
 there are Synapse users who do email.

 Any suggestions?



 Roy Lambert

 --
 AlienVault Unified Security Management (USM) platform delivers complete
 security visibility with the essential security capabilities. Easily and
 efficiently configure, manage, and operate all of your security controls
 from a single console and one unified framework. Download a free trial.
 http://p.sf.net/sfu/alienvault_d2d
 ___
 synalist-public mailing list
 synalist-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/synalist-public
 I am thinking of providing my lazarus email program as gnu license demo
 - considering a project at sourceforge, but would you be interested to
 have it on the wiki or such. The purpose of the program is to also
 provide a commandline interface as well, similar to the sendmail - perl,
 I think - program.
 I am not strong on the UUencode part yet and I focused on plain text
 only but started to allow for expasion. What would be your requirements?
 
 Best regards
 Danie

Here is some command line stuff that uses Synapse:
   http://www.turbocontrol.com/easyemail.htm

If you release something similar (and maybe with a GUI option) please 
let me know!

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SMTPSend with SSL, please help

2012-12-04 Thread Paul Breneman
I don't know if this will help but please let me know if it does:
   http://www.turbocontrol.com/easyemail.htm


Clinton Shane Wright wrote:
 Hi everyone out there in the opensource Free Pascal world. I am trying to
 adventure into the realm of sockets and smtp to send an email to a
 specified email address. Nothing fancy, nothing
 complicated, just an email with text no attachments. Any ideas? I have
 looked around on the Synapse website and found two examples:
 
 Pop3 with SSL
 http://synapse.ararat.cz/doku.php/public:howto:pop3samplessl?s[]=smtpsend
 
 SMTP with TLS
 http://synapse.ararat.cz/doku.php/public:howto:smtpsend?s[]=smtpsend
 
 I tried the SMTP with TLS using a GMail email account with the following
 result:
 
 SMTP ERROR: Login:???-Other undefined Status
 
 I believe its prefered to use SSL with Gmail SMTP.
 
 Can someone give me some direction please.
 
 Here is a link of my code that i am using to trial run this SMTPSend
 library.
 
 http://pasteit.com/19621

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] RE : RE : WG: Synapse Rel 40

2012-06-06 Thread Paul Breneman
Stefan Fischer wrote:
 Pls. Help,
 
 After installing fpc 2.6, i had noc success, I've reinstalled fpc 2.4 
 again.
 
 I tried to compile testhttp.pas from synapse rel 40, this is the result:
 I have no idea to moce forward.
 Any idea or help his highly appriciated.
 Remoet access to my raspberry pi is possible.
 
 Stefan

Stefan,

I hope to test some Synapse code under ARM Linux (using Qemu) in another 
couple of hours.  I just got the Win32 file uploaded and next I'll do 
i386 Linux:
   http://www.turbocontrol.com/easyemail.htm

I'm not sure if I'll encounter the same problems you are but I'll get 
back to you and let you know.

Paul

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] RE : RE : WG: Synapse Rel 40

2012-06-06 Thread Paul Breneman
Paul Breneman wrote:
 Stefan Fischer wrote:
 Pls. Help,

 After installing fpc 2.6, i had noc success, I've reinstalled fpc 2.4 
 again.

 I tried to compile testhttp.pas from synapse rel 40, this is the result:
 I have no idea to moce forward.
 Any idea or help his highly appriciated.
 Remoet access to my raspberry pi is possible.

 Stefan
 
 Stefan,
 
 I hope to test some Synapse code under ARM Linux (using Qemu) in another 
 couple of hours.  I just got the Win32 file uploaded and next I'll do 
 i386 Linux:
http://www.turbocontrol.com/easyemail.htm
 
 I'm not sure if I'll encounter the same problems you are but I'll get 
 back to you and let you know.
 
 Paul

Stefan,

I now have i386 Linux and ARM Linux zips available on this page:
   http://www.turbocontrol.com/easyemail.htm

I am able to compile (the part of Synapse 40 that the example program is 
using) OK on both of those linux systems.  Please try the ARM zip on 
your Raspberry Pi and see if it compiles OK for you.

Note that on both linux systems I didn't convert the test.bat file nor 
actually try to execute the compiled program.  All I did was to verify 
the compile was done successfully.

Paul

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] SynaSer working some on WinCE

2010-11-06 Thread Paul Breneman
A year ago I worked on fpGUI and got it supporting WinCE again.  I just 
did something similar for SynaSer.  I'm not the smartest fellow and have 
limited time, but I hope others can now add additional WinCE 
improvements to SynaSer just like others did to fpGUI after I got things 
started.  :)

Since Feb-2009 TurboControl has had three minimal distributions of
Free Pascal and SynaSer on this page:
   http://www.turbocontrol.com/simpleserial.htm

I haven't added it to that web page yet, but here is the first cut of a 
2.8 MB zip that works for me to send and receive serial data on WinCE 
using SynaSer:
http://www.turbocontrol.com/SimpleSerial-fpGUI-fpc-2.4.0-arm-wince-110610.zip

If any of the Synapse SynaSer experts on this list have a WinCE device 
and want to help test and improve the SynaSer WinCE support that would 
be very much appreciated.

In the USA in September the CVS pharmacy chain sold some WinCE netbooks 
for $100 so there seems to be more and more inexpensive testing devices 
available (if a USB-serial FTDI adapter would work).  I don't think I'd 
want to use that $100 netbook for anything other than testing.  :)

I'm actually using a Pharos PDA that has a real RS-232 port...

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SynaSer working some on WinCE

2010-11-06 Thread Paul Breneman
A few notes I forgot to include in the readme...

Note that in WinCE the COM port name must include : on the end:
   ser.Connect( 'COM1:');

Also note that this routine doesn't work:
   GetSerialPortNames

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Make three ports from two ports?

2010-01-05 Thread Paul Breneman
Hi Richard,

 The two serial ports of my board shall read from serial devices
 (measuring probes). I need a third port to write to a lcd-display.
 Since I have no third port I'm asking, if I can use one of the ports
 for reading from the device and writing to the display at the same
 time - one signal uses RXD, the other one TXD. Is that possible?

It should work as long as the devices have the same configuration (baud 
rate, stop bits, parity).

-- 
Regards,
Paul Breneman
www.dbReplication.com
www.TurboControl.com

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] synaser compile problem using lazarus cross-arm-wince-win32 complier

2009-03-25 Thread Paul Breneman
Lin,

I would like to help you port SynaSer to WinCE.  I don't have a WinCE 
device but maybe I can find something to use.  Feel free to email me 
off-list at the email address on my web page.

I have started working on an educational project using
FreePascal:
   http://www.turbocontrol.com/monitor.htm

Here are the first set of files:
   http://www.turbocontrol.com/helloworld.htm

These files use SynaSer:
   http://www.turbocontrol.com/simpleserial.htm

Regards,
Paul Breneman
www.TurboControl.com
www.TurboControl.com/embeddedfreepascal.htm - Notes on using FreePascal 
on embedded systems
www.TurboControl.com/monitor.htm - Free environment monitoring programs
www.TurboControl.com/TPSupport.htm - TurboPower support links


Lin Shu wrote:
 If I want to ported Synaser to Wince, what should I do ?
 
  
 
 You have said that current IFDEFs not identifying this platform correctly.
 
  
 
 If I modify the IFDEFs to make it can identify Wince correctly, then the 
 synaser can work. Is that true? Or other parts also need modification? 
  
 
 I am a learner, I want to have a try.
 
  
 From: gebyl...@mlp.cz
 To: synalist-public@lists.sourceforge.net
 Date: Wed, 25 Mar 2009 12:38:16 +0100
 Subject: Re: [Synalist] synaser compile problem using lazarus 
 cross-arm-wince-win32 complier

 That means I can not use synaser under windows mobile system in PDA or
 Smartphone?
 Yes. It means - nobody ported Synaser to this platform yet.


 -- 
 Lukas Gebauer.

--
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Releasing Serial Port Connections

2009-02-16 Thread Paul Breneman
Werner,

 But the Application applying the above configuration does not work. What I
 am doing wrong when configuring the port using Synaser vs that applied by
 Minicom?

Maybe try this *before* the Connect statement?
   SerialObj..LinuxLock := false;

The 3 files on this page use SynaSer and work without the problem you 
are describing:
   http://www.turbocontrol.com/simpleserial.htm

Regards,
Paul Breneman
www.TurboControl.com
www.TurboControl.com/monitor.htm - Free environment monitoring programs
www.TurboControl.com/TPSupport.htm - TurboPower support links

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Simple Serial example program for SynaSer

2009-02-11 Thread Paul Breneman
One year ago I started working on an educational project using
FreePascal:
   http://www.turbocontrol.com/monitor.htm

Two weeks ago I put 3 files on the site that contain the minimum 
FreePascal files needed to compile a Hello World application:
   http://www.turbocontrol.com/helloworld.htm

Just now I put 1 file (for Win32) on the site that contains the minimum 
files needed to compile a Simple Serial application:
   http://www.turbocontrol.com/simpleserial.htm

I'm working on adding two more Simple Serial files for i386 Linux and 
ARM Linux.

Yes, experienced programmers will probably want to install all of 
FreePascal and Synapse when they want to try it out.  But there seems to 
be a place for a minimal set of install files so a person can see things 
work before doing the regular install.  It also seems that such minimal 
sets of files would also be handy for people that are trying FreePascal 
and Synapse out on limited resource embedded systems.  I am developing 
an application (using fpGUI) directly on an ARM device and thereby 
avoiding the complexities of cross-compiling.

Am I allowed to distribute the two SynaSer source files (slightly 
modified) this way?

Thanks in advance for your suggestions.

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SynaSer Linux USB crash when set RTS

2008-11-08 Thread Paul Breneman
I bought a GUC232A made by IOGear (with a pl2303 prolific chipset) and 
that works under both i386 and ARM Linux.

It appears that some linux drivers for FTDI and MOSCHIP chipsets have 
problems.

I'm glad that I found something that works, and it also appears that 
SynaSer and FreePascal work OK.

I've read that some IOGear (and other) adapters with the (later) pl2303X 
chipset aren't compatible with some devices so it is possible that other 
GUC232A adapters may not work (so be warned).

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] SynaSer Linux USB crash when set RTS

2008-11-07 Thread Paul Breneman
Werner,

 I have used simular converters before and this sound like a driver issue. I
 found that the USB-Serial converters from EasySync is the best and when
 connected to Linux provides a full 'real' serial port without any issues.
 Simply connect to ttyUSBx and continue from there.

Thanks for that advice.  I will check out the EasySync adapters.

 Are you able to communicate using Minicom for example?

With the FTDI the communication works great.  The only problem is the 
crash when setting RTS.

Thanks,
Paul

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] SynaSer Linux USB crash when set RTS

2008-11-06 Thread Paul Breneman
I've now encountered the same problem with i386 Linux and ARM9 Linux 
using SynaSer and FreePascal.  Thought I'd leave a message here before I 
spend more time looking into this.

Normal (real) serial ports work fine but when using USB to serial 
adapters the program crashes upon connect unless I comment out these two 
lines:

procedure TBlockSerial.Connect(comport: string);
...
   RTS := True;
   DTR := True;

With those lines commented out things work but my program crashes if I 
try to set RTS somewhere in my code.

I've encountered the same problem using two different adapters.  The 
adapters have FTDI and MOSCHIP chipsets and both automatically detected 
and installed in Linux.

I need to manually control the RTS line to key a radio so I need to 
solve this problem soon.

The MOSCHIP adapter gets wrong receive data on ARM9 Linux but that is 
another problem.  My connected radio needs 1200 baud and right now I 
suspect the baud rate is not being correctly set.

Thanks in advance for any suggestions.

-- 
Regards,
Paul Breneman
www.BrenemanLabs.com
www.TurboControl.com/TPSupport.htm - TurboPower support links

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Environmental monitoring OS project based on Synapse and Synaser

2007-11-26 Thread Paul Breneman
Hi Jim,

I've done a little tutoring of programming and electronics.  After 
thinking about this more I think it would make a nice educational 
programming project.  Here is the initial page I've created:
   http://www.turbocontrol.com/monitor.htm

Thanks for your offer to help.  Please email me off-list and I will 
share more about what devices I'm thinking of getting.

-- 
Regards,
Paul Breneman
www.BrenemanLabs.com
www.dbReplication.com
www.TurboControl.com/TPSupport.htm - TurboPower support links


Jim Shew wrote:
  I am happy to see the recent posts expressing interest in getting
 FreePascal and Synapse working on different platforms.  I don't want to
 get into the whole discussion about what the best programming language
 is, but FreePascal is the best thing going at least for GPL compilers
 IMHO.  Python is great but has all the disadvantages of an interpreter. 
 Don't get me started on C++. 
 
 Anyway, I've found FreePascal programs compile and run great on both
 Windoze and Linux.  Compilers not yet readily available for BSD and cell
 phones and other more exotic devices.  I don't know if my coding skills
 would be of much help in this sort of endeavor, but if I could be of
 assistance with testing or documentation or some other way, I'd like to
 help.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] Environmental monitoring OS project based on Synapse and Synaser

2007-11-23 Thread Paul Breneman
Greetings!

For a little background, I'm currently working on a hardware device 
using 'C' programming of a www.freescale.com HCS08 microcontroller.  I'm 
using the www.processorexpert.com plugin for the www.codewarrior.com 
IDE.  ProcessorExpert is a neat IDE plugin *written in Delphi* for rapid 
component-oriented embedded application development using properties, 
methods and events.

The hardware device uses an FTDI USB chip.  On the PC we are using a 
virtual COM port driver ( www.ftdichip.com/Drivers/VCP.htm ) and as that 
page shows there are drivers for a variety of platforms supported by 
Delphi and FreePascal.

I may be forced with this project to implement DLLs and shared libraries 
using gcc (the existing main GUI program is cross-platform using 
Python).  This has caused me to become more interested in helping to 
create an open-source cross-platform program that supports both serial 
ports and TCP/IP.  The recent messages on using Synapse on Win CE (ARM) 
and Mac OS also helped to push me on this project.

At first I'd like to pick a serial device as well as an ethernet device 
and create cross-platform console programs.  Such programs might be good 
Synapse and Synaser tutorials.

The second phase would use Lazarus for database and charting support.

For more ideas, here is a Perl program:
   www.klein.com/thermd/
Here is a list of serial and ethernet devices supported:
   http://www.klein.com/thermd/devices.shtml

Any interest, comments or suggestions?

-- 
Regards,
Paul Breneman
www.BrenemanLabs.com
www.dbReplication.com
www.TurboControl.com/TPSupport.htm - TurboPower support links

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


Re: [Synalist] Demos for Lazarus - suggestion

2007-01-25 Thread Paul Breneman
Lukas Gebauer wrote:
 Demos are currently only for Delphi and only rarely using Linux for
 programming, however as a Delphi programmer I find it very
 inconvenience and just partially handled process of conversion Delphi
 sources in Lazarus.

 If it is interesting for more people to save conversion time, perhaps
 Lazarus version of demos are interested to be considered as well. 
 
 Demos set have directory with demos for FreePascal too. (these demos 
 are crossplatform)
 
 However any Lazarus based demos are welcome!
 
 

I've copied a message below from a few months ago.  I got a copy at that 
time but haven't tried all the demos.

-- 
Regards,
Paul Breneman
http://www.BrenemanLabs.com

**

[Synalist] Synapse Lazarus package and converted demos

Jesus Reyes
Thu, 19 Oct 2006 12:09:32 -0700

Hi, I have made a package for Synapse (so Lazarus can find synapse
sources) and converted synademo.zip release 37 examples to use it.

You can find the bundle here:
http://mx.geocities.com/jesusrmx/lazarus/misc/lazarus_synsnap.tar.gz

Tested under windows XP and Linux using synapse release 37b7, see
readme file for install instructions.

VisualSynapse 0.5 also works (at least I tried the http server
demo)and installs in lazarus under windows, I'm currently testing
under linux, I will post a package and patches later.

regards.

Jesus Reyes A.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public


[Synalist] TFTPServer demo on Fedora Core 6

2006-12-28 Thread Paul Breneman
Hello,

I just set up a new Fedora Core 6 machine with FPC 2.0.4-0 and Lazarus 
0.9.20-0.  I'm excited about using these for Linux development and 
participating in the communities.

I've got the Synapse TFTPClient and TFTPServer demos both compiling and 
working OK with Delphi Win32 and FPC/Lazarus Win32.  Under Linux both 
compile OK but only the client program starts up.

On Linux the server program seems to hang at the inherited Create call 
in this code:

constructor TTFTPDaemonThread.Create(IPAdress,Port:String);
begin
   FIPAdress := IPAdress;
   FPort := Port;
   inherited Create(False);
end;

I don't have any debugger installed yet so I'm hoping someone will have 
some suggestions.  Is there an issue with FPC and TThread under Linux?

-- 
Regards,
Paul Breneman
http://www.BrenemanLabs.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public