LabWindows/CVI Idea Exchange

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

I'd like the following options being added to FileBrowser tollslib control:

 

  • Ability to hide / tailor popup menu for the right portion of the FileBrowser (file list): at present, even if I disable the popup menu on the tree control (regardless it is made before or after converting the tree into a FileBrowser) the rightmost part of the control has its own popup menu enabled
  • In case the menu is shown, it would be a good thing to be able to add / change / hide items in that menu
  • Ability to programmatically set the width of columns in the file list section of the FileBrowser
  • Ability to programmatically set the label of columns both sections of the FileBrowser: this is particularly necessary in case you need to localize the user interface in a language other than English, as FileBrowser cannot be treated by the Localization Utility since it is created at runtime

Hello,

 

This suggestion is about an improved handling of tab panels. Let's assume there are several tab panels, but only 3-4 tabs fit in a row. Selecting 'Single Row Scroll' will show say 3.5 tab panels and the row selector. Now I'd like to access say tab panel 5: Right now this requires clicking on the row selector to show the desired tab AND then click on this tab to show the tab panel. It would be more convenient if clicking the row selector would automatically show the next tab, too.

 

Let me give an example: The desired tab is not shown in the scroll list below, so one has to click on the right arrow...

 

step1.png

 

... until the tab shows up:

 

step2.png

 

But still the first tab panel is displayed, so another mouse click is required:

 

step3.png

 

It is not just that one more mouse click is needed, but the mouse needs to moved, too, to click on the respective tab... It would be much more convenient to simply click a few times at the same position...

As labview has them for ever, can you add them to CVI helping reduce the UIR handling and programming a bit?

Please consider the possibility to enable the use of CVI application as web server so that the application will accessible to the web.

Its open one new world (wide  web..).

 

Consider the opportunity to ope to all smartphone device....

I thought I'd submitted that in the past, but I can't find it.

 

I would like to programmatically do what the F11 button does in the user interface editor: change the style of a control into another one of a similar category, keeping whatever attributes are compatible. For instance a numeric into a thermometer, etc...

 

