LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Guruthilak

Seperate icon for Global Variable when saved on disk

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

 

Hello,

 

 

When a vi, llb or ctl is saved to the disk they can be easily identified by looking at the icons or the file extensions before opening them. But in case of a global variable it is not possible since it shares the same extension and icon as of a vi.

 

I do not like global variables at all, ( as i use Functional Variables), but in my present organization there are lots of Globals used (and still being used) and i find it difficult to know whether its a vi or a global.and hence this idea

 

Regards

Guru

Regards
Guru (CLA)
3 Comments
Mr.Mike
NI Employee (retired)

I don't think this is possible without changing the extension on global VIs to something different.  The icon is set by the operating system and is specific to the extension of the file.  VIs (.vi) get a certain icon that LabVIEW tells the operating system to use. Since global VIs also have the .vi extension, they naturally get the same icon.  We would need to change the extension of global vis to something different.  I don't know how hard this would be, but I don't think it would be easy.

-- Mike
AristosQueue (NI)
NI Employee (retired)

Actually, since VIs can be saved with any file extension, a user could do this without LV changing anything. Just adopt the convention of saving as ".viglobal" or somesuch, and then tell your operating system what icon to use for that file extension.

 

(Note that non-VI files of LV are required to have a particular file extension. Anything that doesn't match one of the pre-defined extensions, we try to load that as a VI.)

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.