LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arrow key function in front panel

Solved!
Go to solution

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

0 Kudos
Message 31 of 67
(2,263 Views)

Why dont you use a boolean control for this?

 

true will mean  strain on needle,  false will mean no strain on needle

Somil Gautam
Think Weird
0 Kudos
Message 32 of 67
(2,255 Views)
or use something like this
Somil Gautam
Think Weird
Message 33 of 67
(2,254 Views)

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

0 Kudos
Message 34 of 67
(2,251 Views)

m sorry Titano

 

didnt get what you are trying to say through the pic. will you provide some more details?

Somil Gautam
Think Weird
0 Kudos
Message 35 of 67
(2,246 Views)

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

 

0 Kudos
Message 36 of 67
(2,242 Views)

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?

Somil Gautam
Think Weird
0 Kudos
Message 37 of 67
(2,231 Views)

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

0 Kudos
Message 38 of 67
(2,227 Views)
see this
Somil Gautam
Think Weird
Message 39 of 67
(2,218 Views)

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

0 Kudos
Message 40 of 67
(2,217 Views)