Jump to content

script server development


Recommended Posts

I am trying to figure out how to make a new script server and script node for

LabVIEW. Does anyone have documentation on this?

Google return nada.

Looking at labpython, I guess one needs to know how to construct the DLL.

And then how to make a node.vi for the Block Diagram? that is a real

mystery too.

mlewis

Link to comment
  • 3 months later...
I am trying to figure out how to make a new script server and script node for

LabVIEW. Does anyone have documentation on this?

Google return nada.

Looking at labpython, I guess one needs to know how to construct the DLL.

And then how to make a node.vi for the Block Diagram? that is a real

mystery too.

mlewis

Well, yes if you are not familiar with DLL development (and shared libraries on other platforms than Windows) you won't get far. Basically you need to implement most of the lvsn... functions from the lvpython.h (lvsnapi.h in the newest CVS version only) header file and then drop that dll in the Resource/script folder inside your LabVIEW folder.

As to the Node.vi there is no mystery. It is all documented albeit not well known. You create a VI that contains the preconfigured diagram and then creating a VI palette icon in the palette editor you enable the Merge VI option in the popup menu of the icon. With merge enabled LabVIEW will drop the diagram in your diagram instead of the entire subVI. Read in the LabVIEW documentation about how to create your own menu palettes if you haven't done so yet.

Rolf Kalbermatter

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.