ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using global variables

Most reactions were on expected lines the moment  "Global Variables " was mentioned.  This  is akin to  the reactions you get when someone dares to talk about the "GoTo" staement in a "C"  Forum!!  Agreed  each language has some of these  traps.  But  even a trap has a purpose for existence and using it carefully can do no harm.

I saw  the sample code. Yes it is a racy stuff.

Not sure if it will help, but I have tried to bring some discipline into the execution in my attached modified code . Just check it out.

Raghunathan

PS : While on this you may find my other post interesting :http://forums.ni.com/ni/board/message?board.id=170&message.id=129241
Going by the responses I had, there seems little option except to use Globals in THAT particular case and I have been doing it without any problems for the last 2 years or so in machines running 24x7.
Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 11 of 12
(708 Views)
Hi all...
 
Thankyou for all of your responses.
I have changed my program as per your suggestions and it works great.
 
 
thanks & regards,
radhika venkataraman
0 Kudos
Message 12 of 12
(671 Views)