10-29-2009 04:41 AM
Hi Somil,
Absolutely, my actual concern is , 1 = strain on needle, 0 = no strain on needle.
1 simulates the movement of the needle equivalent to producing strain to the needle.
0 is otherwise.
I do not know if its possible to implement different values other than 1 and 0.
Thks N Rdgs
Titano
10-29-2009 04:58 AM
Why dont you use a boolean control for this?
true will mean strain on needle, false will mean no strain on needle
10-29-2009 05:01 AM
10-29-2009 05:07 AM
Hi Somil,
This is mainly for the front panel. Just an additional item to make it thorough.
A sample is attached. Pls do take a look.
Thks N Rdgs
10-29-2009 05:11 AM
m sorry Titano
didnt get what you are trying to say through the pic. will you provide some more details?
10-29-2009 05:19 AM
This strain screen actually computes the strain produced on the needle when its moving in real time by some formulae.
It reflects on the scale accordingly.
Since I'm unable to do that, I'm just simplifying it by either a 1 or 0.
When the needle moves, its 1 and vice versa.
Hope I've explained better.
Thks N Rdgs
Titano
10-29-2009 05:26 AM
Ok, if there is a strain on the needle, it should be depicted on the graph or else the graph should show 0. isnt it?
and you are trying to do this through simple 0 and 1. what is wrong in my code that it is showing 1 when button is pressed and zero when pressed again.
try changing the mechanical action of the boolean button to switch untill released . Is it of any help?
or i am still wrong?
10-29-2009 05:31 AM
HI Somil,
Ur code is absolutely right.
Its just that I want it in the digital waveform type like the strain.jpg.
Thats the concern.
Hope I'm clear enough.
Thks N Rdgs
Titano
10-29-2009 05:49 AM
10-29-2009 05:53 AM
Hi Somil,
Thx for the Vi. Now i have to combine a few things together to make it look like one.
Thx for ur help.
I will be trying out the combination part later at late night.
Hope to ctach ya if poss if not tomorrow.
Thx a million for ur help.
Rdgs
Titano