Jump to content

"Basic Serial Write and Read.vi" puzzel


Recommended Posts

Hi!

I'm rather new to the LabView programming language and I'm trying to learn how to use LabView to send a string over RS232 (serial port). To start I took a look at Basic Serial Write and Read.vi to get a feel what's ahead but when I start the VI I always get the following message:

"Error - 1073807202 occurred at Property Node in VISA Configure Serial Port (Instr).vi->Basic Serial Write and Read. This error code is undefined. No one has provided a description for this code, or you might have wired a number that is not an error code to the error code input."

Similar message appears when I try to run any other example provided with my LabView concerning Serial VISA. My serial port is ok (checked with other programs). I'm using LabView 8.2 .

Dose anyone have an idea what could be wrong? (it is the original example from NI - I haven tampered with it in any way) Thanks in advance for your input.

Cheers!

Link to comment

According to NI's Knowledgebase, you should try to re-install NI-VISA.

Funny, though,

When I run the error (General Error Handler.vi), I get back the following:

VISA: (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded.

Getting an "Undefined" error code can be a pretty good indication that certain component (in this case, NI-VISA) drivers are not installed.

Link to comment

Hi,

My sympathies. Serial comm is not the most happy making way to get started with any programming language and LabVIEW is no exception, though it might be easier.

You may want to get or use a com terminal program like hyperterminal (comes with windows) or comDebug (freeware). You can send simple commands with a terminal program and prove out the com activity before getting LabVIEW involved.

I usually end up doing this when ever I have to work with a new piece of equipment and whatever protocol it uses.

Mike

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.