LabWindows/CVI Idea Exchange

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

Hello,

 

There are several quests for better graph and UI controls, and I support them all Smiley Wink

 

Now, I was very impressed looking at the new WPF Graphic controls of Measurement Studio 2012 and would like to have similar features in C (i.e.CVI), too.

 

So in addition of having classic controls and lab style controls may by one could also add this new scheme of controls...??? The graph control in particular looks very promising, with color gradients and polar plots, both frequently requested features, here realized in a new style. Wanna have...

 

For a fist impression, see here 

 

Thanks!

In few applications, while plotting multiple parameters on same graph,we should have multiple Y-axis insertion.

Like 1 parameter's axis limit is 0 to 50 while other has 0 to 5000 ,so when we plot both ,the change in parameter with smaller value is not seen properly.it look like plain line.

 

Also when we move cursor to graph it should show value at that position.

Hello,

 

right now, the length of the constant names assigned to tab panels in the UI editor seems to be limited to 10 characters, e.g. TABPANEL_10 does not work anymore.

 

I suggest to lift this limitation.

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!

Hello,

 

sometimes I use the built-in PromptPopup function, in order to get the user input. It is very comfortable having this feature, but I'd appreciate it more, if I could initialize the "Response Buffer" passing a not void string.

This means that if the string passed to Response Buffer is void, the function works exactly as today. Otherwise, if the string contains some value, the input field of the popup window will be initialized with that value.

 

Kind regards,

Sergio

We're currently in the era of the large widescreen monitor.  Can we have the title bar in the IDE show the full path name of opened instead of abbreviating it with '...' if the window is large enough to show the full path name?  Thanks.

Hello,

 

I have 2 suggestions for graph improvements.

 

1/ I suggested the first one a long time ago but it has never been implemeted so I try again trough this idea exchange board.

I would like to have the possibility to change the grid lines style to dash or dot. Today only solid is available.

I have written a routine to do it for printing graphs but as you can see it in the attachment it is not always working properly.

 

2/ It would be nice to have the possibility to set a percentage of transparency for the plots. In the example attached you can see if the green plot would have been behind the blue some parts would not have been visible. By setting the percentage of transparency of the blue one the green if behind the blue would become partly visible.

 

These 2 features are already available in the 3D graph so it would be nice to have them also on 2D plots.

 

Regards

Bertrand

