LabWindows/CVI Idea Exchange

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

Not sure if any other IDEs use this, but it would be nice to select an option toif when cut and pasting code to somewhere else in the file, is if the indentation corrected itself.

 

So instead of absolute indentation from where it was at previously (column number from line), it would be relative indentation based on the first line cut/copy and pasted.

As mentioned in title, would be nice to have a list of current panels and control in the uir file.  If not, then optimizing the Ctrl + Space Auto completion results.  Similar to new list in CVI 2010 in uir file.

 

Currently I would have to do one of the following:

 

1: go to my uir file to get the name of the object if I haven't compiled it yet along with the panel name.

2: Check my header file it it has been compiled

3: Ctrl + Space auto-completion if I have typed it before

 

So for newly created objects, this can be cumbersome to make sure you know the [PANEL NAME]_[Control Name]

+ Implement Modbus RTU master/TCP client protocol support in CVI

I have created tables with multiple columns a few times, and seem to always have issues with my column widths and horizontal scroll bars.

 

1) Scroll Bars will show up focused on whichever column/row was added last.  So you if your columns go past your table width and the last column was last edited, it is aligned to the right.  I believe this should always be left or top aligned.  Just irritating that I have to ensure I change my row and column back to 1 so it is aligned properly.

 

2) There is not an easy way have auto-sized columns stay within the table size when fixed ones present. For example: I have 4 columns, I want the first three to be fixed width and the last to autosize based on the table size.  Currently this doesn't seem to work out in my situation with or without scrollbars.

 

3) Be able to select the column title bar to select to edit that column.  If there are no rows added, the user must manually retype which column they want to edit then click elsewhere to make it active. (Also true with no columns for rows)

 

4) Allow user to click and highlight and copy text, but restrict editing cells.  (But be able to change them programatically)  There are a few workaround with this such as double click event, but would be nice if there was a preset in the Hot,Normal selection list.

 

Feel free to chime in as I'm sure there may be a few I have not found yet. (Or perhaps I'm incorrect above and couldn't find it in the documentation.)

It would be convienent if there was a way to sort multiple arrays when the arrays are dependent on each other.  For example if there is an array of X values and an array of Y values, where the values make coordinates such as (x0, y0), (x1, y1), etc., and I want to sort the values by the X coordinate.  Or in other words it would be convienent if there was a function that could sort two (or more) arrays based upon the values in just one of the arrays.

 

The main reason I want this is to make nice looking X-Y plots with lines connecting the points, but the data is not in numerical order by X coordinate.

This issue has been explained in this thread.

As explained in some documents on the NI web site

the Network Variable Library can be used to develop an OPC Server (and a Client too).

While developing an OPC Client, the function CNVGetDataQuality( ) can be used to read the data quality, but there isn't a way to set this parameters while developing an OPC Server.

For this reason a way to set the data quality status and substatus should be added to the Network Variable Library functions that generate OPC data.

I suggest these new prototypes:

  • CNVSetScalarDataValue (data, type, value, quality)
  • CNVSetArrayDataValue (data, type, &array, NofDims, dims[], quality)
  • ...

Currently the axis names on graphs are limited to 30 characters.  I find this to be rather limiting when trying to put in lengthy descriptions of the data plotted.  Could this limit be increased in future versions of CVI?

We would like to have the option to change the default view of the files in the function 'FileSelectPopup', so that the 'list view' can be used as a default view.

It has been discussed a few times in this forum, but so far it is impossible to 'know' when the mouse cursor is above a certain menu item. This information might be used for example to display some context help.

 

Hence I would suggest that using the menu callback of the respective menu item it should be possible to be notified about the mouse cursor position once it is over the area of the respective menu entry, e.g. by providing a MOUSE_OVER_MENU_ITEM event.

I'd like to suggest an enhanced version of the command GetGraphCoordsFromPoint.

 

Right now, the return status of this function indicates if the mouse cursor is within the plot area of the corresponding graph.

 

