Summary: An explanation of how to include embedded LabVIEW content within Connexions modules.
There are a couple different ways to include LabVIEW content in a Connexions module. They are as follows:
This module describes the process for each of these methods.
If you find a virtual instrument (VI) in Connexions that illustrates your point, the Creative Commons license allows you to use the VI in your own module. Steps for embedding the VI in your module are as follows:
Search for Published Content button.Search button.Add button to add the desired module to your workgroup.lvfppviname, width, and height parameters.Files tab to display files contained in the module..llb extension.Copy button to copy the file containing the VI.Paste button to paste the VI into your own module.Edit In Place or Full Source Editing mode).
<media type="application/x-labviewrpvi80" src="your_llb_filename.llb">
<param name="lvfppviname" value="your_vi_filename.vi">
<param name="width" value="your_vi_width">
<param name="height" value="your_vi_height">
</media>
If you can't find a VI in Connexions that illustrates your point, you can upload one from your hard drive. First you must configure the VI for viewing on the web and second you must include the VI within the CNXML of the module. Both of these are outlined below:
File > VI Properties menu item.Category dropdown, select Execution.Run VI when opened check box.Category dropdown, select Window Size.Set to Current Window Size button. Make note of the width and height, as this will need to be specified in the Connexions module.OK button.File > Save menu item.File > New Project menu item.Project Explorer window, right click on Dependencies and choose Refresh from the list.File > Save All menu item.Build Specifications and choose New > Source Distribution.My Source Distribution Properties window, change the Build Specification Name to the name of your VI.Packaging Option section, select Custom.Exclude vi.llb check box.Exclude instr.llb check box.Exclude user.llb check box.Destination Path for your new .llb file.Destination is llb check box.Build button.File > Save All menu item.Tools > LLB Manager menu item.File > Open Folder menu item.Current Folder button.Top Level option.File > Close menu item.File > Exit menu item.Files tab of your module.File from the dropdown and clicking the Add New Item button.Save button.Edit In Place or Full Source Editing mode).
<media type="application/x-labviewrpvi80" src="your_llb_filename.llb">
<param name="lvfppviname" value="your_vi_filename.vi">
<param name="width" value="your_vi_width">
<param name="height" value="your_vi_height">
</media>