Wind on BIG Display

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Wind on BIG Display

Post by G4MHJ »

I am using the following syntax on my variant of the BIG Iso Display file:

*addloop b3 5 300 \
#clear\n\
#font helvB14\n\
#color 1\n\
#rbox 0 0 70 18 5\n\
#color 0\n\
#string 8 16 WIND\n\
#color 1\n\
#string 82 16 mph\n\
#font fub30\n\
#string 0 60 [wind0wind-avg1=mph.1:--]\n\
#circle 105 43 20\n\
#if#[wind0avgwind-act=mph.1:0.0]#then##pline 105 43 20 [wind0dir-act.0:0]\n#else##fi##disc 105 43 4

When there is NO wind I would expect to see "0.0" but I am seeing "--". The GUST shows "0.0".

Just wondered if I have changed something wrongly.
Image
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Wind on BIG Display

Post by admin »

G4MHJ wrote: Sat Nov 17, 2018 5:46 pm I am using the following syntax on my variant of the BIG Iso Display file:

*addloop b3 5 300 \
#clear\n\
#font helvB14\n\
#color 1\n\
#rbox 0 0 70 18 5\n\
#color 0\n\
#string 8 16 WIND\n\
#color 1\n\
#string 82 16 mph\n\
#font fub30\n\
#string 0 60 [wind0wind-avg1=mph.1:--]\n\
#circle 105 43 20\n\
#if#[wind0avgwind-act=mph.1:0.0]#then##pline 105 43 20 [wind0dir-act.0:0]\n#else##fi##disc 105 43 4

When there is NO wind I would expect to see "0.0" but I am seeing "--". The GUST shows "0.0".

Just wondered if I have changed something wrongly.
That is to be expected, please see the definition in bold.
I just see one "0.0" default definition and that is inside a condition clause, so nothing will be displayed there.
G4MHJ
Expert Boarder
Expert Boarder
Posts: 111
Joined: Fri Aug 24, 2018 9:40 pm

Re: Wind on BIG Display

Post by G4MHJ »

I am starting to understand things a little more now.

I used to enjoy algebra at school but when I left I could never think of a reason for using it. Now, 60 years later it might be too late !

Thanks
Image
Post Reply