Property nodes are all seriously affect performance

LabVIEW gurus,

I'm running continuously in some serious performance degradation by using nodes property to update the attributes of the objects of the public Service. A classic example is attached.

I have 8 plots XY which are fed 600 SGL tip all the 200 ms - one very modest flow. Each plot is a dynamically instantiated .lives placed in one of the 8 sub-panels in a container of VI. The VI container also acts as Server data for charts, each of them sending their data in the queue for their own unique item. The entire architecture works great (~ 4% CPU load, see attached picture) until I by updating a node property to display the value of the value of the cursor there. When I activate the property node 'Caption.Text' of the XY graph to display the value of the slider, the CPU usage rises to more than 30%.

As an aside, I'm developing on a platform of 2.1 GHz dual core with 4G memory with LV8.5.1, and the target machine is not nearly as strong. That's why 30% CPU on my plant is a problem - it essentially brings the target incorporated to its knees.

I've included an example VI to run on your machine. Think of it as 'representative' of my biggest problems. The VI series update the CPU without the legend about 10% and 20% with updates of the legend.

Finally, I tried to put the screws in the system of execution of the user interface. I also tried to postpone Panel updates, but this actually slows performance.

Best regards

Jack Dunaway

With captions

No caption:

Use captions only for noncyclical display. With the help of a text indicator should solve the problem.

Tags: NI Software

