LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Collecting and Manipulating data of an array (selecting and collecting certain data)

Hi guys, 

 

Here is a complicated problem I am having. In the program that I am using, I am obtaining a random number (either 0 or 1) with the time that it occured (which is also random). Now I want to manipulate this data. I want to collect the time difference between 0 and 1 (or vice-versa). Then I want to filter this data out by enumerating how many 0 following 1 (or vice-versa) happened with a difference of 0.1 seconds, 0.2 seconds, 0.3 seconds, 0.4 seconds, and not care about any difference past 0.4? At the end, I need a table showing how many times this occured for each time. 

 

If this is confusing, I can re-explain something in specific in other words 🙂

 

I am very new at LabView so please be patient with me 🙂

 

Thank you!

0 Kudos
Message 1 of 3
(2,277 Views)

Dear Jordan,

 

Where exactly are you obtaining this 0 and 1 rnadom number? Is it a binary (digital) bitstream coming from some target?

 

Regards.


0 Kudos
Message 2 of 3
(2,259 Views)

@JordanGou wrote:

Hi guys, 

 

 


Your attachment is a totally empty VI. Does this really tell us what you have done so far on the problem?

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 3 of 3
(2,246 Views)