LabWindows/CVI Idea Exchange

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

Summary:

Implement Swap Lines shortcut key (Alt+Up/Down).

 

Description:

Often, I need to swap two lines of code in my source file or maybe just move one or several lines up or down inside my code.

In order to do this, you normally have to do a cut and paste in order to move the lines.

 

Having a Swap Lines feature in the CVI source editor could significantly speed up this process, especially when you have to handle big chunks of code.

The Swap Lines mechanism could be triggered by the Alt+Up/Down.

This feature should also support multiple lines selections.

A byte array is limited to 2GB because the index is an int. Allow the use of long for an index so large arrays can be used.

On my development machine, I have access to various library functions in the NI-Vision library.  Some of these functions apparenly require the NI-Vision Acquistion license, and some of these require the NI-Vision Runtime license, and some of these require no license.  They are all mixed together and I can find no documentation anywhere that tells me which license(s) I need to put on the deployed computers given what library functions I call in my application.  The only reliably way I have found to determine this is to deploy a test application to a PC that is not licensed and see if the function call fails with an ERR_UNREGISTERED.  It seems that there should be a better way.  Thanks.

When developing a process mimic, it is very helpful to have lines and arrows linking the controls, to make it easier to visualise the process flow. A simple example would be to have a line or an arrow from the control that sets a motor's voltage to the control that shows the measured motor speed. Obviously any real-world example would be much more complicated than this.

 

If there is already a way of doing this, then my request is to make it much more clear in the help system. My searches yielded nothing beyond making a bitmap in another tool, putting controls on top and controlling the Z-plane to get what I want.

Hi,

 

In an application I allow users to select

  • one file (using FileSelectPopup)
  • one or more files (using MultiFileSelectPopup) or 
  • all files in a given directory using DirSelectPopup.

 

Unfortunately it is not possible to select two or three directories. Of course this can be emulated using MultiFileSelectPopup and marking all the files in all directories - but without the comfort of simply clicking a few folder names.

 

I thus would like to see a companion function MultiDirSelectPopup allowing the selection of several directories, in close analogy to MultiFileSelectPopup.

 

 

Thanks!

It might be handy at times to have a built-in pop up type like the PromptPopup, but is intended for prompting the user for a number as opposed to a string.  I've run across this need many times, and I either have to roll my own pop up, or use the PromptPopup/GenericMessagePopup with a Scan() command a bunch of checking to make sure the user input a number and not a string or a character and so forth.  I would imagine such a pop up panel would take a variable type (VAL_DOUBLE, VAL_INTEGER, etc.), a default value, min/max limits, and possibly some other parameters like precision, format, and increment.  Thanks.

The NI-488.2 driver contains a utility called EthernetConfig.exe which displays all Ethernet devices on the subnet. The information displayed is the IP address/hostname, ethernet address, serial number and model for each ethernet device. It would be useful for users to be able to use this utility in their text-based programming languages, instead of having to open a separate application. 

Add a function to the utilities library that can copy an entire folder along with all its files and sub folders.

Similar to what the command line xcopy can do.

Currently, this option is in the Options menu, but I think that it makes more sense under build (next to target settings).  I understand the reasoning for this may be that the build options are an environment setting rather than a project-specific one, but I always look under build for this option.  It also doesn't really fit with all of the other items in the build menu, which are all environment related.

It would be handy to be able to use some of the special variables like %CVIPROJDIR% and %CVITARGETPRODVER% in the "Edit Installer" dialog box, mostly so that the "Output directory" name can be autogenerated.  Thanks.

Hi,

 

Due to more and more applications using ipv6 as the network communication address, e.g. in the internet of things application,  and in many SCADA field , there also need the asynchronous connect by socket, so hope  CVI developers can provide these support.

 

 

David

The control arrays are great. They would be even greater if controls from multiple panels or tabs could be added to a single control array.

Tiling windows is only possible, when they are released from the IDE before. But navigating between the IDE and the released windows is difficult. It would be nice if the sourcecode and uir windows could be tiled INSIDE the IDE. Could look like this:

tiledwindow.JPG

Hello,

 

once in a while, typically when creating a new UI, I find myself playing with different control styles, e.g. ring or menu ring, or different types of decoration (classic vs. lab style...).

 

Unfortunately, it is not possible to easily replace one type of control with one of its relatives: I imagine an additional command in the right-click popup menu: below 'Edit Control' I'd like to have a 'Replace Control' command which permits replacing e.g. a 'Recessed Narrow Frame' with a 'Recessed Box', keeping location, size and z-plane order (in general, as many attributes as possible)

 

Thanks for consideration.

No thanks NI, I still need to have a LabVIEW developer to program a FPGA, I really need to handle this in CVI or the native Impact language of Xilinx. Can we develop a method that does not using LabVIEW? Chip

I find this full stop at GetUserEvent because of a tracking loop (e.g. mouse pointer hovers at a menu bar) irritating.

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.

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!

Hello,

 

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

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