Re: [RESOLVED] Converting voltage level into graphical display
Quote:
Originally Posted by
catherine0136
When my hand is place over the solar cell, i am able to observe that the voltage level will decrease and the waveform will also move lower. (See attached image - Solar Cell 1)
Is it whole waveform correct?
--- and ---
:confused::confused:
I don't know what's "correct", but now the output does look like what I would have expected if everything is working as intended. Presumably you can see the waveform scrolling from right to left. And it seems you are getting a grip on the programming side of it. Is there something not to your liking?
I'm glad you posted your code anyway. I'll take a good look at it this evening (W. Eu. time).
BB
Re: [RESOLVED] Converting voltage level into graphical display
Code:
When my hand is place over the solar cell, i am able to observe that the voltage level will decrease and the waveform will also move lower.
Actually whenever i place my hand over the solar cell, i'll get to observe that the voltage level will decrease, just informing you in case you may think that this isn't something right. Lol. :)
Code:
I don't know what's "correct", but now the output does look like what I would have expected if everything is working as intended. Presumably you can see the waveform scrolling from right to left. And it seems you are getting a grip on the programming side of it. Is there something not to your liking?
Yup, i get to see the waveform scrolling from right to left. And nope, there isn't something that is not to my liking. The program seems fine to me =)
Once again, thanks! :thumb:
Re: [RESOLVED] Converting voltage level into graphical display
If I could make a suggestion, add the actual time scale to the X axis of the "Graphical Display".
Re: [RESOLVED] Converting voltage level into graphical display
@Bruce Fox
I actually thought of that too, as it will look nicer. But, ..erm.. i've got to do more research on that, as i've got no idea how to allow to add real time scale whereby the time will move with the waveform. Haha.
But thanks for the suggestion! :thumb:
Re: [RESOLVED] Converting voltage level into graphical display
You don't have to animate the scale, as it is just that - a scale. Each large tick for example may represent 2 Seconds. So, you may have 2, 4, 6, 8 etc displayed on the X axis. In that example the sample will take 8 seconds to reach the right hand edge of the display. Then the sample starts again from 0.
One option would be to draw the first sample (0 to 8 seconds for example) then draw a new sample of back at 0 in a different colour. That way you would be continuing to display trend. Then on the third pass remove the first sample line (so two are always displayed) - for example.
Re: [RESOLVED] Converting voltage level into graphical display
@Bruce Fox
Will consider about your suggestion. :)
But i am still hoping to allow a real time to move along with the waveform. Still researching on that though, and hopefully i'm able to do so.
In the mean time, if anyone have any idea on how to do that, i would really appreciate if you can post your suggestions for my reference.
Thanks in advance! :afrog:
Re: [RESOLVED] Converting voltage level into graphical display
Just outa curiosity, how long would this application be up and running, showing elapsed time?
BTW, it may be time to create a new (unresolved) tread to tackle the new issue :)
Cheers,
Re: [RESOLVED] Converting voltage level into graphical display
Code:
Just outa curiosity, how long would this application be up and running, showing elapsed time?
Sorry, but i dont really understand what you mean. =x
Alrights. Will create a new thread. =)