As suggested about two years ago (http://forums.ni.com/t5/LabWindows-CVI/Is-it-possible-to-have-an-explicit-sign-in-numeric-controls/m-p/818370) I am still looking for a possibility to explicitly show the positive sign of a numeric value in numeric controls, i.e. the control should display '+6.789' instead of '6.789'.

 

Phrased differently I would like to have one more attribute 'SHOW_POSITIVE_SIGN' that could be set to

 

0: don't show the plus sign, i.e. display numbers as is implemented now, default

1: show plus sign for positive numbers

2: show plus sign for positive numbers and zero

 

 

At the moment the maximum panel and control name length is limitted to 32, if you set them programmatically.

 

Because of longer customer system signal names it is not possible to use them directly as control names. If the maximum length could be raised to 64 or to the maximum label length, it would help to avoid to generate new control names and the additional mapping between costumer system signal names and the generated control names in the test environment.

Hello,

 

building on this suggestion I'd like to see a more comfortable panel of the UI editor for editing label/value pairs, see below:

 

LABEL.png

 

Suggested changes:

 

  1. Add the possibility to dim / hide the selected entry
  2. Add the possibility to insert separators in the GUI editor, not only programmatically
     
    Thanks!

 

I was operating on Pop-ups,I felt need of feature like java.

 

In Java when we have display Message we can easily concatenate variable with message string by using '+' sign.

 

 

Ex.

    In LabWindows,when do message pop up,

  

   {

    int var = 3;

  

    MessagePopup("Message count","Message No : "+var);

    }

 

 

     such a feature should be there.otherwise we do some string operation then Display message like " Message No : 3".

 

    So it increases string operations and string operations gives problem in memory management.

 

So at least In API's such '+' sign for concatenation of string with variables should be available.

Even if it is C language supported.

 

Hello,

 

I am still happy that the tooltips have been moved from the Programmer's Toolbox to the UI editor. Smiley Happy

 

Now when using them on a more regular basis it turns out that the programmer might grant the user the option to show / hide them. As a result, I would need to programmatically browse through all controls to change the respective parameter (the same is true for the delay time).

 

Hence I propose providing two new, more or less global attributes (these could possibly be panel attributes) that set the tooltip enable/disable status and the on/off delay times for all tooltips (on a panel).

 

This feature is not urgent as it can be implemented already now with some effort, but it might make code a bit shorter and simpler Smiley Wink

 

The more 'urgent' tooltip requests are here...

When working on laptops the room space in the UIR editor is relatively small compared to the size of actual wide desktop videos. Moreover, starting from CVI 2010 the user interface browser consumes additional room to the right of the editor, thus leaving only a few space to design/review panels.

It would be a good addition the possibility to preview an entire panel on the screen, with the ability to zoom in and out so that one can have an idea of the final aspect the panel will have.

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.

Somewhat similar to SetBreakOnLibraryError, I suggest the addition of a function that does a breakpoint when the specific attribute of a panel/control changes.
It could work like this:

SetBreakOnCtrlAttributeChange(panel, control, Attribute)

with also:

ClearBreakOnCtrlAttributeChange(panel, control, Attribute) // Use -1 to clear them all

SetBreakOnPanelAttributeChange(panel, Attribute),

ClearBreakOnPanelAttributeChange(panel, Attribute) // Use -1 to clear them all

 

Example of use:

SetBreakOnCtrlAttributeChange(panel, control, ATTR_CTRL_VAL)

SetBreakOnCtrlAttributeChange(panel, control, ATTR_VISIBLE)

Hi,

 

sometimes it is useful to know if the mouse cursor is above a certain control or not, e.g. a graph control where one might want to toggle the visibility of display coordinates, etc.

 

Right now, this can be accomplished by installing a timer that periodically calls GetRelativeMouseState() to get the current mouse coordinates which can then be compared to the control coordinates.

To me, this seems to be quite some overhead to have a timer busy all the time checking for various, possibly very many, control coordinates. It appears simpler to have two more events, similar to EVENT_GOT_FOCUS and EVENT_LOST_FOCUS, but triggered on mouse position alone.

 

The suggestion is also different from EVENT_MOUSE_POINTER_MOVE.

It would be nice to be able to import and export custom environment and color settings.  This would allow users to transfer settings to another computer, and it would also allow the community to create color schemes that could be shared.  Creating a good color scheme from scratch is time consuming, so it would be nice for both the creater and the user to be able to share the work that is done.

 

CustomColors.PNG

 

Regards,

 

Brandon V.

 

 

Currently, you can get two views of the same source/header file in the IDE by pulling down a second view from the top of the window.  It would be handy on occasion to be able to pull down more than two views in order to see more than two parts of the file.  Hopefully the attached mock-up screenshot will better show what I'm asking for.

 

Thanks.

multiplesplitmockup.PNG 

Here's my suggestion:

Change

SetAxisScalingMode(panel, control,  Axis, scaling, Min, Max)

to

SetAxisScalingMode(panel, control,  Axis, scalingMin, Min, ScalingMax, Max)

so that the lower limit of an axis can be VAL_MANUAL (for instance at 0) while the upper limit can be VAL_AUTOSCALE

One nice feature of menu bars is their capability of grouping different items using a separator.

 

Having ring controls with many text entries it would be nice from a user perspective if these many entries also could be grouped using one or more separators.

 

What would be also convenient is the ability to dim or hide a specified entry; right now it is possible to rebuild the ring programmatically with one or several entries less (or more), but this is some overhead that could be minimized by simply hiding or showing an indexed entry.