06-14-2009 09:55 PM
good morning,
Im having some problem to get data using global variable. Im working on a chiller project and the whole project is divided into 2 different project (GUI and RT). i created a global variable in GUI and used it in the different VI's in GUI and face no problem.When i use the global variable in RT im not geting the value that is been produced by global variable in GUI.
Can we use global variable or should we use shared variable to transfer data from one project to another different project.Which part of the project should i create the global variable (GUI or RT).
Thanks
regards
Shamaran
06-14-2009 10:09 PM
I prefer shared variable if you are having two projects. Is it giving you error while opening a vi which contains global variable?
or have you stored gobal vi on two different locations of two different projects? it may create problem.
What you can do is create single process shared variables if you are running 2 projects on same PC. I hope it helps.
Best luck
Gaurav K
06-14-2009 10:31 PM
hai,
thanks for the kind reply
Im not getting any error. Im just not receiving the value. while running the GUI and RT i can see there is value generated by the Global variable but at the same time its not updated in the RT project. I wiill try to do it with shared variable. Which project should i create the shared variable or is it the same if i did in any of them?
thanks
shamaran
06-15-2009 01:40 AM