LabVIEW Idea Exchange

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

I have a Group of numeric values.Such as

1.0

0.866

 0.5

0.2

0.1

0.0

I want to create and update a drop down menu so a user can select a numeric value(Direct calculation,do not Converted form a string), a bit like a combo box.

 

DBL to DBL.png

 

Hope to have this controls in the labVIEW!

 


Is there any tool to compare Multiple VIs (more than two i.e. about twenty) at a same time.How can I compare more than two VIs at the same time. I am an Lab Engineer I have to check assignments submitted by students and I want to know how many of them are copied from each other. Labview compare VI can only compare two VI at a time while I want to check about 30 VIs at same time.

Cuando tenemos en funcionamiento en tiempo de desarrollo un VI, que no tenemos activada la barra de herramientas de debuger, no es posible parar si ejecución, esto es especialmente grave cuando hay un error de programación y estamos en un bucle sin fin, o otro caso mas grave, es cuando un vi que tenemos como modal esta abierto en el tiempo de desarrollo, pero no esta en ejecución, por que no ha sido todavía llamado por el programa, este vi se pone en primer plano, y como no tiene código funcionando no tiene posibilidad de salida, con lo que impide cualquier acción sobre cualquier otra ventana, inclusive la del proyecto.

 

Seria necesario que la interrupción, del ctrl+., o cualquier otra estuviera vigente siempre, para poder detener la ejecución en tiempo de ejecución.

How to create a standalone executable in LabVIEW 2009 Professional Development System?

The attached screen shot contains the screenshot of the mesage I get when I attempt to run the exe created.This may help you suggest a solution.

Hi,

 

I would like a native LabView VI that can read comma delimited data (.csv) with double quotes into LabView. It needs to follow all the rules for csv files. A list can be seen here.. http://en.wikipedia.org/wiki/Comma-separated_values

 

And, NO the spreadsheet string to array function doesn't work.. There can be commas that are not separators, and line feed is not always equal to a new rows in the output array. (There can be line feeds inside cells..)

 

I tried to implement by using regular expressions and it seemed to work fine, BUT it was way too slow, making it useless. The implementation for regular expressions in LabView seems very slow, or maybe I used it the wrong way.

 

Thanks,

mrsound

Many of my projects are video inspections with the captured images streamed to an .avi file.  With increase use of digital cameras with non-standard frames/sec (fps) or position-based image captures where the fps rate is determined in the field, the fps often cannot be set properly before the images stream is captured.  Unfortunately, the fps value can only be set when the original .avi file is created (IMAQ AVI Create) and cannot be changed once set.  There are utilities that can change the fps of a .avi file but so far I have not found easily callable exterior routine to perform the change

 

My simple suggestion is to either allow the fps to be set when the file is closed (IMAQ AVI Close) or better yet create a vi that would allow to change fps value for an existing .avi file

Currently, there is no access to the User Event references in the Dynamic Events Registry reference.  If you have a lot of user events, you either have to bundle the references together into a cluster, or have many wires through the program.  My proposal is to add a "Registered User Events" node that allows the programmer to "unbundle" the registered user events references.

 

Also, the Register for Events node should change the User Event label to the user event name when a user event is wired to it.  Finally, there should be some mechanism to access/control the event queue programmatically, perhaps an "invoke node" coupled with the ability to create a reference to an event structure.  This invoke node would allow the user to flush the event queue, or perform other operations on it, etc.

Download All

Will LabVIEW run in Windows Azure? If not, why not?

 

What is the compatibility of LabVIEW with Azure Cloud Computing.

I'd like a new property for an Indicator, which enables me to reduce its display-update rate to something less than the source-data update rate.

 

Reasoning:  When working with robotic systems, I often find myself adding large indicators to the Front Panel so I can get an easy to see indication of some new sensor's value (from across the room). 

This indicator is not necesarily needed on the final system so I don't want to spend a lot of time incorporating it into the BD.

 

The problem is that if a sensor is updating at 100Hz (like the ultrasonic sensor on the Robotic Starter Kit) you can burn a lot of CPU cycles trying to update a large bar graph with every data update.  In fact, on my system I just get a big flashing blob.  I invariably end up implementing some strategy to only display 1 in every 25 updates.  And in the process, I end up messing ip my neat BD layout.

 

It would be great if there was a built-in display property to take care of this for me.  See suggestion below:

 

The throttling property could be the minimum update interval, or the maximum update frequency, but the assumption would be that the GUI would just throw away any data updates that occured faster than the required display update rate.  In the example below I indicate that I only need 4 updates per second (ignoring the bulk of the 100Hz range updates)

 

 

17141i01E7176DA5FDA1D4

 

I was considering submitting this in the Real-Time ideas forum, but it seemed applicable to any "fast" data acquisition system.

 

 

I've searched the Idea Exchange and found a couple of suggestions that are similar, but not exactly what I propose.

 

Specifically, I've spent considerable time tracking down what I would call a devlopement  environment bug.  The behavior of the 'bug' was addressed by the developer of the Search and Replace function in this post from the spring of 2007, describing how the algorithm works, and why it's not technically a bug.

 

He indicated that one 'solution' would be to add a flag to ignore arrays. I suggest that this be added.

 

My problem: The Search function will traverse into an image data cluster and then proceed to repeatedly search the image and mask arrays for a string that would not exist. The development performance hit was is significant and searching of a numeric array representing an image for 'words' in the context of find and replace is inconsistent.

 

U8 Search Option.png

 

In the VI Properties the VI Editing/Development Time can be displayed similar to the Microsoft Word and it should be accessed programatically, so that the effective developement time can be measured .

 

 

image.JPG

 

 

