LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crerate waveform from 2D array

Solved!
Go to solution

Hi,

I am working on a real time application which adds a new 1-d array at every 2mS, which gives resultant 2-D array. How can I convert this 2-D arry into wave form in minimum possible delay as application needs online data.

 

Thanks 

0 Kudos
Message 1 of 8
(16,661 Views)

Hi

 

Are you trying to acquire the analog channels data?

 

Does each analog channels acquire samples in 1 D array format?

 

If you acquire data, I want to know what is your sample rate?

 

Thanks

 

0 Kudos
Message 2 of 8
(16,651 Views)
Solution
Accepted by topic author hmdesai

Here is one way. You need to add youer sampling frequency to the dt control and you may need to tranpose the data depending on how it is put together. The other way would be to convert the 1D arry to waveform before saing to a 2D array. Then make a 2D waveform instead.

 

Example.png

 

1D example.png

Tim
GHSP
Message 3 of 8
(16,644 Views)

Hi Desai

 

Here is another way to create waveform which you can see live during the test. I hope this fulfill your requirements.

 

2D into waveform.JPG

 

Thanks

Message 4 of 8
(16,634 Views)
0 Kudos
Message 5 of 8
(16,621 Views)

hi thanks for reply.

yes i m acquiring analog data in 1-D array format at100 Ksamples  at 2 mS. sample rate. 

0 Kudos
Message 6 of 8
(16,606 Views)
thanx buddy....
0 Kudos
Message 7 of 8
(16,601 Views)
@Viru: hey can you show me how can i add time stamp in your method??
0 Kudos
Message 8 of 8
(16,600 Views)