To make sure your module's files are compiled when PaPCo starts up, you need
to make an init-file. This file HAS TO BE CALLED
YOUR_MODULE_DIR\init_module.pro in order for PaPCo to find it. Each
module has it's own
init_module.pro file. Here is the example of what
the init file for plot_type looks like:
As you can see, the init-file is divided into plot- and read-routines, and those that are needed to interface with PaPCo.
Each time PaPCo is started, it searches all the
YOUR_MODULE_DIR\init_module.pro files it can find in the IDL search
path and writes its own
dynamically. A new file is produced each time you start PaPCo, and you can
examine it to see whether your modules have been found.
Depending on which modules you plan to add to your PaPCo session, you will
need to make changes in the PaPCo configure widget (see Section
papco_user\papco_add_init.pro file is
automatically produced and updated.
Remember: PaPCo will add a button for all the modules that have their
papcoadd_plot_type file in