In ini (configuration) files it is desirable to commentout keys as well as add comments to Sections or Keys, thsi can be done with

;this is a comment

 

Why is there not functions for adding comments to an ini file

 

The functions I would like is

- Add comment to section/Key (if key is blank, the comments are added below the [section] tag)

 

I want this so that I can keep track of what the sections and keys are used for in a complex application or for putting notes into an ini (ie ;do not change this filed or ;valid values are 0-100)

 

The only method I see for this is to parse and write the comments manually of using a text file section. 

When I looked into the low level format of the ini files it is just a queue of clusters which keeps track of sections and key-value pairs, there is a comment filed but I dont see it ever used, was this a planned option that was never implemented.  I do not want to write my own since this now requires access to provate functions of the config libraray and I have been burned by this already (NI decides to make a function private and future code is broken).

One of the recent great additions to LV (for me at least) was the parallel for-loop.  This is a great and quick way to essentially generate a worker pool.

 

The only drawback I see is that we need to know the total number of iterations in advance which can mostly be OK but .

 

By allowing essentially the same function for a while loop  we can spawn parallel processing workers for an indefinite period.  For operations which can be spread over multiple cores and whose execution order is not important (or whose order can be re-created afterwards) this can be very tasty indeed. 

 

An application I have is the processing of data which is being input via Queue and whose output can be sent also by Queue (as a part of the incoming queue data).  I don't care which worker processes which queue entry as long as they run in parallel and the output goes to the right place. 

 

I abuse this a bit at the moment as can be seen in THIS post.   This approach is limited by the neccessity to know the total number of loop iterations in advance.

 

Shane.

I have always disliked storing extra data with controls in the description section of controls, vis....  This section already has a use for documentation.  I have seen this hijaced for language information, user access security even requirements gateway.  It would be nice if there was a properys similar to a string/binary data section that was devoted for meta data.  This meta data is only accessed programatically.  Users could use this to keep extra information about any Gobject (read or write to this maybe even lock it)  that is useful for coding.  I dont know if this is even possible since it would not be backwards compatable.  This allows metadata to be shared and linked to a reference.  Is there a beter way to do this.

 

 

Message Edited by Support on 01-08-2010 04:43 PM
I would like to see the "radix" visible in the probes for "Numeric probes" and "hexadecimal/coded display" for "string" probes
I really like the idea of being able to define error codes and descriptions in an error.txt file.  It's very convenient to be able to see all the errors in a single place.  However, the location the error.txt file must be stored, to be blunt, stinks.  Instead of storing them in user.lib\errors (which creates a useless palette item) how about putting them in user.lib\_errors?  It would also be nice if the Error Cluster from Error Code VI had an optional filename input to define which error.txt file to use when looking up the error.

Currently the synchronous and asynchronous modes of writing data have little to no effect when communication over TCP. The write will return immediately after buffering the data to be written. However, the data it self may take considerable time to actually be written to the network. Absent some type of hand shaking at the application level there is no way for an application to wait until all the data has actually been written. The native LabVIEW TCP Write behaves in the same manner as the VISA write. Given this behavior it is impossible to implement a well behaved write queue for queuing up and transmitting data to a device. For example a normal print queue will open a connection and send the data to the printer. It will not attempt to open a second connection for the next print job until the first one has consumed all of the data. If a large amount of data is being written it can take time for all of it to be transmitted. The way the VISA or TCP write VIs behave the print queue would open a connection and write the data. However the call to the write would return immediately because the lower level network stack has accepted the data and buffered it. The print queue then believes the first job is complete and begins processing the second job. This will mean that a second connection will be opened. Some devices will allow multiple connections and some do not. However without the ability to actually wait for the data to be completely written the queue would have to continually try to open connections. This would be unnecessary network traffic and and unnecessary communication with the printer.

 

I would like to see an open on the write VIs to allow for a true blocking write. The write will not return until the data has truly been transmitted. The current behavior is also valid and can be retained.

 

Note: I have not tested the behavior on other types of interfaces so I am not sure if this is a TCP only issue.

We have an application that extensively uses queues, both named and unnamed.  We suspect that one or more of these queues -- probably an unnamed one -- is not being properly drained, and over time is leading to a memory leak.  I would like a means to programmatically examine all the queues in use to determine whether any are growing without bound.  I looked for a way to do this and found this link.

 

The answer here is pretty unsatisfactory.  Our queues have a multitude of types, and replacing every get/release queue with a registration VI specific to that type would be very tiresome.  What we would like is a way to obtain a generic queue reference to each queue -- named or unnamed, suitable for use in Get Queue Status (providing the Elements Out output is not used, as that would require knowledge of type).

 

It would be fine if the refnums were "read only", that is, they could not be used to modify the queue in any way.  Come to think of it, read only refnums might be useful in themselves, but that's another post.

 

If anyone can think of a way to do this with the existing features of 8.6.1 or LV 2000, I'd like to know about it, but there seems to be no existing method for doing this.

We are getting into trouble with all these run-time engine updates! Every time a new release or service pack come out we have to create a new installer with the new run-time engine and send it out onto all our customer's machines. It is not convenient to develop in 20 different versions of Labview and we like to keep our executables and updates recent.

 

Our instruments run on XPe with very little extra room for an additional RTE every 6 months. Asking the customer to uninstall old RTEs is painful as they are not supposed to go that deep inot our XPe build. 

 

I would like to see a modularized run-time engine where we don't need to update the whole thing every release. I know  with .NET updates are only necessary in 3-5 year increments. That would be much more acceptable IMHO:smileyhappy:

 

Traditional IVI drivers haven't worked. The industry has been waiting for this for too long.

 

Best regards, Pavan