LabWindows/CVI Idea Exchange

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

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 

Currently, there is no way to access the historical data on a stripchart.  The only way to manage this data is to maintain a separate buffer and update it whenever you add data to the strip chart, which is inefficient and tedious. Accessing data is possible for graph controls using the data attribute:

 

GetPlotAttribute (panel, PANEL_GRAPH, plotHandle, ATTR_PLOT_XDATA, &data);

 Something similar should be implemented for the strip chart, either as an attribute in the getTraceAttribute function, or as a standalone function (getTraceData, etc.)

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.

This issue has been discussed in other threads:

When a stripchart is horizontally resized, the X-scale range can't be changed, so that visible data in shrunk or stretched to the new dimension. But this behavior is not so useful.

It would be better if resizing the chart changed the X-scale accordingly, so that a larger or shorter period would be displayed.

 

But if you set ATTR_POINTS_PER_SCREEN parameter all the data history is cleared, so that it's impossible to resize the chart.

 

I think that resizing a chart in the way I described is a quite common need, so I suggest to implement ATTR_POINTS_PER_SCREEN in a way that doesn't clear the whole data history.

ClearStripChart() should be the only function that clears the chart.

It would be nice to have canvas objects (line, oval, rectangle, etc) optionally anti-aliased when added.

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

A tree control can be used to implement radio button controls;

in this situation you can't completely dim one of the items (so that it is grayed and the user immediately sees it is inactive) because the function SetTreeItemAttribute() doesn't allow ATTR_DIMMED attribute.

You can dim the item label using SetTreeCellAttribute(), but the check box stays active (see this discussion).

The EVENT_MARK_STATE_CHANGE can be swallowed, but the check box has the aspect of an active check box, even if nothing happens when you click over it.

 

I suggest to add the attribute ATTR_DIMMED to SetTreeItemAttribute() so that the whole item can be dimmed (its check box too)

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.

It would be nice if you could copy the selected rows of a tree control to the clipboard.

 

tree example.png

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

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

I want the batchbuilt window sizeable.

 

My cws consits of 51 projects, and the configurations-list is no longer useable. I just can see the project names, but not able to see the "release/debug/..." additional informations of the projects to be built. The list looks like

" c:/../../Task_AutomaticMeasurement.prj - D"

" c:/../../Task_FullAutomaticMeasurement ..."

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

I'd like to be able to group controls together so moving them would be a single click on the group and drag.

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.

I added the tab control into panel to my project. Overtime, I added 20 items into the single Tab Control. But since were so many items in the tab control, I decided to re-arrange items (indexes) in the tab control by either moving them left or right depending on the alphabetical order. But here is my problem.

 

Since I re-arranged the items (indexes), the indexes have all changed for all the items. Now I have to go everywhere the function GetPanelHandleFromTabPage is called and manually update the index numbers to match panel handles for the index. There are 20 different places where this could occur. The number of items (indexes) on the tab control could grow even more and may have to be re-arranged again in the future. Just a big pain.

 

Suggestion for improvement: Provide a another function that can obtain the index of the item on the tab control dynamically. This could be done by using the "Constant name:" issued in the edit tab panel of the edit tab control. So if the items (index) inside the tab control are re-arranged then the index value for that item is carried with the new index value.

 

Also the index would be included in the header file generated by the panel editor for CVI so that now the index value can be used thus eliminating the hard coded the index value.

Some created CVI executeables, which don't need access to registry entries or don't have other DLL, module or driver dependencies, so no installation (distribution kit) is required, are not running without the CVI RunTime DLLs. A menu option (macro) in the CVI editor might be fine, that copies all necessary CVI RunTime DLLs to the project directory. This helps to run the program on any computer without installation. Otherwise, I have to find and copy the DLLs to the windows\system32 folder (for which I need administrator rights) or to the folder, where the EXE file is.

 

The possibility, to copy the RunTime DLLs, is only in the Edit Distribution dialog available (so far no dependencies are necessary).

 

Thanks

CVI 2010 offers a great feature, I was waiting for: I'm now able to set an installation directory for e.g. program data, working data and so on using the RootDrive option building a distribution kit. But, why didn't you enabled the "make directory writeable for all users" option? On every installation, I would have to enable the user right "writeable" for all users manually as administrator.

 

Another feature for the future might be an directory option, which asks the user at the installation prompt for any installation directory to set up a specified program data directory. This option should also have a possibility to set up a registry key automatically (e.g. %UserDefinedDir), so that programs could find the user selected directory by reading the registry.

 

Thanks