LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform processing

This is the waveform i derived from the oscilloscope.

waveform.JPG

Time scale: 100 ms
25K samples per second
By manual means of measurement from the oscilloscope the time duration between A and B was found to be 70 ms and the pulse width (any pulse) was approximately 72 microsec.

 

I need to read the binary data from this waveform and then i need to convert that to a hexadecimal value. Any suggestion how to handle this?

Message Edited by Mathan on 05-25-2010 02:03 AM
0 Kudos
Message 1 of 20
(3,885 Views)
Do you mean you want to calculate the 0s and 1s from the wave form? Or zeros and all other non-zero values ?
Message 2 of 20
(3,873 Views)

muks wrote:
Do you mean you want to calculate the 0s and 1s from the wave form? Or zeros and all other non-zero values ?

 

Thanks MUKS for looking in to it. I want to find out the 0s and 1s and the resultant binary value needs to be decoded into hexadecimal value.
0 Kudos
Message 3 of 20
(3,863 Views)
Are you able to get this wave form chart values to an array?
0 Kudos
Message 4 of 20
(3,861 Views)
Do you want to do some sort of analog to digital conversion of the samples you have? Like simulating an ADC. If you get your data from a scope, the samples are most probably sent as binary values, and then converted to floating point in the instrument driver.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 5 of 20
(3,849 Views)

Dear Muks, yes i can get the waveform graph values into the array.

 

Dear Coq Rouge, no i do not want to do the ADC. Yes as you said, the samples are stored as floating point values in the array. Based on that i need to determine the binary value of the pulse.

0 Kudos
Message 6 of 20
(3,831 Views)

Mathan wrote:

Dear Muks, yes i can get the waveform graph values into the array.

 

Dear Coq Rouge, no i do not want to do the ADC. Yes as you said, the samples are stored as floating point values in the array. Based on that i need to determine the binary value of the pulse.


 

I then you say binary value. Do you mean binary like true or false or something else. I think you must elaborate on what you are trying to do. Because I do not get it


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 7 of 20
(3,822 Views)

MAthan,

 

I cannot understand what you are trying to do either.  Please describe what the output should look like for the signal you posted.

 

Also, it appears that there is a timing discrepancy.  You indicate that the data pictured represent 100 ms and that the sample rate is 25 kS/s, but it looks like you have plotted 25000 samples.

 

Lynn 

Message 8 of 20
(3,811 Views)

Dear Coq Rouge, thanks for the continuous support.

Sorry please forget about the previous posts. Here is the new complete updated requirement. There are two waveforms acquired from two separate channels from the oscilloscope TDS7404 as shown in the picture.

 

untitled.PNG

 

 

When there is a low pulse in the first waveform, it should be decoded as binary '0' and when there is a low pulse in the second waveform, it should be decoded as binary '1'. In the other cases like when both the waveforms are in the same state (both are high or both are low) simply neglect the value and do not consider it for binary value. Am i clear. Please ask me if i was not clear with my explanation. Please find the attached vi with the real data acquired from the oscilloscope.

0 Kudos
Message 9 of 20
(3,802 Views)

Hi Mathan,

 

I am not really sure what you are looking for here. I tried to help with what I think you are asking for. I find the peaks in the data then convert the peakloactions to binary and to hex.

 

Tim
GHSP
Message 10 of 20
(3,800 Views)