Code Snippets

  • strict warning: Non-static method view::load() should not be called statically in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/views.module on line 843.
  • strict warning: Declaration of views_plugin_display::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/plugins/views_plugin_display.inc on line 1877.
  • strict warning: Declaration of views_plugin_display_page::options_submit() should be compatible with views_plugin_display::options_submit(&$form, &$form_state) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/plugins/views_plugin_display_page.inc on line 481.
  • strict warning: Declaration of views_handler_field_broken::ui_name() should be compatible with views_handler::ui_name($short = false) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/handlers/views_handler_field.inc on line 641.
  • strict warning: Declaration of content_handler_field::options() should be compatible with views_object::options() in /home/bfhwww/maglevhaptics.org/sites/all/modules/cck/includes/views/handlers/content_handler_field.inc on line 206.
  • strict warning: Declaration of views_handler_sort_broken::ui_name() should be compatible with views_handler::ui_name($short = false) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/handlers/views_handler_sort.inc on line 82.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/handlers/views_handler_filter.inc on line 585.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/handlers/views_handler_filter.inc on line 585.
  • strict warning: Declaration of views_handler_filter_broken::ui_name() should be compatible with views_handler::ui_name($short = false) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/handlers/views_handler_filter.inc on line 609.
  • strict warning: Declaration of views_plugin_style_default::options() should be compatible with views_object::options() in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 25.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/bfhwww/maglevhaptics.org/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.

Out of Range - Takeoff

/* Title: Out of Range - Takeoff
 * Description:The Maglev can only take off if the flotor is in a position which can be detected by the devices sensors.
 * Usually, the monitor program is being used to check the sensors' status and to manually align the flotor so that it can
 * take off. This is rather inconvinient since it requires to start the monitor program everytime the flotor is out of range.
 *
 * The following code snippet shows an alternative method: It repeatedly checks the status of the Maglev sensors until

My awesome function

Hey this is how to write hello world:

void main(int argc, char* argv) {
  printf("hello world");
}