I'd like to have the possibility determining if the mouse cursor is above the plot area, i.e. within the plot area (pixelwise) and directly on top the plot area. 

The difference is in cases where the plot area is covered by other controls or menus: In this case (see the thread with example program here) the mouse may be well within the area, but not over the graph because the graph is covered (so the mouse cursor is over some other element)...

 

The motivation for this feature is the frequent wish to change the appearance of the mouse cursor: if it is located over the plot area, a cross hair cursor style might be more useful to indiciate e.g. mouse cursor coordinates, while if the mouse cursor is located above some other control element the cross hair cursor is disturbing and the default style is much more convenient.

Hello!

I have noticed that is possible to change color, visibility but is impossible to change the thikness of a vertical or horizontal cell grid!

It will be nice to have this attribute also because when printed the line has poor visibility.

Thanks a lot!

Raffaele

 

 

Right now, it is possible to add a readme file to the distribution (Build / Distribution / Edit...). Unfortunately, the file type of a readme file (and the license agreement file) is limited to *.rtf. 

 

It might be useful to distribute a more 'complex' readme file, e.g. including figures. Hence I would prefer to distribute readme.pdf instead of readme.rtf

 

Using LabVIEW you are advised to use error codes from 5000 to 9999 and from -8999 to -8000 for user defined errors (none of the LabVIEW libraries use these ranges).

In CVI several libraries use different error code ranges, but there isn't any range explicitly reserved for user defined errors.

I think that this could be an useful feature.

Within each control's edit window, provide a means to de-select from the standard list of events the specific control generates, events that are not needed in the user's application.

Provide general on/off control of event types, such as mouse-over, so they can be disabled.  It is often very difficult to debug a callback by setting a break-point, then attempting to generate EVENT_COMMIT, EVENT_LEFT_CLICK or EVENT_RIGHT_CLICK.  The mouse over event is generated first, of course.

Right now it is possible to have plots resembling histograms by choosing as plot style VAL_VERTICAL_BAR.

 

However, at present the width of these bars can only be adjusted by changing the line thickness in pixels (ATTR_PLOT_THICKNESS)

 

From a users point of view it would be more useful having the possibility to specify the width in units of the x axis.

 

Explanation: Say one is plotting an xy graph, with the data equally spaced and in incremetns of 1. If the x scale is 0-100 there would be 100 thin lines which may be appropriate in most cases. If the x scale is 0-5 there would be only five thin vertical lines. This appearance is very much different from what one would expect from an histogram. The suggestion is to set the width of the histogram bars to say +/- 0.4 x units, then there would be nice bars ranging from 0.6-1.4, 1.6-2.4, etc. in the case of an axis scale of 0-5, and the width of the bars would shrink accordingly if the axis scale is 0-100; in this case, there would be 100 rather thin lines resembling more or less the current appearance.

 

So in effect this suggestion is about an automatically adjusting line width (right now it is not possible to implement it manually because the line width is specified in pixels rather axis untis and is also limited to a maximum of 32 pixel.)

 

One step further could be to draw rectangles instead of lines with the possibility to independently choose line color and fill color.

Using NetworkVariablePopup( ) I noticed that the localhost is listed twice (one as "localhost" and one with its name), and this generates some confusion.

Looking at the Distributed System Manager Window and DS_SelectURL( ) popup, for example, I understood the reason: in all these windows there are

  • the local PC (localhost)
  • all the network PCs (and of course, localhost is one of them)

The fact is that in DSM Windows they're grouped into "My Systems" and "Network Items" (see DSM2009.jpg) and in DS_SelectURL( ) popup they're grouped into "My Computer" and "My Network Places".

In NetworkVariablePopup( ) the PCs are not grouped (see NetVarPopup.jpg).

 

I suggest that also in the "Browse Network Variables" window the PCs should be grouped into "My Computer" and "My Network Places" or "My Systems" and "Network Items" (see suggested.jpg) because this little modification highly improves the usability.

Download All