Well that's fine:

It is the stopbit - see the constants in the synaser unit.
0 = one stop bit
1 = 1 1/2 stopbit
2 = 2 stopbits

It is an enumeration. 

Regards

Thomas

-----Ursprüngliche Nachricht-----
Von: Jon Bertrand [mailto:j...@cirris.com] 
Gesendet: Mittwoch, 4. Februar 2009 19:04
An: Ararat Synapse
Betreff: Re: [Synalist] Synaser - parametr is incorrect - error 87

I don't use synaser but I'll toss out a guess:

   com.config(9600,8,'N',0,false,true);

What is the 0 in the function call above?

If it's "number of stop bits" then it probably needs to be either 1 or 2,
not 0.

-----Original Message-----
From: Tomas Rosa [mailto:tr...@seznam.cz]
Sent: Wednesday, February 04, 2009 8:35 AM
To: synalist-public@lists.sourceforge.net
Subject: [Synalist] Synaser - parametr is incorrect - error 87


Hi,

  I have problem on some serial ports with synaser. I try to open and
configure port, but I receive error %SUBJ%. Code is:

   com:=TBlockSerial.Create;
   com.Connect('COM1');
   com.config(9600,8,'N',0,false,true);

Thx for help.

TR



----------------------------------------------------------------------------
--
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

----------------------------------------------------------------------------
--
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


------------------------------------------------------------------------------
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

Reply via email to