ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Single data and waveforms

Hi all,

I just got my upgrade to LV 6 and I'm starting to dive into it. I have a
question which I think has two possible solutions. I get results every
30 seconds from a voltmeter through a GPIB card, and I want to display
the waveform on screen, with and without filtering. I've found filtering
very easy to perform on a Waveform data type, but I don't know how to
add single values of data to my waveform. So my question is:

- Is there an easy way to append data to a waveform as soon as it is
collected (so I can filter it easily), or
- Should I have my data in an array, append the data to it, and perform
filtering on it too?

Thanks for your help,

--
Jordi Felices
Jefe de Laboratorio
Household Technologies, S.L.
C/ Argenters, 7

Parque Tecnológico del Vallès
Cerdanyola del Vallès 08290 -- Spain
Tel. 34/935 824 306
Fax 34/935 824 407
Email: jordi.felices@house-tech.com
0 Kudos
Message 1 of 2
(2,827 Views)
Hellow Jordi,
you can solve the problem by using FIFO buffer.
I'll send an example to you directly
Best Regards
Mike Manzheliy
Automated Control Systems

"jordi.felices" wrote:

> Hi all,
>
> I just got my upgrade to LV 6 and I'm starting to dive into it. I have a
> question which I think has two possible solutions. I get results every
> 30 seconds from a voltmeter through a GPIB card, and I want to display
> the waveform on screen, with and without filtering. I've found filtering
> very easy to perform on a Waveform data type, but I don't know how to
> add single values of data to my waveform. So my question is:
>
> - Is there an easy way to append data to a waveform as soon as it is
> collected (so I can filter it easily), or
> - Should I have my data in an arra
y, append the data to it, and perform
> filtering on it too?
>
> Thanks for your help,
>
> --
> Jordi Felices
> Jefe de Laboratorio
> Household Technologies, S.L.
> C/ Argenters, 7
> Parque Tecnológico del Vallès
> Cerdanyola del Vallès 08290 -- Spain
> Tel. 34/935 824 306
> Fax 34/935 824 407
> Email: jordi.felices@house-tech.com
0 Kudos
Message 2 of 2
(2,827 Views)