BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview logo

How awesome of an easter egg would that have been?  (or is?) that some random PNG file installed with LabVIEW is actually a VI...

0 Kudos
Message 11 of 20
(8,465 Views)

@Hooovahh wrote:

How awesome of an easter egg would that have been?  (or is?) that some random PNG file installed with LabVIEW is actually a VI...


Just think, the millions of PNGs sitting on servers all over the world, and any one of them could potentially be a VI.

0 Kudos
Message 12 of 20
(8,427 Views)

Then they all activate at once and the LabVIEW version of SKYNET arrives!

 

/removes tinfoil hat


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 13 of 20
(8,411 Views)

@Sam_Sharp wrote:

Then they all activate at once and the LabVIEW version of SKYNET arrives!

 

/removes tinfoil hat


Since LabVIEW is running <sarcastic quotation marks> really stable <\sarcastic quotation marks> today, I'm not that afraid...



Remember Cunningham's Law
Message 14 of 20
(8,401 Views)

@Hornless.Rhino wrote:

@Hooovahh wrote:

How awesome of an easter egg would that have been?  (or is?) that some random PNG file installed with LabVIEW is actually a VI...


Just think, the millions of PNGs sitting on servers all over the world, and any one of them could potentially be a VI.


The paranoid side of me read that as...

 

"Just think, the millions of PNGs sitting on servers all over the world, and any one of them could potentially be a VI.rus"

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 15 of 20
(8,378 Views)

@Sam_Sharp wrote:
I'd also like to think that any PNGs of the logo are actually VI snippets...if you drag them onto the block diagram they release the *true* power of LabVIEW.

 

 

So, you mean like this?

 

(wasn't sure if it would carry over if I inserted as image)

Josh
Software is never really finished, it's just an acceptable level of broken
Message 16 of 20
(8,303 Views)

Very clever. I'm curious - how did you get the snippet without the normal snippet headers - using the Lava code capture tool, or something else?


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 17 of 20
(8,219 Views)

@Sam_Sharp wrote:

Very clever. I'm curious - how did you get the snippet without the normal snippet headers - using the Lava code capture tool, or something else?


From what I understand (not entirely sure), the code is stored in a metadata section of the PNG file. The visual part of the image is just decoration.

 

LabVIEW's snippet tool, edit with MS Paint, Paste new image, Save

Josh
Software is never really finished, it's just an acceptable level of broken
Message 18 of 20
(8,163 Views)

@JW-JnJ wrote:

LabVIEW's snippet tool, edit with MS Paint, Paste new image, Save


So simple.  I can't believe I haven't tried that.  Oh, the chaos that will ensue!



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 19 of 20
(8,159 Views)

Yeah I don't remember where I saw it, but I remember finding a VI (or maybe it was freeware) that would take a PNG and show you the chunks that were in it.  Chunks are just named, with byte offset and length and contain anything you want usually used for meta data.  One chunk may contain the actual image.  For a VI NI just make one whole chunk the VI file.  So if working in MSPaint does work it is probably because the PNG file just replaces the chunk associated with the image data, but leaves all the other chunks that already exist.  I suspect the CCT source would tell you more about how chunks are written.

0 Kudos
Message 20 of 20
(8,151 Views)