LabVIEW Idea Exchange

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

When working with arrays, it is convention that search functions output -1 when element is not found. There are several functions using this logic. I find myself quite often using "Equal" function to compare this value to -1. While not being overly complicated, considering I do it very often, it would still be nice to have function "equal to -1" which would work similarily to "equal to 0", having only one output.

Current approach:

Rashek_0-1575453021315.png

Suggestion ("equal to -1" icon is only illustratory):

Rashek_1-1575453212574.png

Purpose: Speeding up programming routine

I should be able to to this:     mean 0.png      But that's not allowed:     mean 1.png

 

 

 

Instead I have to do this:     mean 2.png

Dear NI,

 

I can group frontpanel objects, but it's not possible in the blockdiagram. 

 

Sometimes I place graphics behind indicators and/or controls. Same I do in the blockdiagram for documentation and orientation .  In the frontpanel I can group (and even lock) these elements, but not in the diagram 😞

So with all these autostretch features my diagram graphic arrangement get disturbed 😞

 

I would like  to have a grouping option in the diagram.

 

 

Inspired by

THIS
 and

THIS

 

I would like to suggest always showing the exponent of a numerical value in a contro or indicator regardless of the data format chosen.

 

Always show exponent.png

 

We've all been confused by dispalys of near-zero numbers hiding the exponent, haven't we?  The exponent is arguably more important than the integer art for certain applications so I vote it should always be displayed.

 

While we're at it, the same should be true for SI units cush as "m" or "M"

 

Always show SI Unit.png

 

Obviously colours and display details would have to be discussed, but personally I would love to have this feature.  Being able to click on the SI unit and change it during run-time would also be amazing!!

 

Shane.

The Cursor Legend pop up menu on graphs has an item: Bring Cursor to Center.  Very handy when the data changes and the previous cursor position is now 4000 screens to the right.

 

I suggest that an Invoke node be made available which provides this action.  This will allow use of a push button on the front panel to bring the cursor back with very simple code.   Obviously NI has already done all the work because the menu item exists.

 

This can be done with property nodes but it is rather complex to examine the scales, check the current position of the cursor, calculate the center, and set a new position.

 

I asked about other ways to do this in this thread.

 

Lynn

When you right click on a user created object you are only given the following options for the create submenu

currentmenu.png

 

In order to access the properties (like in the below image) you need to manually drop a property node and wire it up

 

example property.png

 

It would be really nice if you could create properties through the right click menu. This is possible with other built in classes like the shared variable refnum (see the following image)

shared variable refnum.png

And that creates a property node like this

 

refnum property.png

It would be nice if that was possible for user created class objects as well.

 

Hi,

 

As in the subject.

 

Now when you create an array the indexes of the array can be only labeled as the static comment field. There is not any build-in label/handler which could be used. Current situation looks like that:

 

qwerty.PNG

It would be better for readibility if developers could name the indexes and use it later on.

 

qwertyu.PNG

 

Picture represents the idea only, whole point is the description shoud be a build in handlers.

 

Now LV names first four indexes (when you hover over on it) as column, row, page, vol; later on are only dim 5, dim 6 and so on.

 

I believe if would increase readibility and save coding and debugging time.

 

For no obvious reasons, the "array subset" and "string subset" nodes are currently not resizeable.

 

Many times, I need to get several subsets or substrings at once and resizeable nodes would be a welcome improvement. Thanks!

Message Edited by altenbach on 06-05-2009 03:53 PM
Message Edited by Support on 06-08-2009 09:07 AM

I recently did some work that required a lot of simple equations. The formula node works fine, but the diagram would have been easier to read if I could have entered equations like this:

 

 Equation Node.PNG

 

Equation Node : Mathcad ::  Mathscript Node : MATLAB

Hi!

Since National Instruments offers support for programming ARM microcontrollers, I think it would be great to start supporting programming very popular recently BeagleBone development board made by Texas Instruments. You can find more information about this device there: http://beagleboard.org/bone . Please kudo it 🙂

At the moment you can Register for Events using a Cluster of Refnums.

But you cannot Destroy User Events or Unregister for Events in this way.

 

This approach allows for you to scale your application without the need to change the code that handles Registering Events.

It would be very convenient to be able to close references in this way (using a Cluster of Refnums) too, as per my illustration below:

 

21670iEFD0527198796259

It is pretty nice that we can create custom palettes for lvclass libraries and set them as default; being able to right-click on a class wire and get an organized menu (i.e. method VIs arranged in sub-palette folders), rather than just an arbitrarily-ordered bunch of all the member VIs. 

 

However, it doesn't appear that the palettes inherit -- if I right-click on the class wire of a child of the class with the custom palette, I am presented with the child members and the parent members, with no palette customization.

 

Example

Parent Class (with custom palette)

 

parent_palette.png

Child class (which includes the parent members, but without the subfolder organization):

child_palette.png

 

Could the IDE support inheritance of the palettes, such that right-clicking on a child class wire showed me parent items in their organized default palette view?

