Visible property node question

I need to enlarge the various controls on my front and disapper with function of what is done is there an easy way to do a lot of different things appear and disappear without creating a node property for each individual. His slow me down a little during the execution and the sound also make my huge primary VI.

Try to create a table of references to the things you want to make visible/invisible, and then pass this array in a loop with a property node inside. This should make you save a lot of space to block diagram.

as follows:

Tags: NI Software

Similar Questions

  • Visible property node tab Page work does not correctly

    I do a vi in which we have a tab with 6 pages control and to move from one page to the next there is control of ring with option for each page to page 1 (page 1 is the default value), at the same time only a single page is visible, so that we can move only through the control of the present ring on page 1 and return to page 1 of all the other pages there is button "return" on all other 5 pages, everything works well for 5 pages, but when after going to page 6 and then if I press return button instead of going back to page 1 program crashes and one more thing I've noticed is after that judgment of the program on page 6 becomes the default page (which is page 1) I know not why it is past.

    I enclose the snippet of code that runs when I press go button "back".

    one more thing I get here is when I checked the program through the execution of the step, the last property node (page6) that runs first, after that it goes to the first node in property, then he goes in order, this also I want how is what is happening.

    It would do the same thing as your code?

  • Is there a more efficient way to use the visible property node to make the inactive/hiding controls on the front?

    I just inherited the labview code to run a system of imaging optics mamography.

    It has 32 sources 128 detectors and 2 games of light and the user has the possibility to control the parameters of gain for each sensor to each source for each source of wavelengths, so as you can imagine there are a lot of orders and LEDs on the front panel.

    The user also has the possibility to choose the number of sources and that they would like to use detectors.  v: * {behavior:url(#default#VML) ;} O'Bryan: * {behavior:url(#default#VML) ;} w\: * {behavior:url(#default#VML) ;} .shape {behavior:url(#default#VML) ;}}}} Normal 0 false false false MicrosoftInternetExplorer4 / * Style Definitions * / table. MsoNormalTable {mso-style-name: "Table Normal" "; mso-knew-rowband-size: 0; mso-knew-colband-size: 0; mso-style - noshow:yes; mso-style-parent:" ";" mso-padding-alt: 0 to 5.4pt 0 to 5.4pt; mso-para-margin: 0; mso-para-margin-bottom: .0001pt; mso-pagination: widow-orphan; do-size: 10.0pt; do-family: "Times New Roman"; mso-ansi-language: #0400; mso-fareast-language: #0400; mso-bidi-language: #0400 ;} "}

    Depending on how many sources are entered labview code through a loop For which in fact a 'smooth box' visible or invisible, on the adjustment of gain control depending on whether the current detector is greater than the seizure of the number by the user.  This loop slows down the program because it works 128 times (max number of detectors) and has 4 structures deal (2 sets of wavelengths, 2 for each breast) with 64 nodes of property each where it is visible property to enabled or disables the box with that covers the detectors.

    I was wondering if there was an easier way to enable or disable controls for unused detectors, not only that slows down the program but to reconfigure the data to use more sources, I stop the program and restart it.

    Any advice on the creation of a dynamic front would be appreciated


  • Line break in the name of the Enum element? (no further questions on the property node)

    I don't know what is the meaning to allow element enum with line feeds them names (\n):

    It is easy to do by directly editing the control over the public Service or a constant on the comic, but it's somehow not if you use the context menu 'modify Items... "who jumps to the top of the Properties window.

    As a subsidiary question, if I try to do it programmatically:

    It fails with this error:

    which simply means

    That's the script as an indication only (never used script before)? If I disable the "Show script methods, etc." option, it is still available though...

    This type of property node is useful if you use LabVIEW to write LabVIEW.  The main example of this is the DAQ Assistant, but things like the right frame click JKI also do.  You usually encounter when writing automation tools development.  For example, this particular node would be useful in a tool that converts a task manager based on a string to an enum-based task manager.

    You can find the full properties of each property and method using LabVIEW.  This includes whether or not it will work in the execution or change environments.  The enum is an interesting case that confuses many.  Modification of strings of the enum of the code changes.  Most people who want to change the strings of the enum runtime should use a ring or a listbox, instead, since you can change their strings at run time.

  • Sample quantity sample DAQmx channel property Node substitute in LabVIEW when = 1

    [cross posted from LAVA] 

    Problem:
    LabVIEW seems to be the substitution of a value of 1 to a value of 2 for the node property DAQmx Sample Quantity.Sample per channel for a continuous acquisition mode.

    Information:
    I have a task created in MAX (version 4.4.0f1).
    When I updated To Read samples 1 the task runs successfully in MAX.
    When I read the task in LabVIEW (8.5), the property node Sample Quantity.Sample per channel (i.e. the samples to read) is converted to a value of 2.
    If the value is greater or equal to 2 to the MAX, then the Sample Quantity.Sample by channel in LabVIEW property node returns the correct value.

    I get the same problem with a real or simulated device.

    Question:
    Is this desired behavior?

    Side note:
    If N samples (acquisition of buffer finish) is selected samples To Read cannot be 1 because it causes an error 200077 - must greater than or equal to 2.
    But no error will occur when the task is saved as a continuous (continuous buffer acquisition). I don't know if this is related. The error generated is:
    Error-200077 occurred to the DAQ Assistant
    Possible reasons:
    Measurements: Requested value is not supported for this property value.
    Property: SampQuant.SampPerChan
    You asked: 1
    Valid values begin with: 2
    Valid values ending with: 8589934590

    Shouldn't

    Hi JG,.

    Remember that the number of samples (one associated with DAQmx sync settings) is not relevant for continuous acquisition.  To read a sample at the same time, you simply specify this in your DAQmx playback function.  When you configure MAX to read an excerpt, it makes this same functionality automatically.

    You will not be able to get the value of another property node as the value is converted as soon as the channel is created (the value non-sous the constraint is not stored anywhere by the driver).  It should not be a need to this value in your code, if you want to read a sample to a schedule the DAQmx read simple example of function.  The amount of samples by reading is not part of the task itself, but is defined when running as an input to the function read DAQmx.

    You get the error message indicates that your device supports should not single-point HW timed - I would have probably asking which device you were using.

  • 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

  • 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

  • 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

  • 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.

  • The property node reference

    Hello guys,.

    Using the property node, I confused with the terminal of reference there. Can we establish a special reference to the control (button, for example), but obviouly I couldn't connect the button directly to the point of reference. I find an example about which attached in attachment. How can I creat something like that? So enjoy!

    Phyyu,

    VI server references follow the structure of object-oriented class. A VI server reference can refer to a wide range of objects, such as a control, etc. variable indicator, VI. Server of VI References can be as strict or not strictly typed as you wish. A control/light specifically made reference refers to a command that you pass to it. You can request to be more rigorous by right clicking on the reference, and using menus to select the class that you want to reference. A tree of possible class might look like this: Server VI > generic > G object > control > Array. Now this reference requires a pointer to a table control and will not accept any other type of control. If you use this reference control to create a property node, the properties will be specific to the array class.

    A refnum is simply a numeric value that refers to a place in memory. Reference and refnum are used somewhat interchangeably in LabVIEW.

    I hope that answers your questions! See the help files of LabVIEW for VI server references to learn more about them.

    Kind regards

    Alexandra Valiton

    Technical sales engineer

    National Instruments

  • Class property node information not stored in the class file

    Hello

    did happen to you that you add a property (accessor get/set of an attribute) in a class node, Save the project, move the project to another location and it open and that the property node is missing in the project, although that the file VI is there in the file system? Unfortunately, it causes other screws using the property node is broken after moving the project to new place.

    The class file is some sort of XML and I checked: property node information is missing indeed, that seems to be lost when you save the project to the original location.

    Any idea?

    Peter

    Peter,

    If the content about the VI for the property URL is indeed missing in the file lvclass, it should not be a problem of relatively/absolute path.

    So what I want to know to clear:

    -PC 1 is used to develop the project, including the class (file lvclass and a few screws). You save the project using project explore everything back up?

    -Then you copy EVERYTHING used in the project manually to 2 PC (a unique project directory?).

    -Open the copy on the new machine shows the issue: the lvclass file does not include the entry for the node property accessor get/set screw option, but the screws are in the space provided (in the project folder).

    Is this correct?

    If so, the file lvclass on PC 1 contains about property nodes?

    If the parameter is there, please compare the original file and the copy of the timestamp and size. It seems that the lvclass file is not copied correctly.

    If the parameter is missing on 1 PC, the question must also be enabled on the developer's computer. When you try to save the lvclass file: it overwrites the file and create a new stamp/size for her?

    Otherwise, wait for the lvclass file to be write protected...

    Norbert

    EDIT: We're talking marked yellow question type, do we?

  • Unicode property nodes

    Hello

    I'm struggling with the implementation of Unicode in an application.

    The main question that keeps me is:

    Although I added UseUnicode = true to my LabVIEW.ini (currently using LV2011 SP1) I can't create the necessary property nodes such as 'BoolText.InterpAsUnicode '.

    I checked the Vi scripts display in the vi server options and restarted LabVIEW nothing helps.

    Does anyone know what it is?

    Best regards Florian

    Hi Florian.

    I can't find this in LV 2012 property node either. The developer notes, this is a regression that occurs in all versions past, I think, 2009. I know it must be frustrating - Unicode + LV =

    Best regards

  • 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


  • property node image

    Hola!

    MI problema are el siguiente--> Tengo varios display of imagen y quiero that segun the seleccion me in pantalla muestre solo el display correpondiente an esa Selección.

    Creo that hace mediante a property node, pero the truth that no me entero como esto works good.

    Hola,

    El property node used are "visible". Te editor an example muy sencillo en LabView 8.6. If lo need salvado para otra version hazmelo saber.

    A greeting.

Maybe you are looking for

  • How to enable javascript

    I want to activate javascript on my droidx, but I can't find where to do.

  • Portege R500 - RAM and disk SSD upgrade

    Hello I have a PORTEGE R500 bought in 2007, SERIES NO.48025469H. I have obvious problems with VISTA and WINDOWS 7. The two do not work well, because he seems to have a memory. I wonder if I can increase the memory and replace the drive with an SSD. I

  • Satellite 1110 backlight problem?

    HelloI had a Toshiba Satellite 1110 for about 1 1/2 years and recently the screen went dark, it seems that the backlight has broken or come off. It sounds like it could be a problem with the LCD inverter (as a google search shows) and I was curious t

  • HP 15-AF006AX: need drivers for 15-AF006AX for Windows 7 and Windows 8 HP model

    Hello I recently bought two units of 15-AF006AX HP HP model and I installed Windows 7 on a laptop computer, & Windows 8 in another laptop, but do not want to upgrade to Windows 10. I tried to find the drivers, but it is not clearly mentioned that the

  • HP laptop: Hp laptop screen on the side

    This morning I turned on my laptop mode 'sleep' and that's on the side, I don't know why it happened, but it happened once, but my son pressed a few letters on the keyboard and it happened