12-19-2011 07:10 PM
My front panel got completely invisible when I made changes to an already existing program.(It is to be noted that when I resize the front panel controls in this particular program they get invisible too. strange!!). But I can see the block diagram.
Did anyone had this problem. How can I solve it.
Help please.
Thanks
DSK
12-20-2011 08:20 AM
Try putting this code in your block diagram.
This code gets a reference to the current vi and centers the front panel.
12-20-2011 08:32 AM
If it is really invisible, you'll need this:
12-20-2011 11:43 AM
HI,
Thanks for your reply.
I want to know how to write "x 2" parameter in the "Open VI Reference" function, I couldn't do it.
What is it for?
Can you send me the code as an attachment so that I can directly copy into my program.
Thank you.
DSK
12-20-2011 01:44 PM
Check out the help for the Open VI Reference Function. Or, if you have the OpenG library, just use "Current VIs Reference".
VI is attached.
12-20-2011 01:48 PM
The x 2 is really hexidecimal 2. you can right-click on integer numeric controls, indicators, and constants and select visible then radix. you can then use the radix to select how you want to view the integer data. When you create a constant from the Open VI Reference node, the radix is on and selected as hexidecimal.
Hope that this helps,
Bob.