Howdy!

 

It would be really cool if I could drag and drop a polymorphic VI from its icon on the the block diagram of a VI, just like a standard VI would do it. The other ways include via the LabVIEW Project or from disk, but I would find this new method quicker when I already have the Polymorphic VI open.

 

iconDragAndDrop.png

 

Whilst I am at it, some other things that could be supported include better context help - I get this when really I want the description of the Polymorphic VI to show:

 

help.png

 

Cheers

-JG

Many of the Mathematics and SIgnal Processing VIs retain state, rendering them unusable inside reentrant VIs: http://digital.ni.com/public.nsf/allkb/543589DF37BA48CF8625744A00543FF3

 

Many of the VIs in this list (all those in my current application, unfortunately) can only work with single-channel data. When manipulating multi-channel data, you can work around that fact by running the channels serially through the VI you need, but that (1) takes much longer for large data sets or several channels, and (2) is not an option when performing live manipulation of streaming data block-by-block.

 

I ran into this problem while developing code in the Actor Framework, where Do.vi and Actor Core.vi (the two main framework methods) are both Shared Reentrant. Now that AF is a native feature in LV, I expect that more people will run into problems with these VIs.

 

We need stateless versions of these VIs so we can use multiple copies in on a multichannel data set. You can probably keep backward compatibility by pushing the core logic to a new stateless subVI and keeping the shift register or feedback node on the main VI's diagram.

Excuse me if it has been already proposed.

 

In many cases I don't use the Cleanup diagram feature instead I would clean the code manually. In those cases its time taking to check for the bend wires so it would be good to have an option along with the cleanup diagram feature to have only to remove the broken wires, Clean up the bend wires like that. If the VI doesn't have a Breakpoint for example that can be disabled and whatever applicable can be enabled. Here is what I propose

 

BD.png

 

BendWire.png

 

I guess this can be extended with other usefull options also.

I find it annoying to have to wire the User Event Refnum around my entire code loop in order to explicitly destroy it upon completion.  It can get pretty ugly with larger loops and creating/destroying multiple user events.

 

Simple User Event.png

 

 

 

It seems it would be nice to have an Unregister For Events primitive that could return a reference to each of the events that had been registered:

 

Simple User Event with New Feature.png

 

The dropdown might have to include the name of the user event in order to make it clear to the user which event is which, but hopefully the above drawing gets the idea across.

When searching for a single pattern we define the pattern as *.vi (for example). If we want to filter out say three patterns like (*.c, .h,*.txt). It doesnt work that way. In file dialog if we define these patterns seperated by semicolon it returns the desired result but in list folder we have to use a for loop for multiple pattern searches. Will it not be useful if we define (*c;*.h;*.txt) in the pattern and get only these files?

A customer called in to NI technical support with the following idea pertaining to custom error codes and the Error Code Editor.

 

Is it possible to have Error Code Editor remain open during normal LabVIEW coding. This way customer's can add custom codes as they code their projects. The Error Code Editor found by going to tools->Advanced->Edit Error Codes... currently will not allow user to continue using LabVIEW until they have selected the close option as of LabVIEW 2019 sp1. This related to the fact that user must restart LabVIEW after editing custom error codes for them to correcty appear in a new error ring dropped on the block diagram.

 

If a error ring was already created, then the error code file (in XML format) has already been parsed. Thus no new ones will appear for use. If there was a way to more actively add and then use custom error codes, customers could make use of more error handling features.

 

Jesse Grigg

Technical Support Engineering

National Instruments

www.ni.com/support

 

I love the In Place Structure.  But when I use it to access the bottom level data of a fairly nested data structure, nesting five In Place Structures seems like too much work.

5 levels.png

 

 

 

 

 

 

 

 

 

 

 It would be great if one In Place Structure could be used to do the work that these five are doing.  I'm sure there's much better ways of doing this, but it could look something like this.

1 level.png

 

 

 

 

 

 

 

 

 

 

 

I may be way out on a limb here; would this be useful to anyone else?

Long, long ago in a LabVIEW version far, far away there was a simple Scrollbar Control that was fully customizable.

 

Somewhere around LV8.0 (?) it mysteriously vanished, and now when you select a scrollbar from the Modern>Numeric palette, you are given a bog-standard system scrollbar instead.

 

scrollbar.png

 

Now don't get me wrong... I LOVE using system controls and use them whenever possible, but there have been a few times where I have really missed my customizable scrollbar.

 

  • Have you ever tried to use a system scrollbar on a touchscreen?
  • Have you ever had a client that wanted their UI painted stylishly black (or red, or whatever), without wanting you to mess with their windows themes?

I recently developed a lovely black XControl scrollbar with properties that mimic the system scrollbar but it was a lot of work, and it still lacks some of the flair of the built in version (like scroll-wheel response, click and drag resizing). Plus, it requires a bunch of extra VIs to be in memory that didn't need to be there before...

 

scrolbar.black.png

 

Wouldn't you love to see the good old customizable scrollbar reinstated?