I'm using a Switch/Indicator Panel element in CANalyzer for visualising some system states with an image. I would like to change the path from where the Switch/Indicator gets this image by means of a CAPL program configured inside a Program Node in a Mesaurement Setup. So, are there a way to change a property like "image path" of a Switch/Indicator Panel element from CAPL?
There is a PictureBox element in the CANalyzer Panel whose file path can be loaded in measurement time with the SetPictureBoxImage() CAPL Panel function. The advantage of doing so (PictureBox instead Switch/Indicator element Panel) been that if you need to represent a very large number of states (N), the Switch/Indicator method will need a unique very large image file (maybe not manageable), whereas the PictureBox will need N little images.