LabWindows/CVI Idea Exchange

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

This is sort of a slight extension of the valuable suggestion by vix (Go to Next/Previ​ous function in source files😞

 

Right now, in the CVI IDE it is possible to have a function tree of all library functions - for larger projects it might be useful to also have a function browser for all the functions in the current project, thus not only permitting to jump to the next or previous function, as suggested by vix, but also to more easily return to a frequently used function by one mouse click on the function name in the function browser.

 

Functions could be grouped by file name (typically there is more than one source file in a project), or alphabetically...

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.

A feature that is still missing in NIReport is the ability to show a preview on screen of the generated report.

This feature could help very much the developer in designing the report without the immense wasting of paper that its lack implies. Moreover, customers are more and more requiring this feature to check reports before actual printing them, especially in applications where reports can be tailored some way to adapt to customers requirements.

 

Both reasons prevent me at present to use NIReport,

CVI currently jumps to the first entry in the build output window, whether this is a warning or an error. I'd like to suggest an option to see the point of the first error, if there is any, before any warning. Maybe they could be color coded, too. When starting a new project I usually place some TODO messages (#pragma message) and if this is in a global header file I always see this and not the build error.

LabWindows/CVI is forcing a blinking cursor in the text editor window;
this I think is rather unfair; unlike all my other applications, it ignores
the Windows XP keyboard settings for cursor blink rate (=no blink).
It should never have blinked in the first place, and I can't locate any
option to disable this blink.

There should be an option to disable the blinking cursor
in the LabWindows/CVI source file editor; for many people,
blinking cursors can be disruptive to our concentration.

Currently when formatting hex values into strings the letters a-f are always lowercase.  It would be nice to have an option to make them uppercase, as that is how most people are used to seeing them.  It would also allow for consistency between the way numeric controls work (which use uppercase A-F).

 

 

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

I would like to see some statistic informations about my cws and or prj-files. Like the "LinesOfCodeWichtel"...

Similiar to LabVIEW, I would like to have a "save as" option to store all files within the prj-file to a new location (maybe also for store a cws, res all mentioned prj-files).

Would make it easier to handle over a CVI-project.

When designing a tab page in the UI editor usually the total height and width needed to nicely place all the controls can be calculated using the heights of the individual controls plus some distance in between the controls.

 

One may end up with a number for the height of the panel (excluding the top positioned tab) of say 160 pixels. Unfortunately, in the UI editor it is not possible to set this value. All that is possible is setting the height of the complete panel tab including the tab height (to say 181). It would be nicer having the possibility to either set the height of the panel including the tab (and the usable panel height will adapt) or to set the height of the usable panel height and the total height of the panel tab will adapt accordingly. Then moving the tab from the top to the left the usable panel height would remain constant.

 

A workaround has been given by Roberto here so this suggestion is not the most urgent wish but still would increase user friendlyness of the UI editor... 

Hi,

 

I would like to see an configuration of batchbuilt process. I have a big workspace with many projects; and would like to create different setups, like "compile only all server projects" or "compile all client projects". The workspace contains a big server-client -based software packages; some dll-projects used for server side only, some only client side.

 

Peter

If you have a Numeric Indicator, and you set "Range checking" to Notify, CVI will show an ugly popup when you enter a value out of range.

If you set this property to "Coerce", the value you enter is coerced in range, but no specific event is generated.

 

I think that an EVENT_VAL_COERCED would be really useful: using this event you could easily show a message popup, for example.

Currently, it is only possible to load XML for parsing from an xml file.  In order to load xml data from a string, it is necessary to either write to a temporary file, or use the MSXML library directly.  It would be fairly simple to modify the CVIXMLLoadDocument() Function (or create a new function) which uses the MSXML IXMLDOMDocumentloadXML() function, which allows loading XML directly from a string. 

 

Adding this code to the current function after the IXMLDOMDocumentload() function would improve the CVIXMLLoadDocument() function so that it tries opening the input string as direct XML if it is not a path (Replaces line 167):

 

__caErrChk(MSXML_IXMLDOMDocumentload(xmlHdl, NULL, variantPath, &success));
	 
	if(!success) //if loading as a path fails, try reading as direct XML code
    {
        __caErrChk(MSXML_IXMLDOMDocumentloadXML(xmlHdl, NULL, fullPath, &success));    
    }

I'd like to suggest the possibility to query attributes of a control during debugging, i.e. after the program stops at a breakpoint I would like to have the possibility to obtain the scaling behavior (manual, autoscale) of a graph and the assignment (left/right axis) of a plot...

 

Thanks!