changing the value of the indicator

I need to change the value of an indicator, while the program is running.

I enclose a VI

1. a double is given as input to find derived from ptbypt, and then I compare the derivative (threshold) to enter the value to give a Boolean result.

I need the user to change the threshold value as required by him.

Thanks in advance

Well, use the property node.

Ran

Tags: NI Software

Similar Questions

  • Is it possible to change the indicator/control according to enum?

    Hi all. I'm rather new to LabView, and I'm doing a program for a robot that can run virtual, so without a DAQ or whatever it is connected and therefore has a toggle entry. But he should also be able to run 'real', so, with the acquisition of data, and thus controls should be replaced by indicators. Is it possible to do or not?

    jdepypere wrote:

    Hi all. I'm rather new to LabView, and I'm doing a program for a robot that can run virtual, so without a DAQ or whatever it is connected and therefore has a toggle entry. But he should also be able to run 'real', so, with the acquisition of data, and thus controls should be replaced by indicators. Is it possible to do or not?

    Not until your VI is running. However, you can do so using VI scripting.

    https://decibel.NI.com/content/message/39353

    BR,

    / Roger

  • How to change the frequency of sampling DAQmx during execution?

    Hello guys. I'm using LabVIEW in the measures of the frequency response function. My application requires the sampling rate to change according to the frequency of the signal during execution.

    I tried to do it with a "structure of the event" and it works well when I change the rate manually via the front control but it backs do not work when I set up the sampling frequency to vary automatically (just a frequency sweep). Photos below:

    Why not the structure of the event feels the change in the value of "rate"?

    Thanks in advance for your help.

    Lucas

    Hello

    In "automatic mode" to change the sampling rate, the calculated rate is written in the local variable (as illustrated in the code).  Structure of the event does not change value in the local variable as an event.

    In order to make the structure of the event to recognize the change in value of an indicator such as event: write the new value to the property "Value (Sgnl)" corrosponding node to rate indicator (see figure below).  This will make the structure of the event accept the value change in the indicator as event.

    Note: Use architectures such as producers and consumers for such applications, which makes the application readable and expandable.

    See rear queries if any.

  • change the color of a function of the numeric value indicator bar

    I'm trying to customize a digital indicator, a bar of tank, to change the color of the bar according to the numerical value.

    I assumed that I could to make it by creating a property node for change FG and BG, connected to two color within a structure of the case box, but when I can function returns an error message.

    does anyone know how to customize?

    You must use the property 'fill color '.

  • How to change the visibility of an indicator programmically using a checkbox

    1. How do I change the visibility of an indicator of programmically using a checkbox?

    2. How can I change the color of a thermometer? I mean, this is how I can change the color when the temperature reaches a certain value?

    Nodes property.

    Right-click on your indicator.  Create > property Node > Visible.  Your Boolean checkbox wire that.

    For the thermometer to create a property node and choose FillColor.  A constant color box wire to one that is in its graphics & > range of image feature.

  • Changing a property of an indicator of the chain in a cluster with a sub - VI

    I know that the issue of the update of an indicator on a first level VI of a Subvi has been requested before on the discussion Forum, but my question is slightly different, because I want to update the property of an indicator, not necessarily its value.

    In my first level VI, I have a group that contains some indicators of the chain.  The cluster is a typedef.

    I want to change the background color of the indicator for red or green of my sub - VI string so that it looks like this:

    Creating a reference to the cluster and move to the Subvi do not seem to work.  I'm not able to see the Text.BGColor property to change the background color of the string indicators:

    It seems that the creation of a reference to a string indicator and switch to the Subvi might work like this:

    Is there a way to better/more elegant to do this? Do I have to create a reference of string for each string in my cluster and send it to my sub - VI?

    I've messed around with global variables, but not luck.

    Plese help.

    You have the right idea.  The cluster reference has a property called [orders].  Which returns an array of references to all the controls in your cluster.  Indexing of those who have properties BGColor, that you need.

  • Change the values on the axis are in text

    Hi all

    I'm tracing a few weather data, I took a Web site. A detail that I extract from the Web site is rolling of wind. Extracting value is very good, and I find myself with a value between 0 and 360, which corresponds to a direction. I can trace it on a chart compared to the time I acquired data. One thing I would do is to create a second scale of y and change the numeric values for text labels to describe the meaning, so I N, NNE, DON'T, etc. as well as the value of the azimuth in degrees. I cannot find a way to add text to the second ladder, I missed something or it's a bit complicated to do? I have attached a picture to show what I mean.

    If I missed a post on the forum about this, excuse me, please paste the link in a comment below.

    Thank you very much

    Joe

    Pack them salvation.

    I cannot find a way to add text to the second ladder, I missed something or it's a bit complicated to do?

    No, you didn't miss anything. You cannot display text in the y-axis.

    But you can hide the axis values there and place a string indicator in the place!

  • How can I change the background color of the indicator

    Hello

    I want to change the background color of an indicator. (Yellow in the image as an attachment).  I would like to know, what property node manages this value so that I can wire a box of color to it.

    Thank you

    Jason

    Digital text > text colors > BG color

  • change the push button for control or indicator at run time

    Hello

    I have a lamp that can turn into power according to the value of a Boolean variable.

    There are two ways in which I can control the lamp.

    (1) manual mode in which the button must be used as control to change the value of the Boolean variable.

    2 auto mode) in which the value of the variable is changed programmatically. Push button must return to an indicator to indicate the value of the Boolean variable.

    I should be able to swith bw manual and automatic mode for the duration and the push button should switch to control and indicator respectively.

    For those who might wonder why it's necessary: there is a sign which must be controlled in manual/auto mode. in manual mode, operator will manually use the buttons as controls for updating the control variables, in auto mode, my control algorithm updates the variables, and the Organizer must be able to see which button is pressed and when. If the button should be the control of update of variables in manual mode and must be the indicator of the evolution of the variables in auto mode.

    How is that possible?

    A basic VI with three objects are attached, and the Boolean control variable is global.

    Did.

  • Changing the values of control over a key

    Hi, I have a situation where I have several digital controls where you can change to different values. I have also several subVIs with references to control (as described in this article: http://labviewwiki.org/Control_References) that takes in the references to these digital commands on the mainVI. These subVIs permanently read values into their own net.

    So whenever I change a value on any of the controls, the values change of course in the subVIs, since they refer to the value of the control.  How I would do the actual value change that once I clicked the ok button?

    To illustrate this, I've done a VI with a structure of the event and another while that continoulsy reads a reference to the control and updats loop indicator. I see some heavy solutions, while I have two controls for each value. The second control would then be hidden and written only in the case of the Ok button, press. But having two controls to do something simple, like this seems superfluous.


  • Change the background color based on the value

    I'm sure that this is a trivial question, but I can't seem to find the method to do it.

    I want to change the background color of an indicator according to its value.

    For example: if I have a set of say 123degF, I would like to the color of background color green if the value is either 1% or +/-2degF.

    Otherwise the color could be if above red and blue if under.

    I was able to schedule a psychic acomplishes, but with more than 50 indicators the interface gets quite busy.

    Santosh is correct. Here is a small example of the implementation of this code:

    I've also attached a copy of this VI, with the connected devices, so you can use it as a subvi if you wish.

    He takes input of temperature limit lower and upper limit. It then returns the value of the temperature, with the color of the indicator of change.

  • Detect the dial needle completed the change of value?

    Hi all

    Is it possible to detect when a needle dial finished changing value?

    I am creating a VI to request a change in working capital.

    I don't want the control unit with a request for every change in the needle of the dial of the swamp so I use mouse events.

    Can I use Dial: mouse upwards and the dial: left mouse to request a new change in working capital.

    However, you can always pass the needle when it is outside of the wheel, which does not lead to a step change request.

    I have attached my VI and any help would be appreciated gratefully.

    Phill

    How to detect the events and update the indicator.  I added "component: Mouse Up ' to update the indicator if the mouse leaves the button before falling from the needle.  This will add a nuisance update when the pane: the mouse upward is due to something other than a movement of the needle, but you can detect that in seeking a change in value on the dial.

  • How to change the value of string clustered, to implement using the node value of property instead of writing directly on the flow of data or using the variable

    new to labview :-) and I have a problem when I want to change the value of a string in bunches, and I want to implement this using the node value of property instead of writing directly to the stream or by using the variable, enclosed is the picture.   No matter, I have change in cluster (control) or value of Popery out (indicator) cluster, the value (sensor 7) dataflow keeps unchanged even I gave the new value by value of property node. Thank you to give me some advice about this.

    Hi GerdW

    Thanks a lot for your answer. The reason I'm stubbornly tring to break the flow of DATA is: we have a test system that have about 100 screws, they have a few connected flow, some of them will be unbundling a cluster dataflow chain to check the value in order to make the different cases.  Now I want to insert user event by changing the control and influential cases during run time.

    As I initially uses a global variable (to control cases) instead of unbundle string data flow, it works well.  But then, I found there are a lot of screws that are using the string unbundle.  One of the 'lazy' means, I tried is to change the value via the property node (because that way, I did not need to find all the places where using the unbundle string and replace them with the global variable), then I noticed a problem with "dataflow", the value in the stream of cluster in fact will not be changed by changing the value of the property node.

    I did a test with VI simple (like the picture in last post), and after reading your advice, I tell myself that I need to understand the concept of "DATAFLOW" in labview, it seems that my "lazy" way can not work in this scenario.

    I have attached the criterion VI here, have you furthur suggestions on what I can do in this case?

    Mant thanks!

    Minyi

  • How can I change the values of control based on a file of reading?

    I understand that the controls were only outputs and indicators has only entries, but I'm looking for help to create code that has the capabilities of both. More specifically and, ideally, my façade would allow the user to select an old spreadsheet file to read, and these values of the worksheet would be poster. The user could then change these values to their liking and then submit those twisted values, such as a new file / replaces the old/etc. The important part is the the indicating and control playback in values.

    Thank you

    Need to wire the worksheet values in the local.  The control itself just watches.  What you have wired in your VI sets the control to its current value (of course, a bit pointless).

  • Change the scale and the legend of an indicator

    I create a VI shows the current temperature and the speed of the wind on 2 separate indicators. I added a two 'select functions' button controls to convert the readings between English and metric units. No problem. Now I want to change indicators it legend and rank (minimum and maximum values) also when the key is toggled. So if I push the button to select the metric values for these readings of the scale values and the legend are changing too. Thanks in advance for the help.

    [email protected]

    Right-click on the indicator, then press on "create the property node >.

    Then select the following properties:

