Karamellwuerfel Posted June 20, 2019 Report Posted June 20, 2019 Hello Folks, I wonder if it's possible to set the intervall of the data send to the website or is this set by the acars program? Currently there are updates every 30 seconds. I want to update maybe every 15 seconds - is this possible? Thanks! Quote
gio1961 Posted June 20, 2019 Report Posted June 20, 2019 (edited) 1 hour ago, Karamellwuerfel said: Hello Folks, I wonder if it's possible to set the intervall of the data send to the website or is this set by the acars program? Currently there are updates every 30 seconds. I want to update maybe every 15 seconds - is this possible? Thanks! <script type="text/javascript"> <?php /* These are the settings for the Google map. You can see the Google API reference if you want to add more options. There's two options I've added: autozoom: This will automatically center in on/zoom so all your current flights are visible. If false, then the zoom and center you specify will be used instead refreshTime: Time, in seconds * 1000 to refresh the map. The default is 10000 (10 seconds) */ ?> var acars_map_defaults = { autozoom: true, zoom: 4, center: new google.maps.LatLng("<?php echo Config::Get('MAP_CENTER_LAT'); ?>", "<?php echo Config::Get('MAP_CENTER_LNG'); ?>"), mapTypeId: google.maps.MapTypeId.TERRAIN, refreshTime: 10000 }; </script> <div class="mapcenter" align="center"> <div id="acarsmap" style="width:<?php echo Config::Get('MAP_WIDTH');?>; height: <?php echo Config::Get('MAP_HEIGHT')?>"></div> </div> <?php /* See below for details and columns you can use in this table */ ?> In acarsmap.php change 10000 to 15000 (15 seconds) Edited June 20, 2019 by gio1961 Quote
Karamellwuerfel Posted June 20, 2019 Author Report Posted June 20, 2019 Thanks, but this refreshes the map - not the data. The data is send every 30 secons and the map just reads the send data every 10 seconds. This means the actual data just changes after 30 seconds. Am I right? Quote
gio1961 Posted June 20, 2019 Report Posted June 20, 2019 6 minutes ago, Karamellwuerfel said: Thanks, but this refreshes the map - not the data. The data is send every 30 secons and the map just reads the send data every 10 seconds. This means the actual data just changes after 30 seconds. Am I right? I guess the local.config.php file in the core directory needs to be modified # ACARS options # Minutes, flights to show on the ACARS # Default is 720 minutes (12 hours) Config::Set('ACARS_LIVE_TIME', 10); Config::Set('ACARS_DEBUG', false); otherwise I don't know. Quote
Karamellwuerfel Posted June 20, 2019 Author Report Posted June 20, 2019 This value is set to "2" on our VA. I changed it to 1 but this dont affect the acars sync. Thank you anyway Quote
Administrators ProAvia Posted June 20, 2019 Administrators Report Posted June 20, 2019 What ACARS program? Quote
Karamellwuerfel Posted June 20, 2019 Author Report Posted June 20, 2019 1 hour ago, ProAvia said: What ACARS program? SmartCARS Quote
Administrators ProAvia Posted June 20, 2019 Administrators Report Posted June 20, 2019 I would recommend contacting them an asking if that can easily be changed. I believe most all data from a flight is dependant on the ACARS program in use. I know that in kACARSII, I can select the data transmission interval thru an admin panel option setting available via the site side kACARSII files. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.