mal11 Posted October 9, 2006 Report Share Posted October 9, 2006 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 Quote Link to comment
Rolf Kalbermatter Posted January 11, 2007 Report Share Posted January 11, 2007 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 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.