Maybe you are looking for

  • Where is the icon of the lock, to indicate a secure site, appear? I can't find.

    The used padlock icon appears on the taskbar at the bottom of the screen (right side) to indicate that the site was secure, for example do banking online. Now I can't find it-so, how do I know if a site is secure?

  • Satellite A500-1GL - card wireless adapter problem

    Hi all I had a problem with the card wireless on my laptop for months and have no idea how solve more. Basically, the wireless card seems to go through phases does not turn on. One day I can boot up my laptop and it works fine, then the next day it w

  • Why is the trigger of the DAQ signal works not as I expect?

    Using the DAQ Assistant, I have received a signal at a rate of 100 k Hz and number of samples of 75 k. I would like a light every time that the amplitude of the signal falls below 1. As you can see from my attached graph, the amplitude becomes less t

  • Windows 7 and server 2008

    Two weeks ago, that I update 25 laptop from XP to Windows 7. They were already joined to the domain on the server with a given name. When I upgraded, I appointed the namesake. I saw that there were names duplicated in Active Directory, so I deleted t

  • Boot from the CD-ROM in windows 8

    I want to make my dual boot Pc of windows 8 and ubuntu 12.10. The problem is that I can't start either from a live CD or a USB key. I followed the instructions I found on the internet, but none of them were useful. I need to note, as I noticed that t