Search found 12 matches

Go to advanced search

by TimH
Tue Dec 14, 2010 5:59 pm
Forum: SerialTools
Topic: Port or VPort ( which one to use)
Replies: 1
Views: 8282

RE: Port or VPort ( which one to use)

From the home page for serial tools: "SerialTools is no longer maintained and it is not recommended for new projects" Sad but true...it has been a great product for our apps, but good support from the company has been scarce (for us, at least), and apparently will get worse in the future if the abov...
by TimH
Tue May 18, 2010 4:21 am
Forum: SerialTools
Topic: Serial Tools with Visual Studio 2008
Replies: 1
Views: 8775

RE: Serial Tools with Visual Studio 2008

There is a chance that you are doing nothing wrong. While we do use serial tools, I have never seen this specific error, but at the same time, we're not using VB 2008 on Vista. But when we DID do our last conversion, all of a sudden we started getting all kinds of 'first chance exception' errors, an...
by TimH
Thu Jul 31, 2008 6:43 pm
Forum: SerialTools
Topic: vb2005 on read event not firing
Replies: 2
Views: 2285

RE: vb2005 on read event not firing

I'm probably not the best one to try and help, since there are parts of your code that I'm not familiar with. But since no one else seems to be helping you...and I know how frustrating THAT is... We do a lot of work with digital scales, interfacing with our app on a portble device, using the serial ...
by TimH
Wed Jul 02, 2008 4:22 pm
Forum: SerialTools
Topic: Easy syntax question
Replies: 5
Views: 4224

RE: Easy syntax question

Geez, Johan, if YOU would give me and others the benefit of the doubt and help us without criticism, THAT would be nice. I have searched the forums endlessly and never could find a clear example of what I was looking for. And, the documentation simply says to use a "string", but again never gave me ...
by TimH
Wed Jul 02, 2008 4:03 am
Forum: SerialTools
Topic: Easy syntax question
Replies: 5
Views: 4224

Easy syntax question

I figure someone out there surely knows the answers to these questions about EndTrigger syntax: 1) Say I'm using the variable psEndTrig for the EndTrigger, and say my input device has a carriage return at the end of the string. Can I place the value of '013' in psEndTrig and expect it to work right?...
by TimH
Mon Jun 30, 2008 6:44 am
Forum: SerialTools
Topic: Problem with port.read using EndTrigger
Replies: 2
Views: 2270

RE: Problem with port.read using EndTrigger

Also note that I'm not defining any handshake parameters, because the hardware connection does not use it, and has no wiring for it. We do the same thing--no handshake parameters--with the first example I gave, where we are defining the buffer size, and that works great with streaming continuous data.
by TimH
Mon Jun 30, 2008 5:50 am
Forum: SerialTools
Topic: Problem with port.read using EndTrigger
Replies: 2
Views: 2270

RE: Problem with port.read using EndTrigger

BTW, I did test the data input with an external serial program similar to procomm, and verified that every time data came in from the scale it did have 20 bytes, with an ascii 013 at the end.
by TimH
Mon Jun 30, 2008 3:45 am
Forum: SerialTools
Topic: Problem with port.read using EndTrigger
Replies: 2
Views: 2270

Problem with port.read using EndTrigger

Our app receives data from a digital scale after we issue the port.read command. When the scale is outputting continuous streaming data, we use the following syntax that works fine: pswork1 = objPort.Read(20, 10000) It apparently keeps on reading until it has encountered 20 bytes and moves on down t...
by TimH
Sun Jun 29, 2008 7:54 am
Forum: SerialTools
Topic: When does port.read "finish"?
Replies: 2
Views: 2332

RE: When does port.read "finish"?

And, note that I'm specifically referring to the syntax where I'm using a BufferSize of 0--so that it will "return all data in serial buffer".
by TimH
Sun Jun 29, 2008 3:36 am
Forum: SerialTools
Topic: When does port.read "finish"?
Replies: 2
Views: 2332

When does port.read "finish"?

In the documentation for Port.Read, it says: ------------------------- Read has two versions. The first takes a BufferSize and TimeOut as arguments. Setting BufferSize to 0 will return all data in serial buffer. But if the serial buffer is empty it will wait until something has arrived. TimeOut dete...
by TimH
Thu Mar 15, 2007 4:15 pm
Forum: SerialTools
Topic: Using Port.OnRead with no parameters
Replies: 3
Views: 2251

RE: Using Port.OnRead with no parameters

OK, so specifically when does a timeout begin counting? Is it from the time it first starts receiving data, or what? I understand that a timeout 'finishes' after a prescribed number of milliseconds, but when does it 'start'?
by TimH
Thu Mar 15, 2007 6:17 am
Forum: SerialTools
Topic: Using Port.OnRead with no parameters
Replies: 3
Views: 2251

Using Port.OnRead with no parameters

Here's the situation: every now and then the scale will send out some data--maybe 10 or 20 characters or so. No prescribed length, so I assume I can't use the buffer size. No certain timeframe, so I assume I can't use the timeout. No given start or end characters in the string, so I assume I can't u...

Go to advanced search