Jump to content

legacy serial i/o

Val Brown

Recommended Posts

QUOTE(fliesskomma @ Jul 18 2007, 08:11 AM)

Hi Val,

I began using legacy serial drivers with LabView 6.0 which worked quite well with most devices to communicate with.

Later on, I developed Software for some serial communication with several serial ports, beeing busy at the same time. Every time when there was a continous (115kbd) bytestream to read, with a size above of a couple kByte, serious dataloss occured.

So I changed to VISA (Lv6.1 ... Lv7.1), where I could adjust read- and write buffer size and all communication errors vanished.

The adjustable buffer feature of VISA was the deciding reason for me to change. I didn't find this feature in the legacy drivers. Please tell me, if I'm wrong.

Maybe this information could prevent you running into problems.

Interesting -- I haven't had problems with the legacy code (except being able to use it at all at one point!) but, then again, I've always allocated a 5K buffer, at least. On each init call, the buffer size CAN be set -- what difference that actually has is difficult to assess because of how serpdrv and its related code works.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.