LabWindows/CVI Idea Exchange

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 
Post an idea

I occasionally miss some UIR editor features that are often present in similar tools. All the features I expose should interest only

the editing phase.

 

1) Ability to center a control within a panel, in respect to either vertical or horizontal size

2) Ability to "group" a certain number of controls, in order to align the "group" with other objects, without changing the controls' respective positions

3) Ability to lock a control's position, so that it will not inadvertently move when clicking on it, as it casually happens

4) Ability to "evenly" distribute controls in a way that conservers the position of the extremities, allowing for small differences in each spacing

 

 

I am happy to see that the suggestion of integrating the tooltips into the UI editor was successful. Now I would like to see better, more powerful tooltips Smiley Happy

 

In particular, I suggest

 

  • adding another tooltip attribute allowing the tooltip to disappear automatically after a given time (default of say 3-5 seconds); hence the tooltip would show up with the tooltip delay, show for this specified appearance time, and then disappear automatically. I think that this is the most frequently encountered behavior in other programs. Setting this attribute value to 0 or -1 would imply "show infinitely long"
  • adding an attribute TOOLTIPS_WIDTH that would allow for automatic linebreaks, similar to the behavior found in textboxes. Right now, tooltips get infinitely long if no line breaks are inserted manually. Linebreaks, however, depend on font size etc... The width should be specified in pixels (possibly with a default of say 400)
  • adding an attribute TOOLTIPS_WRAP_MODE, specifying the wrap mode (character/word/...) as in textboxes
  • the possibility of simple text formatting, such as bold or italics. For illustration have a look at the CVI UI editor control panel, e.g. of a text box. Click on the question mark in the upper right corner of the window and then on e.g. line mode: This shows a nice example of what I would like to have to better explain different options (of say a ring control) in a clear way
  • additional tooltips for column headers, row headers, even for every cell of a table: Tooltips of a complete table control may not always be useful, while I have several scenarios in mind where these added tooltips would be most useful: - explain the table columns: typically, due to space constraints, table headers are pretty brief and so extra information could be provided via tooltips for each individual column header. - if a table gets larger and is scrolled, table headers disappear: One could use tooltips (per column) to remind the user what he is actually seeing in column 17...

 

Thanks Smiley Wink

 

 

Hello,

 

I'm using the 3D Graph ActiveX in order to display contour lines for a given parameter.

I would like to overlay this contour map with a Google earth image as shwon below.

 

Bitmap in 3D Graph.jpg

 

So it would be nice to consider adding the possibility to add a bitmap image to the 3D graph as it is possible to add a bitmap as background of a canvas control. The bitmap could also be used to replace the color of a surface plot.

 

 

I would like to see a way to lock a control's coordinates so that they are not accidently selected and moved once they have been placed on the GUI.  It would be nice to lock the control to the GUI if I know that I am not moving the control again.

 

It seems that one cannot cut/copy/paste menu items between multiple menubars.  If I copy an item in one menu bar, exit the 'Edit Menu Bar' dialog, then open the 'Edit Menu Bar' dialog for another menubar the paste buttons are dimmed.  It would handy at times to be able to do this.  Thanks.

Summary:

Hovering over the breakpoint diamond, a tooltip should display the breakpoint condition.

 

Description:

Useful breakpoint information, such as the breakpoint condition, line number or hit count could be displayed when hovering over the breakpoint diamond in the source editor. Otherwise, you would get this kind of information by looking at the breakpoint in the Breakpoints Window or the Edit Breakpoint Window.

If a panel is made part of a tab (InsertPanelAsTabPage) or if a panel handle is obtained from a tab (GetPanelHandleFromTabPage), there are some restrictions as to how you can use that panel. Some of those restrictions could be lifted if the panel knew which tab it belonged to.

 

I suggest the addition of the following (or similar) attributes:

GetPanelAttribute(Panel, ATTR_PANEL_PARENT_TAB_CTRL, &TabCtrl);

GetPanelAttribute(Panel, ATTR_PANEL_PARENT_TAB_INDEX, &TabIndex);

And of course you can already get the parent panel with:

GetPanelAttribute(Panel, ATTR_PANEL_PARENT, &ParentTab);

 

So, now that a panel knows the tab it belongs to, some obvious associations can be handled by the UIR library:

  • Calling DiscardPanel should, internally, call DeleteTabPage instead of the current undefined and illogical behavior
  • SetActivePanel should do a SetActiveTabPage instead of the current buggy behavior
  • SetPanelAttribute(.., ATTR_DIMMED) should do a SetTabPageAttribute(..., ATTR_DIMMED)
  • - etc...

This would allow the user to select at runtime if he wants a Multiple Panels application (MDI) or a Single Panel/Multiple Tab application (tabbed SDI) and almost no changes are necessary to the code.

Summary:

Improve the Breakpoints Window, so that breakpoints can be more easily managed.


Description:

