12-30-2008 09:32 AM
Can I do that in labview 8.5
thanks
12-30-2008 10:46 AM
hello elyan,
tell a little bit more , but its probably possible with treatments...
best regards
Tinnitus
12-30-2008 11:16 AM
12-30-2008 12:30 PM
I'm not entirely clear on what you are asking but you could try this:
Create an array of x and y values from the signal, with however many points you want.
Then convert the values to binary.
Is that what you want to do? If so, I can show you a quick example
12-31-2008 05:32 AM - edited 12-31-2008 05:36 AM
elyan a écrit:
Hi all : I get waveform signal (square signal) from scope .. and I want to convert this signal to binary string …
Hello,
Is that what you want to do ?
12-31-2008 06:52 AM
12-31-2008 09:02 AM - edited 12-31-2008 09:02 AM
Well, to do so you need to first convert the analog signal to binary code. Do you have the square signal from the scope in the first place? If so, you have the array of voltage values that you downloaded from the scope. Then, convert that to zeros and ones by simply putting the array into a comparison function that sees if the value is greater than some voltage, to indicate a 1. This gives you an array of Booleans. At that point it is trivial to convert it to a string. For example, here is one simple way to do it:

@tinnitus: Please attach images inside the post instead of hosting them on an outside site like ImageShack.