Similar Questions

  • Why property nodes are not accept input?

    Well, this one is driving me crazy.  I have a Subvi, which contains a string indicator and a drop-down list box, as well as a few buttons on the front panel.  My problem is that when I run the program (in LabVIEW, not an exe file) sometimes the window Question (the light) accepts the string and updates the property of Caption.Text, sometimes it doesn't.  At the same time, sometimes the answer box (combo box) accepts the Bay of cluster in it is StringsAndValues well, sometimes it doesn't.  They both either work, or they do not.  Never a problem with accepting Question window indicator string.

    The block diagram:

    Here is an example of the code powering the Subvi.

    I don't get any kind of error message.

    Sensors at the entrance of the property offending nodes indicate that the correct data are happened to them, it is just 'ignored '.  Once it starts to spoil, it usually continues to do.

    It seems that the only way I can get to behave correctly should quit LabVIEW, and then restart LabVIEW and run the vi.  Then it will usually works a few times until it starts to work.

    (Win 7, LabVIEW 9.0f3)

    Thoughts?

    THX

    What is the source of the wire that goes into your sub - VI Q & A mistake?  Is it possible that you have found errors on this thread?

    If there is an error, these property nodes will not run.

  • Local property node on the VI Analyzer VS variable

    Hi I'm preparing my review of CLD. I had this problem...

    I learned that there are two methods to update the icon on front panel using the value of the variable local node and property

    It is not a good method to update an indicator using these, but if we want to update a control, then there is no choice...

    CLD NOR recommend using the property instead of the local variable node, but when I run my code on the VI Analyzer he created an event

    believing that it is better to use a local variable for good performance...

    ???????

    Yes, the text is correct. Property nodes are useful to access things like visibility and string [] in the control of the ring, but for the value, it is much slower than a local variable.

    One of the advantages is that there wired error so you can force the data stream, and given that the nodes property are executed in order, you can use a property expanded node to find out what order things occur, especially compared to a free local and free property node, in which case you would be forced to use a sequence structure where ofc is a bad solution.

    /Y

  • Bytes to Port property node. When to use and when not?

    Hi all

    Ive frequently used bytes to port property node performing bed series and have not experienced any problems.  I've heard mixed on this subject reviews and I would like to know when to use and when not to use it.

    Thanks for any input.

    I will start by when it should not be used.

    When there are (as readable) ASCII data to come through and it is separated by a termination character.  Select the stop character and read more bytes than you ever expect a given message.

    When there are binary data, but a protocol where you know clearly how the message package is put in place.  In this case, you want to disable the stop character because any octet can be given legitimate and be interpreted as the stop character.  With these protocols, if you know the message is always X bytes, read X bytes.  If the message is of variable length, but the Protocol is set to tell you low for a long time the message is, and then make partial readings.  So if each message starts with 2 bytes that says follow X bytes.  Then read 2 bytes, which converted to a number, then read this number of bytes.

    When to use:

    The only time will really use bytes to the port is if you use a terminal of the installation type.  Just enter and display on-screen what never happens happened at the port since the last time it was read.  When you don't care where are message breaks.

    If you use bytes to the port and care message breaks, then you're obligated to all your new message concatenated to a string, you store in a shift register and each reading analysis through data to determine if you have a complete message and valid.  If you do not, do nothing and go back and read more.  In fact, you will need to run through the chain of data several times in a row before coming back to reread in the case where the message ever resulted in a single reading packets.

    The vast majority of applications falls into one of the above situations.  The last situation is not as common, and if you use bytes to the port with a system of e-mail that has defined a defined protocol or packages, you do a job more in programming to maintain a software buffer of data as well as the hardware buffer to the serial port.

  • [] DisabledItems property node

    Hello

    I use a couple of controls of the ring to allow the user to my GUI to make certain choices.  I want the options available in a ring of control depend on the selection made using it.  I do this using the [] DisabledItems property node.

    See the attached example.  The selection is made by using the 'Commission' control affects items that are disabled in the "Image Type" control.  However, it is still possible for the user to select an invalid option (which would cause significant dysfunction of the overall GUI) indirectly.

    For example, in the attached VI, select 'CBS' in control of "Board", then select "Initial start-up" in control "Type of Image.  Then change the jury selected in "ACB".  The type of image remains as "Initial Boot" (although gray)-a scenario that is not allowed.

    Is it possible to prevent the disabled items in remaining selected?  Otherwise, is it possible to report when a disabled element is selected, so that the user can be prompted to change their choice?

    Any advice greatly appreciated.

    Dan

    I find that the Structure of event helps out a lot in situations like this.  See my attached VI... in the case of change of value for the control of the Board of Directors, I see if the current Type of the Image is one of the newly disabled... and if so, I change its value (in my case simple, I put it to "Operational" since this seems to be a correct value for all types of room).  I hope this helps...

  • used in a Subvi LabVIEW property node

    I have a group of Boolean control front, I want to minipulate the visibility and color (4) in a Subvi.  I created a Boolean refnum cluster and spent by them in VI.  In VI, I created a group of CTLRefnum that I used as entrance pole.  In the Subvi, I am able to control the visibility through the time property node, but the Color property node (4) does not appear as a selection in the Sub - VI.  Any ideas on how I could control the colors in a Subvi.

    Hello HEJ@WR,

    Looks like you may have thrown your refnums Boolean to more generic control refnums - as the Color property is specific to Boolean values, you will need to ensure that you are now the reference type.  Visibility is a property more generic that applies to all types of controls. Refer to this article for more information on casting refnums:

    LabVIEW Help: For more specific class function

    http://zone.NI.com/reference/en-XX/help/371361H-01/Glang/to_more_specific_class/

    LabVIEWWiki also has a very good discussion of types refnum and properties specific to the class here:

    LabVIEWWiki: Control references

    http://labviewwiki.org/Control_References

    Also - if you set the example code showing what you're trying to do is much easier for other users of the forum help!

    Kind regards

  • Error: The property node (arg 8) visa to configure the Serial Port

    I'm trying to control 8 USB to R232 via a HUB of 10 ports Tripp-Lite (model U222-010-R) and do not have consistent results.  Just after rebooting my computer, I have no problem in running the following program: (I tried to download the VI directly but without success, so here's the extract)

    I made sure that the COM ports that I select are that one is available on both the Device Manager and in the NOT-MAX.  But after awhile, it does not work or if the HUB is unplugged and replugged in (even if the names are correct and up-to-date in devices and NOR-MAX Manager) I get the error code "property Node (arg 8) visa set up a Serial Port (Instr) .vi" I want to be able to see these ports consistantly more without having to restart my computer all the time.  Is there a better Setup for this? The previous installation of the computer has a PCI card for it and we have not had any problems with the code, but are facing problems with our upgrade.  The old computer ran Windows XP and had cards PCI and the new computer that I am using a Windows 8 and the USB HUB.  Thanks for any help you can give!

    Mr says:

    Jeff,

    It is a one off lines from specifications Tripp-lite:

    -On bus power, 500mA from the USB 2.0 computer port is shared between hub ports

    This would be in support of what I need or not necessarily?

    -Mr

    No! That's the 50mA by port not 500mA.  an order of magnitude full powered USB (if you want reliable - if you want real problems which appears irratically each time only and is a headache to track down which would)

  • RT - property node error 1055

    Hi all

    Currently I develop an app RT on LabView 2014 SP1 which consists of three parts:

    • A PC vi that read the data and sends it to the target of RT;
    • A RT vi running on the CRio-9074 which receives data, convert it to current values and send it to current output modules. It also sends PFGA a number of pulses must be generated.
    • A FPGA target that receives a number of pulses to be generated and then do the work by a module ttl

    Things will work perfectly when the RT vi cover is open on the PC. This happens when I enter debug mode simply run the vi RT of the Project Explorer.  The problem started to happen when I tried to run the program without the RT vi front open. After some research, I discovered that the application of the RT was generating an error 1055 in a stream property node. The strange thing is that this does not happen while the RT vi façade is displayed on the PC!

    Althouth it seems to be a problem known as I found on the Web site of NOR, it is not clear for me, how do I solve the problem. Should I just close the RT VI, open it, close the vial, compile and deploy it finally? Well, if it is that means that workaround, it did not...

    537230

    Return

    Changes to the VI with dynamic references breaks VI with the error-1055 the Node property
    When a VI deployment that allows to get a dynamic to refer to a control on a x 64 Linux target in real time, the VI deploys successfully. After you make a change to the VI, error-1055 is thrown from any node property is trying to access the dynamic refnum. The error says "error-1055 has occurred to the property node...". »

    Workaround: Close, and then reopen VI.

    Report version: 2014 SP1    Solved Version: N/A    Added the: 23/07/2015

    Thank you all for the help. I use a few cards in the RT vi and was the use of the nodes properties to clear the history. These cards are only for the control of the application while it is still in development, and it worked fine while I ran the RT application with its façade exposed on the PC screen. At the moment I leave be executed only in the CRio, he started planting and throwing the error 1055. I removed the nodes properties because they are not indispensable and everything works fine.

  • LabVIEW 7.1 IVI - C Wrappers and VISA property node do not work together?

    Hello world

    I want to use the property node VISA with LabVIEW 7.1 Wrapper of two companies different well known instrument, Rodhe-Schwarz and Agilent Technologies.
    The two companies releasead their IVI - C for NI LabVIEW 7.1 drivers version NI Instrument Driver network and they are ready to be installed and used.

    I found a bug manifested that the LabVIEW 7.1 version that the bug is not present in whhen versions 8.0 LabVIEW or LabVIEW 8.6 than these IVI LabVIEW of LabVIEW 7.1 wrappers are used.

    Everyone could exeperience this bug if they have LabVIEW 7.1 installed and are trying to use the version of LabVIEW 7.1 of these wrappers which are published in NI Instrument Driver Network under the links below.

    Agilent ag81150ni IVI Driver for LabVIEW 7.1 install from here. Used in simulation that by definition simulate = 1

    http://sine.NI.com/apps/UTF8/niid_web_display.download_page?p_id_guid=55798957B1A633BDE0440003BA7CCD...

    Rodhe Schwarz rsngpt IVI Driver for LabVIEW 7.1 install from here. Used in simulation that by definition simulate = 1

    http://sine.NI.com/apps/UTF8/niid_web_display.download_page?p_id_guid=E3B19B3E91D6659CE034080020E748...

    After the installation of these two complete drivers close LabVIEW 7.1, if it was open, and then restart LabVIEW 7.1. You can see two new ready to be used as LabVIEW 7.1 IVI drivers in the LabVIEW Instrument Driver pallet wrappers in a LabVIEW 7.1 VI test.

    Open a new white VI and of the use of the Instrument Driver Palette two VI known, initialized with Options.vi and Close.vi adding them on the block diagram, connect all THMs. Accept all default settings except simulate parameter which must be defined as = 1 simulation.

    The two VI run OK mode of simulation without errors.

    Now select a property in the advanced Panel of VISA node and press this node between 'Initialize them with Options' and 'Close' VI and make all necessary in-out connections and error.

    Run these two simple screws of simulation

    1. When I run pilot Rodhe Schwarz IVI the property node going OK until the end. No error
    2. Whne I run Agilent IVI driver the property node is always out of the error Code 7.

    Question is why they behave different with regard to the property of node when it is used with the LabVIEW 7.1 envelopes? BTW, the failing VI of wrappers Agilent LabVIEW 7.1 works very well in labVIEW 8.0 and 8.6. That means that this problem is limited only the version of LabVIEW 7.1.

    I posted the same question on the set of LabVIEW and nobody chose their interest in there so I decided to post here. As this question is also linked to IVI, VISA drivers, it is possible the person of this group to get a clue about this annoying behavior.

    I've attached screenshots of the PNG files that show the difference of different behavior of VISA property between these two drivers node.

    ScreenTestShots.zip (152 kb)

    Thank you

    Sorin


  • DAQ channel property node

    Hello world

    According to the statement, NOR for the verification of the Pxi4330 procedure, I need "Disable calibration shunt for the channel by using the property node DAQmx Channel, you can find custom I/O" DAQmx - data palette purchase LabVIEW. "'" ' Select the analog input"General properties" conditioning of signals ' bridge ' Shunt Cal "activate property of Shunt Cal. "but I can't select this property that I want to say there is no property such as?

    What is everyone knows what the problem is? I lost 3 hours to solve this stupid problem, still can not find it.

    When I choose the General Properties property, analog, node there are two options that are not the answer.

    Please help me on this

    Thank you

    Hi Eric,.

    You have an SMU-4330 installed on your system? There are MANY properties of different devices, and to avoid confusion of the properties that do not apply to you, DAQmx tries to hide the properties that are not applicable to all devices in your system.  If you don't have an installed SMU-4330 (or a simulation of SMU-4330), then the property you are looking for appear by default.  To find it, you have two options:

    Option 1: turn off the property node filtered by right-clicking on the channel property node, by choosing "Select filter...". "and then selecting"display all the attributes:

     

    or Option 2: install a real SMU-4330 or simulated in your system. You can install a device simulated through the program of Measurement & Automation Explorer (MAX):

  • Display the property Node error 1077

    I created a vi with several analog inputs (up to 20), and I want to be able to turn on and off on the front panel plots. I currently have this case structure configured to go through each entry (i n), and the front (LED buttons) can be activated and deactivated to choose which plot to display:

    Turn work, the plots but I get this error message:

    1077 error has occurred to the property node (arg 1) in NetworkAnalyzer_UpdatedDAQmx.vi

    Possible reasons:

    LabVIEW: Value of property not valid.

    Property name: field Active

    All solutions? Thank you.

    Are you sure that the number of elements in the array of Boolean is the number of locations that you did? This error indicates that you have more items that you have drawn in your array of Boolean.

  • Graph plot legend colors Signal not updated when mixed with the property node

    Hello

    We try to put the colors of the trace of a graph of Mixed Signal using a property node. Although we can change the color of the data in the field correctly, the colours of the plot in the legend do not change until some apparently unrelated operator action is performed (for example, to resize the window or by double-clicking a field name).  Waveform to XY charts don't seem to have this problem.

    Anyone know a work around?  I think I saw a similar topic on the forums earlier, but I'm sorry that I am unable to find it now

    See attached vi.

    Thank you

    -john

    I should probably have joined the last post of VI, but I have has been a thread of error between the two loops.  I also deleted the text you had so I could see the I need to press the button.

  • How to change the value of the array element by using the property node

    Hello all :)

    IM using a table in the drop-down list box. the size of the array is not fixed.

    I want property strings [] from the drop-down list box to enter text in selection, but since I placed it inside the table im unable to use this property.

    I used 'arrayelem' reference property and property node connected to it but got no strings [] in the selection.

    so is it possible that I can use property strings]


  • Problem with the Value property node (MacOS)

    Insofar that I tested it, the nodes of property Value (and value (signalling)) do not work under MacOS: value property is a Boolean value, the value (signaling) as a cluster (width, height).

    Even with the Boolean controls, the node does not work.

    Not such a problem in LV 8.6.

    Am I missing something? Is that some 'of use' ? Or just a bug?

    This looks like some sort of problem of indexing with the nodes property as somesort of corrupted installation.  What happens if you just delete the property node and recreate him?

    I filed a digital control and looked at the context menu of the list of the nodes property.  Below value and value (signs) are Visible (which would be a Boolean value) and Xcontrol, that when you bring through the submenus, the first choice is container bounds, a cluster of Width and Height.  If these 2 types of data which are located 2 below in the list match those you found.

    What happens if you take another node in property a few elements upwards or downwards in the context menu?  Fact is happen for other properties, and if so, are thereany properties who agree?

    Here's what look like my property for a digital nodes and I draggged the box up and down to show the natural order of the nodes property.  Notice that I have script installed, so there are a few other nodes property (and the blue box at the top) you may not have.

    PS. Verify you the signature.  Kudos button is now moved to the left since the update of the forum.

  • How to set the property node maximum xscale for several scale XY Chart

    Hello

    I use a graph XY with three X axis and three scales of axis Y to draw the three sets of data. This works well.

    What I do now is to set the Xscale.Maximum property node for one of the x-axis (the other two autoscale). If I click right in the (Create Blockdiagram; Node property; X scale; Maximum) I can not choose what x-axis I want to put the Maximum for.

    So my question: how to select a specific axis allows you to set the XScale.Maximum property node when having several axes?

    Thank you for your help, any suggestions are appreciated!

    Hello

    After some more research and experimentation, I found that using the scale property X Active I can determine/set for which the XScale.Maximum Xscale is used.

    This solved my problem.

    I hope someone else can save themselves a few hours with this thread!

    Thank you

Maybe you are looking for