NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Active Participant
Wayne.C
Posts: 1,949
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

Definitely consider the .png fileformat. 

Trusted Enthusiast
Albert.Geven
Posts: 3,142

Re: Screen capture of Tektronix MSO4104B using LabVIEW

Or even better than png, save the vi itself in the forum, we don't have to regenerate it then from a drawing.

greetings from the Netherlands
Active Participant
Wayne.C
Posts: 1,949
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

Actually Albert, crossrulz and I were refering to the file format that the scope uses for the screen capture.  Smaller file = shorter time to transfer to pc was the intent.

 

You've brought up something we didn't catch.  A vi or snippet would be much more useful.  

Member
R.Gibson
Posts: 31
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

[ Edited ]

Here is the VI. You are right about the PNG vs BMP size...I had selected BMP because I knew it would drop into MS Word easily, but hadn't really played around with PNGs at all. However, the PNG drops right into Word, so that is definitely the way to go. I changed the VI accordingly.

 

As a side note, PNG seems to compress smaller, and output higher quality without compression artifacts than JPEGs. What is the difference, and why aren't more people using PNG instead of JPG? Does it work better for simple graphics than it does for photos?

 

Block Diagram.png

Trusted Enthusiast
crossrulz
Posts: 3,755
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

JPGs are optimized for photos.  PNGs are optimized for simple pictures.  Anything from the scope will work wonderfully with PNGs.  I use PNGs for almost everything I do, which is mostly screen captures.



Kudos always welcome for helpful posts...Kudos always welcome for any post.
Active Participant
SnowMule
Posts: 687

Re: Screen capture of Tektronix MSO4104B using LabVIEW

PNG, much like GIF, won't show artifacts when simple drawings are saved in that format.

 

JPG is optimized for photos, where you've got a lot of gradients that can be drawn with color-A, color-B, and a pattern.

 

GIFs can be animooted, PNGs cannot.  PNGs can have an alpha channel, GIF doesn't support that.  Both do, however, support transparency. 

 

For most screenshots, PNG is my format of choice (and default for Mac, and now (finally) windows).  Simple graphics I choose GIF.  Photos are JPG.

Member
R.Gibson
Posts: 31
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

Great comparison. Thanks for the info! :smileywink:

Trusted Enthusiast
Albert.Geven
Posts: 3,142
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

thanks for the vi and the jpg-png discussion.

I use both and especially png since the snippet was invented.

greetings from the Netherlands
Member
johnc_FES
Posts: 5
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

I have been looking for help on how to save a PNG from a scope through LAN and this topic is perfect!  Thank you.  Well, almost perfect.  I am using LabVIEW 2010 and I am unable to open the uploaded VI.  Could some please convert it so that I can use it?  Thanks.

Active Participant nyc
Active Participant
Posts: 1,568
0 Kudos

Re: Screen capture of Tektronix MSO4104B using LabVIEW

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page