ISTech Support Forum
http://www.istechforum.com/YaBB.pl
Evo-ERP and DBA Classic >> Source Code and Programming in TAS >> Serial_port() or Serial_pain()
http://www.istechforum.com/YaBB.pl?num=1090515643

Message started by ITman on 07/22/04 at 09:00:43

Title: Serial_port() or Serial_pain()
Post by ITman on 07/22/04 at 09:00:43

Has anyone tried/gotten the Serial_port() function in TASPro6 to function properly?  

I can get the Write to work fine, but not read.  The function returns 99 everytime.  Does anyone also know what that means?  

This is the code I'm using....

-----------------------------------------

   test_read = ''"
   error = serial_port(spRead,test_read,3)
   msg 'Data Read'+crlf()+test_read caption error

----------------------------------------------

Everytime var 'error' is 99.  However a similar write function will send data fine.  

This is how it is documented, I'm wondering if I have to send a special charecter for flow control.  Or does TAS do this?

Keith

Title: Re: Serial_port() or Serial_pain()
Post by NovaZyg on 07/22/04 at 10:45:09

Keith,

 It is a known issue. There are two teams of programmers looking into it now. Once it it is solved I will tell you how to get the new compiler.

As far as I know it is just the Read that is not working. Write seems to be fine.

Title: Re: Serial_port() or Serial_pain()
Post by ITman on 07/23/04 at 07:10:13

Excellent.  I do kind of need this soon though.  There is equipment that was purchased for this sitting next to me right now.  This equipment was purchased in the believe that TAS can read/write to the serial port as documented.  Do you by any chance know how long it will be until this is fixed?

ISTech Support Forum » Powered by YaBB 2.1!
YaBB © 2000-2005. All Rights Reserved.