LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I alter Function Generator VI, and if so how do I do it?

When I open a new VI, and then open Function Generator VI, the symbol appears, but there are no wiring terminals. I would like to have a terminal for lets say frequency. How do I do this? I can only access Function Generator VI by double clicking the icon, and then it opens. Also I would like to have a terminal with the output waveform, so that I can connect this to the max min vi. What I want to do is keep function generator vi, as a sub vi, and actually use it in my own vi.
0 Kudos
Message 1 of 5
(2,823 Views)
I assume that you're talking about the shipping example. You assign connectors and terminals to a VI's connector pane. The connector pane is visible when you right click the icon in the upper right corner and select Show Connector. The wiring tool is used to make connections. Open up VI, Function, & How-To Help and do a search for connector pane. After you make the modifications, save the VI as a different name and in a new location.
Message 2 of 5
(2,823 Views)
here is a modified version of the VI. It allows you to input all the parameters that are associated with the original VI. I did add error handling though.you can modify this Vi all that you want to. To remove terminals just right click on the Icon then select show connector and either add or remove terminals. I did add the waveform output for you like you wanted. However this VI is untested. This should take care of your needs. Just one more suggestion if you are new to labview and would like to learn more there are some good books out there. One that I like is called labview for everyone second edition.

Joe



Joe.
"NOTHING IS EVER EASY"
Message 3 of 5
(2,823 Views)
Thanks a lot, that really helped me quite a bit.
0 Kudos
Message 4 of 5
(2,823 Views)
The Vi you sent me really cleared things up. Thanks for the advice.
0 Kudos
Message 5 of 5
(2,823 Views)