Jump to content

Front Panel objects relative position change when placing merge VI


Jim Kring

Recommended Posts

Description

Front Panel objects of merged VIs (set to "Place VI Contents" in the palette editor), especially decorations, can be re-positioned relative to each other and the Front Panel when placed from the installed LabVIEW palettes into a block diagram.

Screenshot Example (with audio)

Steps to Reproduce

1) Create a VI with some front panel controls and decorations (noting the relative positions of the FP objects)

2) Add this VI to a palette and configure it to Place VI Contents (when dropped), using the palette editor

3) Drop the VI onto a block diagram and note the relative positions of the FP objects

Observed Results

The relative positions of the FP objects are different from the original VI

Expected Results

The relative positions of the FP objects should be the same as the original VI

Test it for Yourself

Extract the "test merge" folder (from the attached test_merge.zip file) into the "user.lib" folder, restart LabVIEW, and then drop Functions Palette >> User Libraries >> test merge >> test merge.vi onto the block diagram of a VI.

Download File:post-17-1231020958.zip

Link to comment

Here's some more, related, buggy behavior.

When you drop a Merge VI onto a Front Panel, all Block Diagram objects of the merged VI are selected in the Front Panel -- this allowing easy repositioning, which is a nice feature.

However, When you drop a Merge VI onto a Block Diagram, only the Front Panel decoration objects of the merged VI are selected (the controls and indicators are not selected). I would assume that this is a bug and that the controls and indicators should be selected, too, along with the decorations.

Here's another screen capture movie that demonstrates this:

And, here's the new example that I used in this video:

Download File:post-17-1231196007.zip

Status update: Reported to R&D (CAR # 139212)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.