LabWindows/CVI Idea Exchange

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

Hi,

 

as found in the help and in this discussion, the editor of CVI is limited to a maximum line length of 1020 characters. This seems to be a relict of old times and not quite up-to-date.

 

I suggest to deristrict this.

I'm not sure if this is a LabWindows suggestion so much, but it would be convienent if there was a library function to rename a TDM/TDMS file  RenameFile() won't work here, as the .tdx file has the .tdm file's name embedded in it, so a simple rename breaks the files.  The only options right now are to edit the .tdx file to fix the file path, or to manually recreate the TDM file under the new name by reading then writing all the channel groups, channels, properties, etc which is tedious.  Thanks.

I use the "user interface localizer" in a big project and need to generate appropriate LWL-files (localized UIR's) for many dll's and exe's. Currently I have to use a batchjob to generate them, interfacing the "user interface localizer" window by window messaging... Why not add some command parameters to this tool, so it will be easier to use for bacth jobs,like "localui.exe -uirfile -lwdfile -(overwrite/merge/...)

In close analogy to the functions N_Dist (,)... for calculating the one-sided probability for a standard normal distribution I'd like to suggest test routines

B_Test () for binomial distributions and P_Test () for Poisson distributions.

 

Background: In many experiments, signals are not measured as a continuous curernt/voltage but are counted as individual events (photons, particles...) For 'rare' events the corresponding distribution function is binomial (few repetitions/sweeps) or Poisson (many repetitions).

 

In such cases using a Gaussian distribution is not always justified.

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!

I do like the improved editor features of CVI2013; maybe two toolbar icons could be added for the two new commands  'Goto Next Function' / 'Goto Previous Function' ?

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).

Hello,

 

debugging an event-driven software sometimes might be easier if there would be a possibility to log all events (e.g. to a log file) because it happens that the sequence of events occurring is different from the sequence expected ...

 

What I have in mind is an additional checkmark in the Build Options panel, 'Log events'. As a further option, events could either be logged to a debug window or to a file, with information such as

 

system time, thread_id, event_type (e.g. VAL_CHANGED), event source (e.g. panel_handle, control_id)

 

Thanks!

Hello,

 

sorry for the strange title, I couldn't find a better one:

 

Right now, if I toggle a tag or set a breakpoint, these actions cannot be undone using 'Undo (CTRL+Z)'.

 

Similarly, if I want to discard any changes I have made in a project this may not be especially simple... If I simply close CVI then I am asked if I want to save or discard my changes - this is fine - unfortunately this does not include breakpoints, tags, etc. So even if I select 'discard', tags, breakpoints etc. are not undone.

 

I'd like to have a possibility to close a project in the state I have opened it.

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.

Using SetTableCellRangeVals to update several thousands table cells is very effective.(better than using ATTR_CTRL_VAL)

I miss similar function for set atribute values in the same way. In example:i need  to set text to be bold or  set background color for each table cell separately.

Ithik that usability of SetTableCellRangeVals will be better if SetTableCellRangeAttributes will be avivaible because there will be the same program approach/logic for values and attributes,instead of mixing multiple cell vallue update and one by one cell attribute update.

 

Hello,

 

I have a minor but well-hung suggestion: In case that one is changing the workspace to a different project while the Resource Tracking window is open, this Resource Tracking Window should be closed.

 

As discussed in some detail here the Resource Tracking Window should only show up if there is a memory leak - so after a new project is loaded CVI can't know if there is a memory leak, and hence it should not cause confusion by staying open 😉

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.

Child panels of CVI still don't have MDI behavior (that means Minimize, Maximize and Close button on the right corner of the titlebar). This is Windows standard!!

 

I know the workaround with Windows SDK functions to generate parent and child panels, but SDK child panels are not docked to the (CVI) scroll bars of the parent panel. That means, I would have to handle the scroll bars by myself, if a child panel is outside of the view range of the parent panel. Furthermore, the title bars of the child panels do not have the appearance of the windows standard title bars of child panels, they have the appearance of parent panels.

 

This is still the case with CVI 2010

 

Thanks

It would be nice if there was a library function to retrieve version information about an executable or DLL file.  I know this can be done through the SDK, but it's somewhat inconvienent.

 

Along the same lines, it would be nice if there was a library function to retrieve the version information about the currently running process.  (this would be great for making "About" panels in programs)

It would be nice if one of the Cell Types available on table controls would be a color picker.  From the code standpoint, it would be an integer numeric cell type, just on the user interface it would show the color and if it is Hot, then the user would get the color selector when they click on it.  This already exists for Tree controls.

I'll continue my quest for better statistics support in CVI... While LabView provides a VI to calculate percentiles of an array, there is no built-in function in CVI

 

In case you are wondering what the purpose of percentiles is: it is as important as the standard deviation for robust statistics, i.e. instead of calculating the mean and the standard deviation one would choose to calculate the median (possible with CVI) and the 25 and 75 percentiles; the difference (sometimes called the interquartile distance, IQD) is a measure for the width of the distribution.

 

Robust statistics is valuable of one has to deal with outliers.

 

Hence I ask for a function to calculate percentiles; may be, if NI is generous, they may even supply a function to calculate IQD

Hi,

 

It would be handy when automating the build process with the CVI ActiveX interface to have the ability to change the active distribution, as mentioned in this thread:

http://forums.ni.com/t5/LabWindows-CVI/Setting-active-distribution-kit-using-ActiveX/m-p/504888/highlight/true#M28708

 

Thanks.

"Build All/Batch" would be helpful if place on tool bar menu.   This feature would help developer who is familar with Microsoft Visual Studio development enviroment.  CVI is already an subset of MS Visual Studio.   

"Auto hide project tree" environment option works differently depending on which file you click in the project tree: ig you double-click a UIR file the file is oepned in the editor region and the project tree remains open; on the contrary, if you double-click source or include files the project tree closes immediately so that if you want to open more file you need to move the mouse on the leftmost side of the window to display the project tree again.

This is particularly annoying when working on laptops, that is when the auto-hide feature is more necessary because of the limited screen size of these machines (not considering the ugly feeling when using the laptop's touchpad instead of a regular mouse, but this is not a CVI problem Smiley Wink )

 

I'd like to have the project tree remain open even when double-clicking a source file, until I move the cursor out of the tree area.