From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows/CVI Idea Exchange

National Instruments introduced the LabWindows/CVI Idea Exchange for submitting and voting on feature requests to be included in future versions of LabWindows/CVI. The LabWindows/CVI R&D team is committed to reviewing every idea submitted via the LabWindows/CVI Idea Exchange, so start posting your ideas today!

Adri Kruger
National Instruments
LabVIEW Product Marketing
Message 1 of 37
(40,607 Views)

I have tried this but could not make it work.

0 Kudos
Message 2 of 37
(39,458 Views)

We need a way to compare LabWindows/CVI application executables to ensure that they are identical. Currently, if I rebuild an application using identical source code, the output executables are very different from each other (more than just date/time tags).  To ensure configuration control on our applications, we  need a way to verify that an application built with identical source code produces the exact same executable every time.

 

Is there a way (either using a utility or a program option) to build a flat binary file for output?  If not, it would be beneficial to add that capability.

 

Thanks,

 

Joe.

Message 3 of 37
(39,134 Views)

Unfortunately, this is not going to be possible. Each time the CVI compiler (or most compilers in general) build a binary, the file will be slightly different. This is a result of timestamps, dynamic memory during the build process, or even compiler optimization algorithms. The resulting binaries will likely be different even if built without code modifications. You can see the same results in many other compilers like Visual C++ for instance.

 

It is a common request to be able to compare two binaries, but the only way to ensure that it uses the same code is to compare the source code. Currently, CVI does not support a method for building binaries without the variable information. Feel free to make a suggestion on the CVI Idea Exchange.

 

 

Edit: I realize now that this topic is titled LabWindows/CVI Idea Exchange, but it is not the actual Idea exchange. This is simply a thread that introduces the Idea Exchange to forum users. Please see the link above for the actual Idea Exchange.

National Instruments
Message 4 of 37
(39,134 Views)

One of the more valuable tools within LabWindows is the ability of the editor to fill in struct elements given the struct name. I also work with Eclipse-based tools for embedded systems work, and it has a similar ability. Unfortunately, whereas Eclipse dynamically analyzes the code as it is written, and can provide stuct elements (and other variable information) as soon as the programmer types it in, LabWindows cannot provide this information until after the code has been successfully compiled. As this may or may not happen for some time after the file has been started, or major changes begun, it is almost useless.

 

Another useful tool that Eclipse offers that LabWindows does not is the ability to refactor variables and other symbols. Again, Eclipse dynamically tracks the code as it is written, not requiring compilation; refactoring is similar to global replace, except that it tracks the 'C' usage of the symbol and only changes the proper usage. So, for instance, if I use a local variable named "X1" in three different subroutines, and refactor "X1" to "X2" in one of them, only the variable in the particular routine gets changed.It works with any C symbol, including routine names, global and static variables, and structures.

 

As a matter of fact, I would encourage NI to look into the possiblity of basing LabWindows on the Eclipse platform, as Atmel did in replacing its proprietary Studio software with an Eclipsed-based version. This would enable users to take advantage of a large number of available Eclipse tools, such as source-code management.

Message 5 of 37
(38,722 Views)

How about adding C++ to the compiler? The project I'm working on now is begging for it.

Message 6 of 37
(38,725 Views)

Misc this and that.

* It would be nice to have a tool that automatically generated and maintained .fp files for subroutine libraries. Keeping these up to date is a pain.

 

* It would be most helpful to have a subroutine call-tree analyzer tool built into LabWindows. I'm working with a rather elaborate user interface at the moment, and I am totally losing track of what routine calls what. It's especially difficult because I use the "CallCtrlCallback" function quite a bit, especially during initialization, and I'm very afraid of accidentally implementing a recursive loop without realizing it. such a tool would, of course, have to be able to follow through the callback functions of controls, and perhaps into NI libraries that use callbacks. 

0 Kudos
Message 7 of 37
(38,730 Views)

Hi pblase,

 

this thread is not the Idea Exchange, just its announcement...Smiley Wink

The Idea Exchange can be found here.

Message 8 of 37
(38,725 Views)

Oh, Sorry.

0 Kudos
Message 9 of 37
(38,709 Views)

it would be nice to operate with parallel port in Windows7 64 bit system in applications created in CVI/LabWindows 🙂

is it idea?

 

0 Kudos
Message 10 of 37
(35,621 Views)