03-24-2005 11:00 PM
03-24-2005 11:24 PM
03-24-2005 11:32 PM
03-25-2005 12:34 AM
04-08-2008 10:35 AM
04-10-2008 09:26 PM
Hi neerza,
Both ways mentioned above will work, as shown in the attached example called picture.vi. The top image uses a Picture object. You can toggle the Boolean switch, used to select which .jpeg file is displayed.
The bottom image is a Picture Ring. Once it is placed on the block diagram, you can drag and drop a picture inside. Then right click, select Add Item After (or Before), and add another picture. The Increment/Decrement button is used to scroll through the pictures. If you want to change the picture programmatically, you can change the ring to an indicator and wire different values to it.
Both methods allow you to change the picture as the VI runs and can be expanded for more than two pictures.
04-10-2008 11:35 PM
04-11-2008 06:18 PM
Hi neerza,
Yes, you will have to programmatically select which file to read or, in the case of the picture ring, programmatically assign a numeric value to the picture ring indicator. I modified the code so the picture changes witih each loop iteration. The Boolean toggles between True and False. The picture ring has a value of 0 or 1, based on the remainder that results when dividing the iteration terminal by 2.
04-11-2008 10:08 PM