LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remote front panel: button disappears after resizing window

I have an annoying little problem. I have created a remote panel that read the tdms file on a target device. Everything works okay but whenever I resize the window of the front panel by dragging the cursor and then press any of the boolean buttons on the panel, they will disappear. The boolean buttons are for automatically re-scaling the x and y-axes. The button will reappear after I resize the window again.

I'm running labview 8.5 and my target is a RT PXI controller, I'm not sure if this makes any difference.

Any help would be greatly appreciated.
0 Kudos
Message 1 of 6
(4,567 Views)
Can be prevented by disallowing the window to be resized.

None of my own UI's are resizable.

André
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 6
(4,537 Views)
Thanks Andre, but I would really like to be able to resize the window.  Without resizing then there is no problem.
0 Kudos
Message 3 of 6
(4,502 Views)
I have not been able to reproduce this on my system. Could you post an example VI and instructions for reproducing this?
Nick R
NI
0 Kudos
Message 4 of 6
(4,307 Views)
Hi Nick, I have attached the file that is causing me the problem. Basically I wrote a vi that can read a .TDMS file on the target RT PXI, and view it in a graphical format with the ability to view multiple channels. I'm not sure if it will run on your PC as there are some file paths that need to be set, but I think it can be changed easily. To replicate the problem: Run the VI, go to the second tab and open some .TDMS file, hit the OPEN button. Resize the window, and try pressing any of the enabled buttons on either tab after the window resize. 90% of the time the button should just disappear after pressing it. The "Channel" list table should also disappear when one try to select any of the items after a window resize etc. Thank you very much.
0 Kudos
Message 5 of 6
(4,302 Views)
The front panel is a mess. It took me some time to even be able view it.
Everything is changing shape with a resize of the pane.

I would suggest to copy the code into a new VI and redesign the UI, although your code can be improved too.

Use e.g. an event structure for UI control.
You can easily fit the code in 1024*768, but now even 1680*1050 isn't enough to view the code properly. (very difficult to find bugs)

In summary.

- Redesign the UI in a new VI.
- Improve your code density.

If you have time use an event structure to handle the UI.


André
Regards,
André (CLA, CLED)
0 Kudos
Message 6 of 6
(4,288 Views)