LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating signal as shown in the image in labview

Solved!
Go to solution

The above attached is the only thing I have at hand adn I want to generate similar to the signal shown in the image.

Can someone guide me for this.

0 Kudos
Message 11 of 34
(1,370 Views)

You still have not provided enough information. What is this 'project report' you are referring to? What is the source of the original signal? What is the original signal supposed to represent? Have you tried anything? It was suggested to start with a sawtooth waveform. Have you done anything with that?

0 Kudos
Message 12 of 34
(1,359 Views)
Solution
Accepted by GoviRe

Example_VI.png

0 Kudos
Message 13 of 34
(1,345 Views)

Hi Todd_Lesher,

This is what I was looking for.Can you please post the vi you made.

thanks

0 Kudos
Message 14 of 34
(1,321 Views)

Can you explain of how you changed the input signal image I posted to the PNG (the one you are using as the input singal iamge) alogn the vi you made.

0 Kudos
Message 15 of 34
(1,304 Views)

Oh, shoot. I thought I posted a snippet. I deleted the source.

First, I cropped the png file to the smallest area that included the white line. I used gimp2, but paint works just as well.

Then, I loaded the png file, converted it to a 1-bit pixmap, rotated it 90 degrees (transpose 2d array), and saved the index of the first True value in each row.

0 Kudos
Message 16 of 34
(1,294 Views)

hello,

we have a trouble in connecting source to sink since the type of the source is different from the sink.

the type of the source is double(64 bit real(~15 digit precision))

the type of the sink is 1D array of double(64 bit real(~15 digit precision))

 

plz help us to rectify it

0 Kudos
Message 17 of 34
(1,283 Views)

Hi Todd_Lesher,

I tried the way you explained but I am not getting of how to rotate 90 degrees and I need some modification to get the final as yours.Can you help me out in modifying the attached as the same of yours.

Thanks.

0 Kudos
Message 18 of 34
(1,263 Views)

Patan,

 

Think these are just basics.

You already used the functions of the most uncommon blocks.

Anyway I added it in attachments, you could just use the snippet from Todd.

 

Koen

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
Message 19 of 34
(1,253 Views)

Hi KoenR94,

The vi you posted is reading the PNG image but it is not showing up the final waveform.The input image I fed is attached below.

Can I know what is the problem with this.

 

0 Kudos
Message 20 of 34
(1,246 Views)