February 18, 200620 yr Commercial Member Ok, got a question to anyone who can help.In gauges.h are several defines that start with PANEL_SERVICE_. They are passed as a 'service_id' to the main gauge callback function. Does anyone have information that provides better insight into each value and what they represent? Ed Wilson Mindstar AviationMy Playland - I69
February 18, 200620 yr Author I did a little research into that a while ago. Essentially, I created a gauge that counted every instance of every one of the PANEL_SERVICE_ events. Outputted the results to a plain text file.I have attached the subject gauge, along with the .c file which contains the important part of the source code. The archive also includes a handful of sample outputs, which may give you what you are looking for without the need of installing the gauge on a panel and running the thing.By way of explanation, in the text files, the number to the left of the 'equals' sign is nothing more than a counter. The number to the right is the number assigned to the given service id. This number is incremented by 100 if the pgauge->parameters pointer has a non-NULL value.DougEdit - if you do want to work with the gauge, the output file will be in your main FS folder.dsd
Create an account or sign in to comment