LabVIEW Idea Exchange

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

I'd like to see native Ternary Logic support (aka three-valued or trivalent logic, or 3VL). True and False could still be represented by 1 and 0 respectively, and the third option could be represented by -1.

 

Not much else to say about this really... I think it's pretty self-explanatory.

Hi,

 

Stacked shift registers always has the most recent value at the top, no matter in which direction you start your mouse drag on the shift register node:

 

SR_drag_normal.png

 

Sometimes it could be more optimal to reverse the stacked shift register direction, just for the sake of neat wiring. In that case it would also be necessary with a visual aid (in addition to the tooltip which isn't visible unless you hover your mouse over the object) telling you which is the most recent value; the one at the top or the one at the bottom:

 

SR_drag_new.png

 

This "dimming" of the older values in the stacked shift register also makes it easier to tell a stacked shift register apart from ordinary shift register that just happen to be very close together.

 

Cheers,

Steen

Why does the block diagram span 1000's of pixels.  I would like to allow a block diagram size maximum to be specified on a vi basis.  This way I could set my vi to limit the block diagram from 0,0 to 1200,800 for example.  This not only forces good style but also prevents the inadvertent placing of functions off the screen (have you ever dropped a functional global call by mistake off the field of view by mistake and tried to debug the vi?).  This feature would be optional so use it if you like (or impose it on your new programmers).  If set on an existing vi, the code would be moved into the field of view with a warning message if position coerrsion is needed.

For us working in larger projects, with several developers involved, source control is used frequently. (What I've 

seen many use Subversion/Tortoise, btw, so support for that would be great.) Checking out/in VI:s would be

very handy to be able to do from a button on the VI:s own toolbar, instead of having to find it in the tree structure

in the project.

I would like to have "Local Variable Manager" menu option in Edit menu of  VI.

It will be usefull to rename local variables, change representation of numerical local variables and view number of instances.

 

VI

 

Local variables manager window will be like as shown below.

 

v2.JPG

 

One can rename local Variable(Control/Indicator),find terminal,indicator/control on right clicking name, can change numeric representation of control or indicator.

 

Prashant Patel

As described here, LabVIEW will call certain event callback VIs when certain things happen such as LabVIEW startup or shutdown, creating a new VI, or calling Edit > Create SubVI.  The only problem is that there can only be one Callback VI per LabVIEW installation.  My suggestion is to allow more than one callback VI to be called when the events happen.  This can be useful if LabVIEW add-ons would like to implement the functionality without interfering with existing callback VIs.  

 

This is similar to my previous idea, but generalized for all the callback VIs.   

As of LV2010SP1, there is no good way to interact with the Right-Click menu of a control programmatically. You can create a custom right-click menu for a control at edit time, and as long as you save the menu with the control (saving it as a discrete *.rtm file doesn't work--see CAR #256160), you're in business.

 

But if you want to make sure multiple controls all have the same menu, you're pretty much out of luck. There is no way to programmatically load an *.rtm file for a control. The best you can do is build up the menu one item at a time using the menu primitive functions. And you have to do that on menu activation event, because you can't get at the control's menu reference any other way.

 

This is pretty kludgy.

 

The other solution is to make those controls strict type definitions, but that isn't ideal in a lot of cases. For instance, I want to make sure all the XY Graphs in my application have the same RTM API, so I could use a single strict typedef, but that sucks if I don't want them all the same size, etc....

 

 

So here's the idea: fix runtime menus for controls.

  • Add an "RTM Path" property for all LVControls to allow loading custom RTM files at runtime.
  • Add a "Runtime Menu" property to all LVControls to grab the menu reference at runtime.
  • Make sure that RTM files are loaded properly in EXEs (see CAR #256160)

I know we have some ways to personalize the Getting Started window but to my taste, it's not enough!

What exists right now could be integrated into a SubPanel to keep the same functionality and that would also let anyone make it's own little plugin into this windows.

 

Here's a little example :

 

gsw.PNG

I have searched for a similar idea (or even a discussion of the underlying problem) but couldn't find a good hit, so here is it.

Let me start with an illustration of today's trigger to this suggestion:

 

ScreenHunter_001.jpg

 

I have got square miles of real estate available to the right of the diagram, so I would expect the super-clever engineers at NI to have tuned the insert algorithm so that it nudges the indicator slightly to the right to make space for the "Transpose" primitive.

Instead, I get this:

 

ScreenHunter_002.jpg

 

Of course I can select the two objects and choose "Diagram Clean Up" (probably one of the rare instances where I would dare use the dreaded tool!), but I would argue that an intelligent diagram editor should be able to do that automatically.

Note that I am not even talking about insertion WITHIN a structure or towards the innards of a diagram.

Here the failure is complete, EVEN when autogrow is enabled (which I did very temporarily for this illustration):

 

ScreenHunter_003.jpg==========>ScreenHunter_004.jpg

 

Notice that the For Loop DID actually grow A BIT, but definitely not sufficiently for a satisfactory result.

In the absence of enabled autogrow (which is my normal use case), I would suggest the insertion to actually do some limited cleanup afterwards... Maybe something like that:

 

ScreenHunter_005.jpg

 

I am not saying this will always be possible, but at least try!

 

And, oh, BTW, this problem is definitely part of the illustration of this idea (and probably should be promoted to the status of a bug, IMO).

My idea is something that I brought up on this thread

 

The number of history points associated with a chart can only be set by right-clicking on the chart. There can be cases where a user or developer will want to be able to set this value programatically, either using controls or calculating it based on other data.

 

Jeff

 I propose a “Preserve Run-Time Type” primitive for Variants that is analogous to “Preserve Run-Time Class” for Objects.  Below I illustrate, using a system of messages that I'm working on.  Two message types carry either Variants or Objects (LVObject).  In each case I must convert to a specific type (data type or child class) in order to use the messages data.  For this I can use "Variant to Data" or "To More Specific Class", but I need to do the conversion outside my "Read Message" subVIs (top two examples below).

 

However, with Objects I can make a cleaner implementation (third example) where I use "Preserve Run-Time Class" to do the same thing inside the "Read" subVI.  I would like to be able to do the same thing with my Variants but I cannot (but I've faked what it would look like in the forth example).

Preserve Run-Time Type.png

 

The object subVI that uses Preserve Run-Time Class looks like this:

PRTC.png

A subVI using “Preserve Run-Time Type” would look similar, just with Variants in place of Objects.

 

In addition to cleaner code, “Preserve Run-Time Type” would allow additional logic to be built into the Variant to type conversion.  For example, I like to use numerics with units in my messages, as a safety device against message sender and receiver using different units, or confusing what the message represents.  However, one can always convert a numeric with units to a numeric without units by using "Variant to Data" with a non-unit type input.  This defeats some of the safety (eg, sender could send "output" in Watts, but receiver thinks it's in Volts).  I would like to make a message type that performs unit consistency checks inside the "Read" subVI, throwing an error on any mismatch; a “Preserve Run-Time Type" would allow this.

I suggest that LabVIEW Call Library Function Node added automatically identify input and output port functions. And automatically named. This function can save the queryinput and output ports of the time, speed up the development process. Or the same as this Express function:

No "parameters" page.


That's my want!

It should be nice to be able to create a "typedef enum" for the pages of a tabcontrol ...

So the modification of a tabPage label could be automaticaly propagated to constants ..

 

 

The problem is ... When you modify the pages labels, and if you use the constant value associated with the pages ...

The associated wires are then brocken ... They are not automatically modified Smiley Mad

 

When you only want to modify the Label of a tabPage (For example to correct a mistake), the Vi will no more work !

 

An other idea would be to add a kind of "Caption" to the tabPages, in order to disociate the 'Display name' and the Variable name ...

 

Here a short example ...

 

TabPage1.PNG

 

TabPage2.PNG

 

Other Idea : (From the well known Roms)

 

It should be nice to create the TabPages of a TabControl automaticaty  from a typedef enum, and keep the link between the two items.

 

=> Modification of the TabPages modifies the typedef enum

=> Modification of the typedef Enum, modifies the TabControl content

 

 

 

 

When placing a property node on the block diagram, it is often set to read.  I find myself having to right click on the property node and select "Change to Write". 

 

It would be great if there was an option where the user could select their preference when the property node is placed on the block diagram.  This would provide a more efficient way of pre-setting all the property nodes to Write or Read based on useage.

 

I checked and did not see a similar idea.

 

 

The simple suggestionis, in case a search is initiated from a diagram or front panel (by a right-click aciton), to memorize internally where that query was sent from, and provide a link back to that place in the Search Results window.

Of course if the Search is initiated by a Ctrl-F, it is probably a lot more complex to restore the situation to what it was before the search (windows could have opened, or be brought into focus, etc), so I am not including this in the suggestion.

 

Case study:

 

I find a reference, or a terminal, or whatever that belongs to a control or an indicator.

Now, I want to check all the places where a Property Node for this object appears.

I right-click >> Find Property Nodes and get the Search Results window opened.

Now, should I select any of the hits and try to "Go To" it, I instantly loose the location I started from (and where rather naturally, I may very well want to come back to resume work).

 

Of course, as a possible workaround (assuming I think about it, which is unlikely), I could drop a simple bookmark like #0 and once done with my PN exploration, go to the Bookmark Manager and find where #0 is located, but I will probably foget to do that most of the time.

 

PS: this is different from this idea, although the title may make it sound similar.

Don't get me wrong. I really like it that the error ring is back! I just think it needs a few features.  Specifically, RCM options to replace with error constant and replace error constant with error ring.  (This should also work with any green cluster)

 

Please Stephen? Can I have it in time for Christmas?

  1. click (select it) on a subvi(s)*
  2. press shift
  3. LV suggests the next vi with auto connections
  4. use that or simply scroll through the alternate choices suggested by lv
  5. click it

sweet!

 

*should be only for low level / driver APIs

 

 

new 3.jpg

Yes, I want to inspect a vi's Block diagram on my Smart phone.  (Since I have no life and constantly troll the forums looking for people to help.)

List Folder.JPGA function present in File I/O - "List folder" returns FileNames and Folder Names.  But while dealing with "Large Data" set it would badly affect the speed and Memory consumption.  ........ (This is faced in one of application Smiley Sad)

 

User interest would be 1) Only FileNames Or 2) Only Folder Names  3) Both FileNames and Folder Names

 

Can we provide this with Option of selection in "Enum Control" with default as 3)

 

Regards

Hemant.....

1) I would like to see the "radix" visible in the probes for "Numeric probes" and "hexadecimal/coded display" for "string" probes

 

 

2) A shortcut to make the selected "control label" in the front panel or block diagram to make it BOLD. (CTRL+SHIFT+B) or anything equivalent