Online Talk to our
support team or
sales department.
May 25th, 2019, 8:40am
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: Problems with Serial Port Control  (Read 1496 times)
blaine
FabulaTech Forum Newbie
*



View Profile         
Posts: 4
Problems with Serial Port Control
« on: May 31st, 2006, 2:35pm »
Quote Quote  Modify Modify

I downloaded the V1.5.3
 
The WriteArray() method seems to work fine (Thank you)
 
However, I am having many other issues.
 
1. When I first started using the licensed control this morning, I was able to recover from crashes (caused by your serial port control) using task manager and "ending task".
 
2. Something changed, now when your control crashes, I get:
"This program can not be closed. If it is being debuged, please resume it or close the dubuger first"
 
When this happens, my only way out is Task Manager->Shutdown.
 
 
3. I need a ReadArray(ByteArray() as byte, BytesToRead, TimeOut) method !!!!!!!!!!
Is there some undocumented method that will provide similiar function using ByteArray?
 
 
4. Your Open() method hangs my system about 20% of the time that I call it. Do you have any idea why?
 
5 Your EnumeratePortName() method crashes unless it is preceded by GetPortsNumber(), this is not a problem, the help file simply does not warn of the requirement for success.
 
6. Is Version 1.5.3 the absolute newest version, if not, please send me the newest version (please include any known issues with the version your sending)
 
7. Do you have a list of known issues / bugs / caveats / qwerks / ... with V 1.5.3?
 
 
Im sorry about the long list!
 
I am using windows 2000, and Visual BASIC 5.0 Pro.
 
Thanks
Blaine Newman
 
« Last Edit: May 31st, 2006, 2:39pm by blaine » IP Logged
Andrew
FabulaTech Forum Moderator
FabulaTech Forum Senior Member
*****



View Profile   WWW         
Gender: male Posts: 427
Re: Problems with Serial Port Control
« Reply #1 on: Jun 1st, 2006, 6:26am »
Quote Quote  Modify Modify

ReadArray method is released now, so you can download the latest program build.  
 
Related to your issue: this is very strange, we have never seen anything like that. Could you please send us the source code that causes to system crash so we could reproduce the issue in our lab  
IP Logged

Andrew Scott

FabulaTech
===================
http://www.fabulatech.com
blaine
FabulaTech Forum Newbie
*



View Profile         
Posts: 4
Re: Problems with Serial Port Control
« Reply #2 on: Jun 1st, 2006, 8:56am »
Quote Quote  Modify Modify

I will send you my Fafula-Tech interface module shortly.
 
Thank you for your quick implimentation of the ReadArray() method.
 
But, please tell me what the file is called, and were to download it?
 
I found the file, and the ReadArray() seems to work, Thanks again.
 
Also, I sent my accessor module file.
 
I had an idea that the problem I am experiencing (Open() method hanging my systems) may not be an issue on another (non developement computer).
 
So, I registered ftspc.ocx on my laptop by doing this:
copying ftspc.ocx to Laptop\c:\winnt\system32\
regsvr32 Laptop\c:\winnt\system32\ftspc.ocx
 
I built my application and copied it to my laptop.
 
Sure enough, I was correct, it works perfectly.
And the Open() and Close() methods are very fast!
 
So, the problem must be with the developement registration / licenseing code that runs ONLY on the developement computerHuhHuh?
 
Something that may help you resolve the problem, I installed your control on my NON boot hard disk.
 
Should I uninstall your control and re-install it on my C: (boot hard disk)?
 
Also, were on my developement computer should I put your ftspc.ocx?
 
I would prefer it to be registered in my system directory (c:\winnt\system32)
 
Does it matter if I have more than one copy of it on my developement computer?
 
Thank you for all your help.
 
I am very pleased with the quality and responsiveness of your support department!
 
Blaine Newman
BNB Products
 
 
 
Blaine
« Last Edit: Jun 1st, 2006, 3:38pm by blaine » IP Logged
Andrew
FabulaTech Forum Moderator
FabulaTech Forum Senior Member
*****



View Profile   WWW         
Gender: male Posts: 427
Re: Problems with Serial Port Control
« Reply #3 on: Jun 2nd, 2006, 6:22am »
Quote Quote  Modify Modify

Thank you for your feedback, we've improved Close() method.
 
>> Also, were on my developement computer should I put your ftspc.ocx? I would prefer it to be registered in my system directory (c:\winnt\system32)  
 
In this case you have to register the control (e.g by using of regsvr32 standard utility)
 
>> Does it matter if I have more than one copy of it on my developement computer?  
 
It does not matter.
IP Logged

Andrew Scott

FabulaTech
===================
http://www.fabulatech.com
blaine
FabulaTech Forum Newbie
*



View Profile         
Posts: 4
Re: Problems with Serial Port Control
« Reply #4 on: Jun 2nd, 2006, 7:46am »
Quote Quote  Modify Modify

Im glad you improved the Close() method, but Open() was hangng my developement system.
 
I am convinced, that the hanging is caused by your licensing protection code.
 
Blaine
IP Logged
blaine
FabulaTech Forum Newbie
*



View Profile         
Posts: 4
Re: Problems with Serial Port Control
« Reply #5 on: Jun 2nd, 2006, 11:07am »
Quote Quote  Modify Modify

I downloaded V1.5.3 (Dated 6/2/6).
 
I changed my program to receive the BytesActuallyRead as a return value instead of through a reference.
 
-----------
 
My application sends a one byte command, and then expects to receive back 8176 bytes in less than one seconds.
 
But ReadArray() has a TimeOut problem!!!!
 
I used TimeOut value 10,000 (ten seconds), and ReadArray() returns with a value of about 9 (it should be 8176)
 
I can make it work better (most of the time) when I use a TimeOut value of 0 (disable TimeOut).
 
But even this eventually fails!!!!
 
Please take a close look at your Time Out code!!!!!!!!!
 
Thank you
Blaine Newman
 
IP Logged
Andrew
FabulaTech Forum Moderator
FabulaTech Forum Senior Member
*****



View Profile   WWW         
Gender: male Posts: 427
Re: Problems with Serial Port Control
« Reply #6 on: Jun 5th, 2006, 4:28am »
Quote Quote  Modify Modify

Now we are working at this functionality. Kate will inform you as soon as new version will be released (i.e. open method plus new timeouts).
 
Thank you very much for feedback.
IP Logged

Andrew Scott

FabulaTech
===================
http://www.fabulatech.com
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

« No topic | Next topic »