Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

hypertrend lenght change with button or numric entry

Solved!
Go to solution

I would like to change the "trendwith" with a push button or enter a numric value in to "trend.with".   

When I try this I receive a message that "the remote posistion is not witable".

Versions 6.0.1 and 6.0.2.  Non networked systems.

 

0 Kudos
Message 1 of 8
(7,226 Views)
Use Pot instead of pushbutton or TextEntry.
Ryan Shi
National Instruments
0 Kudos
Message 2 of 8
(7,205 Views)
I tried numric entry with a pot to "trend.with". This is when I get the message that "the remote posistion is not witable".
0 Kudos
Message 3 of 8
(7,198 Views)

I retried the numric entry with a pot and it works. Not sure what I did wrong the first time.

But having some operators doing this will be hard for them.

I tried to use buttons but not getting them to work.  I have  included an expression that I hope to use.

 

Pb_24H 24 hour button

Pb_12H 12 Hour button

PB_6H     6 Hour button

 

HyperTrend1.trendWidth=if(Pb_24H,1,if(Pb_12H,.5,if(Pb_6H,.25,HyperTrend1.trendWidth)))

 

Thanks in advance

0 Kudos
Message 4 of 8
(7,196 Views)

I create a sample using your expression.

 

Let me know if it works correctly.

Ryan Shi
National Instruments
0 Kudos
Message 5 of 8
(7,179 Views)
Solution
Accepted by topic author mwjenn

Only process1.lks file in zip folder.

Need process1.lp4 to run.

0 Kudos
Message 6 of 8
(7,152 Views)
You can open the lks with lookout, lks is the "script" that builds the l4p.
Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512
0 Kudos
Message 7 of 8
(7,144 Views)
Thanks Mike.  I never opened the app like that before but I figured it out.
0 Kudos
Message 8 of 8
(7,139 Views)