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!
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!
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)
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?
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
# 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.
This value is set to “2” on our VA. I changed it to 1 but this dont affect the acars sync.
Thank you anyway
What ACARS program?
1 hour ago, ProAvia said:
What ACARS program?
SmartCARS
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.