Jump to content

labview serial Port-VISA and Subvis


ku637

Recommended Posts

Posted

Hi all,

I need to develop a hyperterminal like application in labview.I ve only lv6.1 version son cant open vis in higher versions.

I a basic question

1) I need to create a sub VI using VISA ,then how to pass the resource name to the next Function from the subVI?

There is a sub VI i created. it just initializes the serial port using VISA.i want to experiment this, to be used as a sub VI.

I can pass the input resource name but how to get the outpt visa resource name from the sub VI...?

Will the VI session will remain open..?

normally i wire up duplicate resource name from visa initialize output to the next block but how to do it wen i want to put it inside a sub VI ?

hope its clear now

please put a jpg file of VI if possible (incase anybody is returning a VI) i cant go for higher versions becoz of license issues in my institution

thanks

Steve

Posted

You can simply create a VISA indicator and pass the reference out that way.

post-11268-1242652756.jpg?width=400

I create chains of VIs to read, write, change baud rate, etc. using the VISA resource reference and the error cluster. Seems to work quite well for me.

Posted

There are a number of Hyperterminal-like interfaces using VISA and LabVIEW, written by various people. Scott Hannahs is one of them. Search around LAVA for other examples.

N.

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.