public override bool updateModule() { bool error = base.updateModule(); //Broadcast the activity CVZ_TPC ctpc = cvz as CVZ_TPC; if (broadcastDisplay) { ImageRgb img = activity.prepare(); img = ctpc.GetFrequencyVisualization().toImgRgb(); activity.write(); } return(error); }