LabWindows/CVI Idea Exchange

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

Hi,

 

In the CVI IDE I am using tags to mark functions as 'ready'. It would be nice if different tags would be available allowing to simultaneously flag several characteristics, such as 'checked', 'verified', 'tested'... I would imagine differently colored flags, possibly similar to the colored flags available in Outlook.

 

In larger projects this might be a useful feature to add some quick 'documentation' of the development status, and using F2 (goto next tag) to go to the next function that is not finished yet, has not been tested, etc.

 

Thanks.

Hello,

 

If one is interested in having a popup menu that shows up only for row or column headers it would be convenient to have the analogon to the event EVENT_TABL​E_ROW_COL_​LABEL_CLIC​K (which actually is a EVENT_TABL​E_ROW_COL_​LABEL_LEFT_CLIC​K event...), i.e. I am suggesting an event that is fired when a right click is received on a table column (or row) label.

 

It should be added that right now this is already possible with 11 additional lines of code, see the example colview, so I do not consider this idea as urgent Smiley Wink, but still...

 

Hello,

 

the Advanced Analysis Library provides some convenient functions for array operations; unfortunately some of them are available only for the 1D case and not for twodimensional arrays. While it is no big deal to add a loop I suppose that these AAL functions are speed-optimized, something that cannot be achieved when using the native CVI compiler.

 

Hence I'd like to suggest the addition of functions Clear2D, Set2D, Copy2D

Running an application in maximized mode (with main window covering the task bar), if you switch to the desktop (i.e. pressing Windows key+D), you are no longer able to return back to your application. You will see your application button in the task bar, but nothing happens clicking on it, nor you successed using Task Manager, you have simply lost your application.

Imagine you need to use a program in maximized mode and the program controls production tools and machineries, involving money and safety issues, it is an embarrassing situation.

I hope you can fix it soon, today I've fixed it training the operators to avoid the hanging sequence.

Thank you.

Sergio

Hello,

 

Following the discussion here, I suggest to allow the 'selection' of ring controls in order to copy and paste the displayed numeric value, even if the control is in indicator mode. For the user, an indicator ring control should behave (and look) identical to an indicator numeric control as long as both are indicators.

I utilize arrays of function pointers (recipe in a state machine) in a couple of projects.  I have the same general definitions for each of the functions (return type, parameter, a few calls inside that are used in each function, commenting, etc...) inside the array.  I have written an application that can scan all of my header files in the project folder, create a list of unique functions, I can then drag functions into the array or type names for new functions.  Currently when I accept my input all I can really do is copy the new generated code to the clip board.

 

What I would like to do is:

1) have it insert any new function declarations into a specific header file (which may be open in the ide with pending changes that haven't been saved)

2) Insert the array of function pointers into the current cursor location inside the current source file in the ide

3) Insert any new function definitions in appropriate files.

 

In my current app I am afraid to open and change files, not know if there are any pending changes in CVI not saved yet.  Would hate to loose all that hard effort if I forget to press CTRL+S.

 

I think it would be wonder full if when typing a statement like "if " the ide would automagically replace it with "if () {} else {}" with the cursor inside the ()...if the else isn't populated it drops.  Same thing for a for loop.  This is only because I hate typing, but I hate using a mouse more, perhaps soon we can have "thought to code".  Also, you have to know that I am the type of person that if they need to a task a second time, a program is written. 

 

So, to ease my fears I would like to be able to run a tool that when it is ready to write to a file I can manipulate the code directly through a CVI api or something.  If this already exists please point me in the right direction.  I looked at the function panels, there is an insert button for those, but what I want is more complicated than a single function.

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 

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.

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

Debugging code involving arrays is complicated by the facts that

 

  1. In order to view a value from an array one has to press first Shift F7 and then F4: one key press would be simpler Smiley Wink Right now only graphical array view has its one click shortcut...
  2. Every time I restart the program I have to reposition the array display window to a place where it does not overlap with source code window, variable window,... It would be much more convenient if the window position of Array Display could also be saved such that in the next run and pressing Shift F7, F4 the window would be usable immediately, without the need to reposition it

Thanks!

It would be convienent if there was a callback event that is fired after a tree/table control is sorted.  Note that this is not the same as EVENT_SORT, as EVENT_SORT is fired after the user has requested a sort from the context menu, but the items in the control have not yet been sorted.  Please see this post in the forum:

http://forums.ni.com/t5/LabWindows-CVI/EVENT-SORT-and-tree-controls/td-p/1539312

 

Thanks.

Hello,

 

I'd like to suggest the option of enabling spell checking of comments in source code

When using the UI functions, a neat feature is the ability to pull up a dialog of valid control IDs when specifying the control:

 

1.png

 

clicking the elipses displays this dialog showing all valid control IDs:

 

2.png

 

If you are using the function panel however, you cannot access this dialog and you are on your own for figuring out the correct control ID:

 

3.png

 

I think we should add this functionality in the function panel for any function that has a control ID parameter.

 

 

In a table every cell can have a different type chosen from:

  • numeric
  • string
  • picture
  • ring
  • combo box
  • button

I'd like a new type: Numeric Horizontal Level Slide (with color ramp, but without numeric display).

 

see this discussion

Upon receiving the 2010 update I was excited to find the optical flow algorithms that had been added to the Vision Module. For a number of reasons I use the CVI toolchain, and was bitterly disappointed to find that there is no easy way to access them.

Hi,

 

I'd suggest to provide a simple up/down control, i.e. the arrows found in numeric or ring controls, but without the numeric / ring field.

 

For example, they might be used to adjust cursor position or scroll through a list.

 

Right now, it's not possible to set the numeric field width to zero, so there will always be a numeric control attached to the arrows (same is true for rings)

 

When I tried to accomplish something like this (following the discussion here) by putting two controls on top of each other, see below, I had to realize that z-plane order is not maintained. While this might be a bug, it's also not nice because the dashed line indicating the focus is disturbing, too.

 

Two controls on top of each other:

 

ctrl-1.jpg

 

After clicking on the numeric control:

 

ctrl-2.jpg

 

Thanks! 

 

 

Summary: I am looking for this control:  up-down.jpg

The C preprocessor in other compilers has seen some improvements over the years. Maybe you could freshen the CVI one up a little bit. With most modern C compilers there are some pretty advanced things that can be done in the preprocessor. But include those header files into a CVI project, and you start getting errors in the strangest places. And the cause of these isn't even some nasty trick, but pretty basic stuff for any other preprocessor.

Make a wizard or something to import a Visual Studio project and create a matching CVI one. I know mapping is not one to one, but at least pull in the same source files (sometimes the project does not include all the files in a folder), the preprocessor defines and any other settings that can map into CVI ones.

It appears that the placement of the On / Off text of the vertical binary switch is fixed. All that can be changed is the location of the label... It would be nice to have the alternative of placing the On/Off text to the left of the switch

 

switch.jpg

Hi,

 

sometimes vertical buttons or toggle buttons fit better to the rest of the UI than the standard horizontal buttons. In such cases I would like to have the possibility to have the button text aligned vertically. Hopefully the attached figure can explain my wish...

 

vb.jpg