LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

download /save an output from an o'scope VI

Once I receive an output from an o'scope VI is there a way
to save the waveform as an image instead of converting
it into an array......I would like to create a file that will
have 4 different images assigned to it.........
thanks


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 3
(1,564 Views)
The answer to this depends partly on what you intend to do with the
"image" data and what the source of the data is. If, for instance, you
are transferring the data from a piece of external standalone hardware
via GPIB or serial, then that standalone instrument could conceivably
allow you to transfer the data across in some sort of image-like format
(HPGL, BMP, TIFF, etc). You could slap a couple of these into a file
with some sort of delimiter to separate them from one another.

I'm actually guessing that you're basically looking to record VI panel
plots in graphical format. If that's the case, then be aware that it's
pretty easy to save a front panel as an image file; here's a link to
some examples on the NI site:

http://digital.ni.com/explprog.nsf/websearch?SearchV
iew&Query=panel%20image

What I would suggest is that you create a special "display" VI that has
four graphs on its front panel and takes four data arrays as inputs.
Once you've got data (in arrays) from the four plots that you'd like to
save as an image, simply call this "display" subVI with the four array
inputs, then use one of the examples from the link above to save out an
image file.

There are other ways to go if what you're really after is saving
multiple images into a single binary file. What you're basically
talking about there is creating your own special binary image format,
which is done all the time.

Good luck!

-John Lum
National Instruments

ajleal@my-deja.com wrote:

> Once I receive an output from an o'scope VI is there a way
> to save the waveform as an image instead of converting
> it into an array......I would like to create a file that will
> have 4 different images assigned to it.........
> thanks
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
0 Kudos
Message 2 of 3
(1,564 Views)
If John is correct in assuming you want vi front panel images, format
the vi display as you want and set up to print as HTML for browser
display, or setup LV datalogging to store front panels for LV
retrieval. It is very easy and works real well.
Jim

In article <3823585C.67F9D2E@alum.mit.edu>,
John Lum wrote:
> The answer to this depends partly on what you intend to do with the
> "image" data and what the source of the data is. If, for instance,
you
> are transferring the data from a piece of external standalone hardware
> via GPIB or serial, then that standalone instrument could conceivably
> allow you to transfer the data across in some sort of image-like
format
> (HPGL, BMP, TIFF, etc). You could slap a couple of these into a file
> with some sort of delimiter to separate them from one another.
>
> I'm actually guessing that you're basically looking to record VI panel
> plots in graphical format. If that's the case, then be aware that
it's
> pretty easy to save a front panel as an image file; here's a link to
> some examples on the NI site:
>
> http://digital.ni.com/explprog.nsf/websearch?SearchView&Query=panel%
20image
>
> What I would suggest is that you create a special "display" VI that
has
> four graphs on its front panel and takes four data arrays as inputs.
> Once you've got data (in arrays) from the four plots that you'd like
to
> save as an image, simply call this "display" subVI with the four array
> inputs, then use one of the examples from the link above to save out
an
> image file.
>
> There are other ways to go if what you're really after is saving
> multiple images into a single binary file. What you're basically
> talking about there is creating your own special binary image format,
> which is done all the time.
>
> Good luck!
>
> -John Lum
> National Instruments
>
> ajleal@my-deja.com wrote:
>
> > Once I receive an output from an o'scope VI is there a way
> > to save the waveform as an image instead of converting
> > it into an array......I would like to create a file that will
> > have 4 different images assigned to it.........
> > thanks
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 3 of 3
(1,564 Views)