10-06-2005 04:55 AM
10-06-2005 05:04 AM
10-06-2005 07:30 PM - edited 10-06-2005 07:30 PM
Hi
what aartjan is saying is the way for you. but you can develop an utility which will actually help you create global variables. To get the details on this just have a look at VI Scripting section on LAVA forum.
But i would like you to suggest few things
1. If your programs have so many global variables (Thats why u want utility) then you should take out some time to read about LabVIEW design patterns. I think if programmer follows these practicess he dont need a single global variable.
2. Their are some other ways to achieve similar functionality as of global variables (Uninitialized Shift Registers, Single Element Qs and so on) but they are much faster than global variables.
I am Attaching Whatever Resources i am having I will also attach the template of the design pattern i generaly use in short duration
Message Edited by Tushar Jambhekar on 10-06-2005 07:33 PM
Message Edited by Tushar Jambhekar on 10-06-2005 07:36 PM
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
10-06-2005 07:38 PM
Hi Please Find The attached template. Copy this to tempates folder in LabVIEW 7.1 dir. and you can create the VIs based on this template by using new... option
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
10-06-2005 09:57 PM
10-07-2005 07:04 AM
Hi
Thanks for the compliment. i hope this will start a new discussion and each one of us will be get some benifit
pe
I hope there is scope for improvement the template i have made and i would definetaley like to get comments on that
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog
10-07-2005 07:48 PM
10-08-2005 06:57 AM
Hi
As per your suggestion i have created new thread "Can You Contribute your views on LabVIEW Design Patterns"
I hope i will get some good suggestions from you as well
Tushar Jambhekar
tushar@jambhekar.com
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog