Tags |
(This content has not been tagged yet)
|
![]() |
Aug 6 2003, 11:37 PM
Post
#1
|
|||
|
One hit wonder! Member Posts: 1 Joined: 6-August 03 From: Livermore, Ca Member No.: 149 |
I don't know if this would be useful to anyone else, but I would really enjoy having a way to create a strict type def of a structure that was created on the diagram. ie like a state machine. I know you can use vi templates for the state machine but it would be nice to have certain structures that are constantly created to be a type def to just drop them onto the diagram.
If there is a way to do this that I am missing, please let me know. Dan
|
||
|
|
|||
| Ad |
Aug 6 2003, 11:37 PM
Post
#
|
||
|
|
|
||
|
|
|||
Sep 2 2003, 08:53 PM
Post
#2
|
|||
|
I've come back for more. Member Posts: 2 Joined: 27-May 03 Member No.: 97 |
I think you can do that already!. I create regularly (strict typedefed) custom controls and insert them into the diagram to create constants which track possible changes to the data type.
You can include such custom controls both into the Controls as well the Functions palette to be inserted on the front panel and also on the diagram. I have verified this to at least work since version 6.1. Rolf Kalbermatter
|
||
|
|
|||
Mar 22 2004, 01:31 PM
Post
#3
|
|||
![]() Very Active Member Posts: 116 Joined: 9-June 03 From: Perth, Western Australia Member No.: 111 Using LabVIEW Since:2006 LV:6.0.2 ,. ,.
|
I think there was also a "snippet" example where a section of code could be added by drag and drop from a palette. This was a neat feature described in an issue of LTR. If I remember next time I am near my copies I'll see if I can dig it out.
cheers, Alex -------------------- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning." Robert Cringley.
|
||
|
|
|||
Jul 9 2004, 04:48 AM
Post
#4
|
|||
|
Changing the world, one VI at a time. JKI ![]() Posts: 1692 Joined: 22-October 02 From: San Francisco, CA Member No.: 17 Using LabVIEW Since:1995 LV:8.2.1 ,8.5 ,7.1.1
My Blog
My Gallery
|
QUOTE (aledain @ Mar 22 2004, 05:31 AM) I think there was also a "snippet" example where a section of code could be added by drag and drop from a palette. This was a neat feature described in an issue of LTR. If I remember next time I am near my copies I'll see if I can dig it out. cheers, Alex This is an option for VI's added to a pallet menu. When editing the palette menu, right-click on the VI and make sure that the "Merge VI" option is selected. This will cause the VI's contents to be placed on the BD rather than having the VI placed as a SubVI. --------------------
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 02:27 AM |