Currently ATTR_CTRL_STYLE is not settable, and I tried to write some way to transform a control into another with NewCtrl/DiscardCtrl but the main problem is that the control number changes, which complicates the rest of the program needlessly (you can't use constant #defines).

After loading a file file into the UIR Localization Tool you have the ability to show a preview of individual panels with the localized strings by pressing the "Open >>>" button. The problem is that, unless the panel is set to auto center in either direction, the preview honours the actual position (top, left) the panel has into the UIR file, with the effect that some panels cannot be previewed as they are out of the viewable screen area. As an example, see the attached UIR file, where PANEL_4 and PANEL_6 are not auto centered while the others are: you'll see that their position is not in the center of the screen.

 

In my opinion the goal of this tool preview ability is to show the final aspect a localized panel has, so it should automatically auto center each panel regardless the value these attributes have into the UIR file.

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

 

 

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.

 

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.

Hello,

 

I am glad that the event EVENT_MOUSE_WHEEL_SCROLL was added some time earlier to CVI. In principle, now it is possible to operate numeric controls, ring controls, etc. not only via keyboard and mouse, but also via the mouse wheel. This allows very smooth operations, great!

 

However, the integration level is inconsistent: While pressing the ARROW_UP key on a selected control will increase the value displayed in the control automatically, i.e. without the need of the programmer to react to a specific event, achieving the same result with the mouse wheel requires adding code to each callback. This is possible, but inconvenient as it adds a lot of overhead.

 

Right now, in every callback of a numeric or ring control that shall support the mouse wheel I have the following lines:

 

    switch ( event )
    {
        case EVENT_MOUSE_WHEEL_SCROLL:
            if ( eventData1 == MOUSE_WHEEL_SCROLL_UP )
            {
                FakeKeystroke ( VAL_UP_ARROW_VKEY );
            }
            else if ( eventData1 == MOUSE_WHEEL_SCROLL_DOWN )
            {
                FakeKeystroke ( VAL_DOWN_ARROW_VKEY );
            }

            break;
        case EVENT_VAL_CHANGED:
    ...

 

Hence I suggest

  • either to treat a mouse wheel on a selected control like an ARROW_UP or ARROW_DOWN keypress (personally preferred)
  • or to add one more attribute allowing to treat a mouse wheel on a selected control like an ARROW_UP or ARROW_DOWN keypress. In the UI editor, then there should be a checkmark (allow mouse wheel support), similar to the check marks initially dimmed etc. This attribute could be useful if there are concerns of backward compatibility - may be some users don't want to support the mouse wheel...

 

Thanks!

When a user changes a numeric control radix, LabWindows/CVI generates an EVENT_RADIX_CHANGE event and sends the event to the control callback function.

eventData1 = The new format of the radix(VAL_DECIMAL_FORMAT, VAL_HEX_FORMAT, VAL_OCTAL_FORMAT, or VAL_BINARY_FORMAT).  Provide an attribute to set the radix from source code.

When developing a process mimic, it is very helpful to have lines and arrows linking the controls, to make it easier to visualise the process flow. A simple example would be to have a line or an arrow from the control that sets a motor's voltage to the control that shows the measured motor speed. Obviously any real-world example would be much more complicated than this.

 

If there is already a way of doing this, then my request is to make it much more clear in the help system. My searches yielded nothing beyond making a bitmap in another tool, putting controls on top and controlling the Z-plane to get what I want.

Hi,

 

In an application I allow users to select

  • one file (using FileSelectPopup)
  • one or more files (using MultiFileSelectPopup) or 
  • all files in a given directory using DirSelectPopup.

 

Unfortunately it is not possible to select two or three directories. Of course this can be emulated using MultiFileSelectPopup and marking all the files in all directories - but without the comfort of simply clicking a few folder names.

 

I thus would like to see a companion function MultiDirSelectPopup allowing the selection of several directories, in close analogy to MultiFileSelectPopup.

 

 

Thanks!

It might be handy at times to have a built-in pop up type like the PromptPopup, but is intended for prompting the user for a number as opposed to a string.  I've run across this need many times, and I either have to roll my own pop up, or use the PromptPopup/GenericMessagePopup with a Scan() command a bunch of checking to make sure the user input a number and not a string or a character and so forth.  I would imagine such a pop up panel would take a variable type (VAL_DOUBLE, VAL_INTEGER, etc.), a default value, min/max limits, and possibly some other parameters like precision, format, and increment.  Thanks.

Currently, this option is in the Options menu, but I think that it makes more sense under build (next to target settings).  I understand the reasoning for this may be that the build options are an environment setting rather than a project-specific one, but I always look under build for this option.  It also doesn't really fit with all of the other items in the build menu, which are all environment related.

The control arrays are great. They would be even greater if controls from multiple panels or tabs could be added to a single control array.

IF autoscaling is activated for graphs on the UIR, it will fit the scale exactly to the data displayed. I would like to have an option to add an offset, so that the scale is always a little bit "bigger" then the data plotted.

For example if there would be an option "Autoscale Offset: 10", and I would plot an array containing data with values of min 30; max 340, the autoscale would set the scale to min 20 and max 350.

In the "Select UIR Constant" dialog box that pops up when the "..." button is pressed for functions that deal with the UIR such as SetCtrlVal(...), in would be nice if the list control that lists the available UIR files was made larger.  Right now there are only four lines visible, which means in projects with a lot of UIR files I need to do a lot of scrolling and hunting around.  Thanks.

The Textbox (until CVI2010) interprets the control characters not correctly. The only control character, which is correctly interpreted is "Line Feed" (LF, "\n"). "Carriage Return" (CR, "\r") for example, is also interpreted as "Line Feed" (LF). Other control characters like "DEL", "Back Space" etc. are not interpreted. TAB ("\t") is interpreted, so far I know. Is it possible that the Textbox interprets the control characters correctly? This would make the use of the function "SetCtrlVal(...)" very good.