![]() |
May 9 2007, 08:54 AM
Post
#1
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2304 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
It took a bit of learning but I finally spit out a template that we can use for defining the LabVIEW Configuration File keys. The template is located here:
Template:Labviewconfigurationkey Here is an example page that uses the above template. You can click the edit button to see the code: Labviewconfigurationkeysandbox We need to go back and edit the old pages created by crelf to conform to the new template. There is no rush. On the other hand, moving forward, we must use this template for future entries. I think I may be missing a datatype. Please comment on the template in this thread. -------------------- Tags
This content has not been tagged yet
|
|
|
|
| Ad |
May 9 2007, 08:54 AM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
May 9 2007, 02:21 PM
Post
#2
|
|
|
Extremely Active Premium Member ![]() Posts: 426 Joined: 2-February 05 From: Southern California Member No.: 1519 Using LabVIEW Since:2004 LV:8.20 ,7.1.1 ,8.0.1
|
That looks really good! I have a few questions, though. What about using the control terminal image for the data types? I really liked that idea. And if it ever was changed to display the images, would all the entries that already use the template automatically get changed (like a typedef
Thanks so much for working so hard on the wiki. This is going to be THE place to go for LabVIEW knowledge. David Tags
This content has not been tagged yet
|
|
|
|
May 9 2007, 05:35 PM
Post
#3
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2304 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
What about using the control terminal image for the data types? I really liked that idea. And if it ever was changed to display the images, would all the entries that already use the template automatically get changed (like a typedef Yes, the articles would get changed automatically. This is the benefit of a template (like a typedef).And finally, Scott Hannah's list of configuration keys goes back to LV3. How would I change the template to reflect this? I just fixed it to handle LabVIEW 3.x. Enjoy.
-------------------- Tags
This content has not been tagged yet
|
|
|
|
May 9 2007, 07:22 PM
Post
#4
|
|
|
Extremely Active Premium Member ![]() Posts: 426 Joined: 2-February 05 From: Southern California Member No.: 1519 Using LabVIEW Since:2004 LV:8.20 ,7.1.1 ,8.0.1
|
Sweet!
Tags
This content has not been tagged yet
|
|
|
|
May 10 2007, 11:25 PM
Post
#5
|
|
|
Extremely Active Premium Member ![]() Posts: 426 Joined: 2-February 05 From: Southern California Member No.: 1519 Using LabVIEW Since:2004 LV:8.20 ,7.1.1 ,8.0.1
|
I played around with the configuration key template a bit, replacing a the first few keys in the Block Diagram section. Here are my observations.
Looking at the LabVIEW versions, I got to thinking that the template might be more intuitive if changed slightly. The current version looks like | LV1 = 3 | LV2 = 4 | LV3 = 5 | LV4 = 6 | LV5 = 7 | LV6 = 8 I think it would be clearer as | LV3 = x | LV4 = x | LV5 = x | LV6 = x | LV7 = x | LV8 = x Then the template logic would be a little clearer and the numbers wouldn't look like they are offset. You could still have a custom entry as | LV3 = 8.20 to indicate the easter eggs that only came with version 8.20 and other version specific keys. Just some thoughts as I was playing with the template. David Tags
This content has not been tagged yet
|
|
|
|
May 11 2007, 07:22 AM
Post
#6
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2304 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
Actually, the proper usage of the template is like this:
CODE {{ labviewconfigurationkey | keyname = | example = | datatype = | description = | permitted_values = | default = | LV1 = | LV2 = | LV3 = | LV4 = | LV5 = | LV6 = | OS1 = | OS2 = | OS3 = | OS4 = | notes = }} You just fill in the section to the right of the "=". If you don't need a certain row, just delete it. For example: CODE {{ labviewconfigurationkey | keyname = | example = | datatype = | description = | permitted_values = | default = | LV1 = | OS1 = | notes = }} You cannot use, for example, (| LV3 = x). Templates cannot work that way. trust me, it's complicated. A blank section edit is a bug but it cannot be fixed. The best thing is to NOT use section edit. I just added feature to hide section edit when using this template. I don't think this is a big deal. -------------------- Tags
This content has not been tagged yet
|
|
|
|
May 11 2007, 02:43 PM
Post
#7
|
|
|
Extremely Active Premium Member ![]() Posts: 426 Joined: 2-February 05 From: Southern California Member No.: 1519 Using LabVIEW Since:2004 LV:8.20 ,7.1.1 ,8.0.1
|
Actually, the proper usage of the template is like this: ... You just fill in the section to the right of the "=". If you don't need a certain row, just delete it. For example: ... You cannot use, for example, (| LV3 = x). Templates cannot work that way. trust me, it's complicated. A blank section edit is a bug but it cannot be fixed. The best thing is to NOT use section edit. I just added feature to hide section edit when using this template. I don't think this is a big deal. I don't think it is a big deal either; I was just trying to understand the template better before using it in all of the config keys. Thanks for clarifying, and I do trust you that its complicated. I tried to make what I thought were minor modifications and weird things started happening. Thanks again for developing this template!! Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
3 | guy | 6874 | 21st May 2003 - 09:59 PM Last post by: Mark Hanning-Lee |
|||
![]() |
5 | JackHamilton | 6485 | 12th August 2005 - 07:27 AM Last post by: rolfk |
|||
![]() |
1 | seckley | 4925 | 20th December 2002 - 04:36 AM Last post by: Michael_Aivaliotis |
|||
![]() |
0 | Michael_Aivaliotis | 4400 | 20th May 2003 - 09:10 PM Last post by: Michael_Aivaliotis |
|||
![]() ![]() ![]() |
| Time is now: 30th August 2008 - 02:33 AM |