PicsiSWT program for magb module