1. Change the Breakpoints Window, from a modal dialog to a dockable window (similar to the Watch Window). Debugging can be more easy this way.

2. Allow breakpoints to be grouped, disabled/enabled and edited in user defined categories. This allows users to easily collectively manage several breakpoints at a time. It also helps the user to logically group breakpoints, depending on various issues issues that he might be working on.

3. Breakpoints could also be sorted from a pop-up menu by filename, line, hit count, etc.

 

Breakpoints Window

Summary:

Quickly find and open a file in your projects by typing in substrings of the name of the file.

 

Description:

Implement a quick way to find files in a CVI project, by typing substrings of the filename.

A certain keystroke combination should launch a popup-dialog (similar to the picture below), displaying the user a list of files that contain certain substrings. This helps significantly when having to deal with large projects containing many files.

 

Find File

Summary:

Display more struct member information during source editing and during debug.

 

Description:

While editing source code, CVI only displays the struct members, but no information regarding the type of the member (or declaration information, line file and line).

Add a tooltip to the right of the pop-up displaying the struct members in the source editor to display this information. Similar to this picture:

struct.jpg

Also add support for displaying nested structs and even display the member values while debugging, in form of a tree, when execution is suspended (CVI currently only displays the memory address of that struct variable).

 

Summary:

Implement and add easy access to multiple clipboards inside the CVI ADE.

 

Description:

The CVI ADE (at least the source editor) should keep the most recent sequences of text that had been copied (Ctrl+C) to the clipboard.

It should also allow access to the multiple clipboards through some pop-up menu, displayed at a certain keystroke combination.

Summary:

Implement Swap Lines shortcut key (Alt+Up/Down).

 

Description:

Often, I need to swap two lines of code in my source file or maybe just move one or several lines up or down inside my code.

In order to do this, you normally have to do a cut and paste in order to move the lines.

 

Having a Swap Lines feature in the CVI source editor could significantly speed up this process, especially when you have to handle big chunks of code.

The Swap Lines mechanism could be triggered by the Alt+Up/Down.

This feature should also support multiple lines selections.

With the batch built dialog, it is possible to select "all releases" and/or "all debugs". This button causes, that all 32-bit AND 64-bit releases and/or debugs are selected (marked). It would be helpful, if the selection buttons would be splitted in "select all 32-bit releases", "select all 64-bit releases", "select all 32-bit debugs" and "select all 64-bit debugs". When I develop e.g. 32-bit Software, I don't need the 64-bit versions.

 

It would be also helpful, if it is possible to select the sequence of the batch built. For example: project 1 depends on project 4, but project 4 is currently compiled after project 1 etc.

Same as the post "ATTR_DIMMED". I want to hide some tree items without deleting them. My work around is currently, to set the item size of the item, which shall be not visible, to 1 (0 is not supported). The disadvantage is, that the "small" items are still shown and there are big spaces between the "visible" tree items.

Same as the post "ATTR_DIMMED". I want to hide some tree items without deleting them. My work around is currently, to set the item size of the item, which shall be not visible, to 1 (0 is not supported). The disadvantage is, that the "small" items are still shown and there are big spaces between the "visible" tree items.

When I use the function "CopyTreeItem", the item is copied, but the value (behind the item is automatically increased or changed). Because the item might be used several times and the item is identified by its value, it is necessary, that the value behind the item is NOT changed. Please don't change the value of the item, when it is copied or please add a parameter, which handles the changing of the value (e.g VAL_DONT_CHANGE, VAL_LAST etc.).

Hello,

 

I miss an event that is fired whenever an axis, set to autoscale, changes its minimum/maximum values.

 

Imagine the following scenario: On a xy graph, I have several plots and also some 'regions of interest' that are visualized either by lines or rectangles. Now, if a new plot is added that results in a different axis scale, I also need to redraw my regions of interest. At present, this requires bookkeeping of xmin, xmax, ymin, ymax and comparing the current axes ranges with the previous ones. It appears to be simpler if one could rely on a suitable event that is fired whenever the axis range is changed.

 

Thanks Smiley Wink

Hello,

 

I would consider it quite convenient having a simple CVI function, similar to GetPanelDisplayBitmap, providing a true screenshot image of a CVI panel.

 

As discussed here, the CVI function GetPanelDisplayBitmap does not provide a screenshot image of the panel, i.e. the bitmap lacks all OS-specific features (color theme etc.).

 

For backward compatibility reasons, NI should provide a new function, returning a bitmap that looks the same as if I would have pressed Alt+Prt Sc

 

 

Thanks!

Presently there is a context menu for menu elements to generate / jump to a menu item callback. These items are not present in top level menus that have a callback function installed (those with the exclamation mark appended), where only 'Edit' item is present. It would be handy to have these options added to those items too.

 

See this image:

ContextMenuOnMenus.PNG

I would like to have the possibility to store the uir-file not as a tui-file (old-fashioned ini file), instead as a xml file.