LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gaussian curve

Hi,

 

Thanks for the advice connection problem is resolved but unfortunately still not getting the desires output via arduino pin(gradual increase if the led lights). Whereas, using the same technique with sine wave generator intensity of the lights moves according to the pattern of the sine wave. I have attached both screenshots. If you could suggest something that would be great.

cheers

0 Kudos
Message 11 of 12
(777 Views)

It is pointless to show pictures with express VIs, because we cannot tell how e.g. the sine generation is configured. Also note the coercion dot. There is no way to tell what happens with the dynamic data at the "write" subVI.

 

You still have a very poor understanding of LabVIEW and dataflow in general and you have not listened to any of my advice. All you did is turn off autoindexing at the FOR loop output, thus all you are getting is the last value of the gaussian (after a long 10s wait!), and that last value is probably close to zero. 

 

Why do you think you need to re-calculate the gaussian with every iteration of the while loop? Nothing ever changes? All this belongs outside the while loop, because it needs to be done exactly once, and not over and over again.

 

You have not scaled the data to the range 0...255 and converted to U8. Just changing some indicators to U8 does not do anything useful to the underlying data.

0 Kudos
Message 12 of 12
(763 Views)