Ok, so it pretty much worked the way i want it to. I have only a few more questions for you.
First, is their anyway that when you click on the "Set" button it will turn off the LED for the "Measure" button. Then when you click back on to the "Measure" button, it will turn off the LED for the "Set" button. Also, when you click back on the "Measure" button the LED that was lit up before clicking on the "Set" button should be lit up again. The "Set" button should work in the same way, if this makes any sense. This isn't very important so if it can be done, great, if not that's cool too.
Secondly, I have put on the front panel an LED display/indicator. I have a FR*? GPIB read command for this instrument. When the first LED of the "Measure" button is displayed, I need this indicator to read from the GPIB interface command FR1?. When the second LED of the "Measure" button is displayed, I need this indicator to read from the GPIB interface command FR2?. The thrid and forth LED buttons should do the same thing just with the FR3? and FR4? command respectively.
Basically my problem is right now, that i don't know how to read from this instrument. The FR*? is a read command but i don't know how to implement any read commands in LabView. I have attached the new .vi with the code you sent me and some code I added. The indicator is also now on the front panel. Once again, thanks so much for all your help.
Andy