09-30-2007 02:56 AM
Hi friends,
I have a VI having few buttons on the front panel.
Actually when I click on the button an integer value is send to the instrument.
For example when I click "Initialize" ; device control command code is 02 i.e "start transmitting" is sent to the device. It initialize the device.
Please let me know how to change the code i.e 02 to 03 ???????
Where is the code setting of the button ????
thanks
Subhash
09-30-2007 05:05 AM
it wont help to post same question several times. not to mention it is not nice.
to the point: i understand you got this program/application from somebody, and you want to change the code. there are several ways, but depends on how your front panel look like:
1) if you have a menu bar, go to windows -> show block diagram. from then on you will probably need a tutorial to LV
2) if you dont have a menu bar, you are probably in run mode -> press Ctrl-M to get to edit mode, then back to 1).
3) if 1) is grayed out, or you are asked for a password, i would call back the guy who made the program
4) if this is an executable without LV environment, you need to get the source code as well as a corresponding license of LV. go back to 3).
in general, if you are working in edit mode, a double clik on any control or indicator will automatically open the block diagram and highlight the corresponding terminal.
09-30-2007 01:56 PM