Current SPAD.neXt Release: 0.9.12.123

This forum has closed. Please join our Discord Community.

SPAD.neXt online services are no longer available for SPAD.neXt Versions < 0.9.11.5

Search found 7 matches

by jojo86
14 Jan 2019, 23:55
Forum: General
Topic: Custom expression help !
Replies: 18
Views: 8130

Re: Custom expression help !

Hi,
What did you mean from this subject ?
And yes thanks for lower and greater than idea.
thedazman wrote:
14 Jan 2019, 23:47
but SPAD then added expressions into gauges
by jojo86
14 Jan 2019, 22:32
Forum: General
Topic: Custom expression help !
Replies: 18
Views: 8130

Re: Custom expression help !

Yes, I confirme that"s works fine like that :

Code: Select all

If ( [SIMCONNECT:INDICATED ALTITUDE]  >=  [SIMCONNECT:AUTOPILOT ALTITUDE LOCK VAR] - 60 
  &&
 [SIMCONNECT:INDICATED ALTITUDE]<= [SIMCONNECT:AUTOPILOT ALTITUDE LOCK VAR] + 60
  , 1, 0)
 
by jojo86
14 Jan 2019, 14:37
Forum: General
Topic: Custom expression help !
Replies: 18
Views: 8130

Re: Custom expression help !

Yesterday I went sleeping very late.
I have to look angain this evening, but I’m pretty sure that my last formulea works.
So I’ll come back to confirm that the less or more symbols can be used.

See you!
by jojo86
14 Jan 2019, 00:29
Forum: General
Topic: Custom expression help !
Replies: 18
Views: 8130

Re: Custom expression help !

Hi, how can I use a AND operator ???
I tried this but I'm not sure that's works :

Code: Select all

If ( [SIMCONNECT:INDICATED ALTITUDE]  >=  [SIMCONNECT:AUTOPILOT ALTITUDE LOCK VAR] - 50 
  &&
 [SIMCONNECT:INDICATED ALTITUDE]<= [SIMCONNECT:AUTOPILOT ALTITUDE LOCK VAR] + 50
  , 1, 0)
 
by jojo86
13 Jan 2019, 11:41
Forum: General
Topic: Custom expression help !
Replies: 18
Views: 8130

Re: Custom expression help !

That’s fine you can use the expression as a led trigger and it should work, but not while you are using = instead of less than/greater than. Daz Ok, can you help me to write this condition ? I want to change the status when the real altitude is near my autopilot altitude lock +-50feet. I can try ag...
by jojo86
13 Jan 2019, 10:59
Forum: General
Topic: Custom expression help !
Replies: 18
Views: 8130

Re: Custom expression help !

Without considering syntax your statement should be more like... if altitude greater than ap lock + 50 or altitude less then ap lock - 50 Your statement is only true if alt = 5050 and ap lock =5000 the moment you altitude goes to 5051 it’s no longer true. Daz Yes this is my objectif. This expressio...
by jojo86
13 Jan 2019, 01:20
Forum: General
Topic: Custom expression help !
Replies: 18
Views: 8130

Custom expression help !

Hello, I want to calculate a book status with a formulea. I tried this one but It doesn’t works : || is for OR condition is it correct? If ([SIMCONNECT:INDICATED ALTITUDE] - 50 = [SIMCONNECT:AUTOPILOT ALTITUDE LOCK VAR] || [SIMCONNECT:INDICATED ALTITUDE] + 50.00 = [SIMCONNECT:AUTOPILOT ALTITUDE LOCK...