Jump to content

Recommended Posts

Posted

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!

Posted (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 by gio1961
Posted
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.

 

  • Administrators
Posted

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. 

  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...