04-05-2016 07:43 AM
How awesome of an easter egg would that have been? (or is?) that some random PNG file installed with LabVIEW is actually a VI...
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-05-2016 09:22 PM
@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.
04-06-2016 04:03 AM - edited 04-06-2016 04:03 AM
Then they all activate at once and the LabVIEW version of SKYNET arrives!
/removes tinfoil hat
04-06-2016 05:30 AM
@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...
04-06-2016 10:10 AM - edited 04-06-2016 10:10 AM
@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
04-11-2016 08:01 AM - edited 04-11-2016 08:02 AM
@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)
04-12-2016 04:29 AM - edited 04-12-2016 04:30 AM
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?
04-12-2016 07:06 AM
@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
04-12-2016 07:14 AM
@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!
04-12-2016 07:31 AM - edited 04-12-2016 07:31 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord