[LV09] Problem of structure case [beginner]

Hello, first of all I am French so I apologize if there is error.

I have a problem with a structure of business I did to initialize my parser (in collaboration with the ESPI Rhode & Schwarz).

The user of the software will have to choose between 3 antenna to measure 3-band frequencies, with different parameters (RBW, etc...)

So I beginned a program that is attached.

My problem is: when I run the program with "Point culminating execution", or step by step, it works.

But when I run it normally, label of the structure does not change when I change the antenna selected in the list.

Hoping someone can give me the reason.

Thank you

sincerely.

Do you mean see the block diagram in which case runs when you run your program?

This only happens if you run on highlighting.

Tags: NI Software

Similar Questions

  • Default structure case

    My complete code is a while loop with a clock of 100 ms. My code uses a feedback control to set the temperature, it takes a few iterations. Once the temperature games, I need to acquire a value and store. I do this by using a structure case followed by shift registers. The problem is that structure matter outputs the value read for the shift to the real register case, but if you fake, I'm forced to read a default value (0). It's just completely delete my records because of iterations when the temperature is set. Is there a better solution to this?


  • Simple question of LabVIEW on accountant Boolean signal off structure case

    Hello

    In my current program, I am trying to carry a Boolean signal (elapsed time) on a structure case to stop a while loop.

    http://zone.NI.com/images/reference/en-XX/help/371361E-01/loc_bd_casestatus.gif

    The loop on the left is basically what I want to do again every time I do this, I get a green tunnel box with a White Center.  It I cannot run the program by saying that there is a missing assignment in the tunnel.  What can I do to work around this problem?

    White Center means that there are some cases where you do not have a Boolean value wired to the exit tunnel. The tunnel exit value is the value that is wired slots in the case that runs, a value must be available in all cases.

    There are two possible solutions.

    (1) [normally preferred wire] a Boolean value in the tunnel of release in all cases. Exit tunnel will then travel to a solid color.

    (2) right click on the tunnel and select 'Use default if unwired' you will notice that the White Center will get smaller. It's like a constant false wiring for each of the cases with no wire. The drawback here is that it can hide errors in logic. You might expect over something, but not out of the Park, and no syntax error was reported.

    Rod.

  • Why code simple structure case block?

    Hello

    in this code structure case has two cases in one of them, there is a structure to a single event.

    with one button, I have just conrtol State mechine.

    After playing with this button, labview is suspended.

    a few times after an ot twice a few times after more than 10...

    It crashes because you can get in a situation of the structure of the event is not currently available (so the events are not handled), but an event she in the meantime.

    You have "Panel Lock" selected in the value change case event that just as it is said, locks the façade until the event is handled.

    Sometimes you get a race condition where

    -you click on to disable the button

    -a value change event is placed in the event queue

    -you set your state variable to 1 (disable event handling)

    the structure of the event will never, then run the event does not get managed, and the front remains locked.

    You should never have a loop of events implemented to manage the events that cannot perform to manage these events!

    I can't tell what you are actually trying to achieve with this code - it's a strange way to proceed. I think you need to plan your States a bit more and work on what you're trying to do and maybe look at some examples of State machines and architecture of producer consumer if you want to handle events and have a functioning of State machine.

  • Tag Chooser structure case

    Hi people,

    Is it possible to change the label name of selector structure case as VISA property node programmatically done

    in a control, for example?

    I fixed some labels, but in certain situations, I want to change the labels of this case structure until the software get to the top

    in this case structure.

    Thank you very much

    Henrique

    Don't know what you intend, but you might consider a 'mapping function' to achieve this flexibility.  Suppose you have a Case statement with 5 cases - call - the Initialize, take example.

    The Gain value, sign change, exit.  Now suppose you have 7 States, State 1, State2, state3, state4, State5, state6 and crown7.  Write a function (possibly with controls) called "State to State" which takes State1... Crown7 as inputs and outputs of the sample appropriate to take cases labels, Initialize, etc..  You just have to change the mapping function and the States plan to whatever your card tells them to.  If you make the Map function have a case that he controls, you can make a case (the map selector) exactly the performance mapping you describe.

    [Sorry, I'm hiking here, but I hope you get the idea...]

    Bob Schor

  • What do the arrows on the tunnels of structure case?

    I've recently upgraded to LV 2009 and I noticed the small arrows inside/on some tunnels structure case, but I can't understand what they mean.  For examples, see the attachment.

    Thank you!

    Tunnels of related entry.  What's new in 8.6.  See here

  • Problem in the case of storage expansion

    Hello

    I'm sorry, but I have created a document instead of a new thread here. Could you pls have a look at the document with the same name, 'problem in the case of storage expansion '.

    Thank you

    Hello and welcome to the forums.

    Have you tried the same operation by using the vSphere client connected directly to the ESX host and not through vCenter?

    Good luck!

  • Structural case problem?

    Hello

    I have a vi in which I three structures (true or false, elected by a button on the front panel). The first case structure works correctly but the second and third do not select properly. (IE, do not loop properly when selected from the front panel individually). The vi wrote in Express 7. Any help to what is wrong with the structures would be most appreciated.

    Nevica


  • A comparison to run using a structure case

    Hello

    I'm writing a simple program, but I can't seem to understand how to write it.

    I have a dynamic series of data (about 16 000 values) running inside a while loop.

    I want to add 180 a value if that value is less than 30.

    My idea was to:

    1 make a comparison: 'x '.< 30"="" to="" get="" a="" true="" or="" false="">

    2 send the Boolean value and allow to use a case structure to tell if it is real

    2. then, if it is 'real' x = x + 180, if 'false' x = x (just pass directly through the structure of the case)

    However, he always adds 180 to the value.

    Help, please!

    Thanks, Jake

    Hello

    If my uderstanding is correct, this should help you... Please see the image as an attachment...

    Accept as sollution if solved the problem...

    Thank you

    Yogesh

  • Jump out of structures case otherwise than by the STOP

    Hello

    I have a VI where I first select one of the three switches to read of different thickness. At the time when each gauge is selected, a case structure is selected and the data of this calibre until you press stop. There is no way within the VI to change the mid flow as it gauges without first stop and restart and save the file again. I would like to be able to press another button of meter and the software automatically continue daat of the different gauge registration.

    To do this, I need to jump out of the Central case structure and back to the beginning. How can I do this?

    In addition, in each case structure there is a facility to backup data, so by jumping out of the structure of the case and in another he will ask a new file name and save a new file new. I need to put the SAVE queue outside the structure of the case. Is there a quick and easy way to do this?

    Nevica


  • Problems of Structure of event

    Hi all

    I'm using the following code tries to get the tension and then use the peak voltage to trigger an event. My event structure is not working properly and I'm not sure what I'm supposed to do.

    Take a look, and any help would be great!

    Hey,.

    There are a number of things wrong with your layout, another that the Structure of the event is not called. What you have here is not a lot and that's the beauty of LabVIEW: you can do the same thing in different ways.

    Following the design of the Structure of the event, you intend to go with, I have attached a redesign of your code, including comments. I think this should work for you now. I followed the common approach of the Machine State, which uses perfectly, the Structure of the event - when in "stable" condition or non-working.

    The main aspect that you need to consider is how the Structure of the event is called. He needs a break to identify a State he needs to address. In this case, to increment a counter each time that the peak voltage is detected.

    The enumerated data type (the value that keeps the State of the States-transitions diagram) can be added to or changed. Normally, you should 'Customize... '. "the type of data (right-click) and create a variable of Type Def (ensures all the changes in the code, where it is used).

    There is more you can do with this structure, it is quite useful and powerful. There are a few examples online or within the help function in LabVIEW to give you more. Regarding the DAQmx, there is a project of State machine already set up for you - with all type defs and some events already created for you. After you have mastered this you must go along and check out more.

    All the best. David.

  • Control of the ring and structure cases

    In my control ring 3 or more elements are there and is connected to a case structure each article with each image. If I select the second element then the case structure must also run well 1 & 2 frames. And if I select the third point, then the business structure should run the frames 1, 2 & 3 and so on. Is this possible?

    This is not possible with just a box Structure. Place a loop in the Structure box and loop 1, 2 or 3 times by plugging in the ring in the County Terminal and the Terminal of the wire for the case selector iterator.

  • Business Structure - case specific error

    I'm in my case Structure (T/F) with a line simple mistake... but when I leave the Structure of the case, I want to go the direction that the case sends me.  For example, if my case is true, I want my merry way, luggage in hand until the error line just straight crossbar.  For the fake, I want to go a different direction... can I add a second Tunnel of line outgoing error?

    I recommend to meditate on the mental health of your ideas. Do you really need two outputs error for the structure of the case?

    In any case, there are many solutions:

    • You could brach wire of the error on the two tunnels to exit for cases that have only one source of error.
    • You can use the tunnels 'use default if the thread continues'.
    • You can use "merge errors" to combine several threads into a single error.
    • etc etc.

    It is difficult to say much more without seeing the rest of the code? What is in other cases? How do you guarantee that the while loop will not forever?

  • programmatically change the range structure case

    I think I already know the answer to that, but I'll ask anyway. In the attached picture, is it possible to programmatically change the range of numbers used by the case?

    Tay

    I probably would solve the problem by program, for example as follows.

    Start by Ravens idea above and use a picture of the limits of the range, for example as described here.

  • Can I control with structure case tab control pages?

    Hello!

    I'm quite new to Labview and my company wants me to do some programs for electronics testing. I am currently working on the GUI and I would like three pages in a tab with control buttons control.

    I've only had the Labview 2009 base package, so I can't use the structure of the event.

    If you open my .vi you can see I have a control tab with three pages. On the first page, I had a 'Start' button which should open the next page in the tab control. On the Central page, I have a "Back (back)" button that should go back to the previous page. The button called "Lagre (Save)" should work as a next button and go to the last page. On this page, I have a 'back (Back)', 'Ny test (new test-> go to first page again)' and 'Avslutt (Quit).

    The buttons on the tab control of cases something that I copied an example just to try. It works perfectly, but I can't change the Structure of the event in the example.

    Is it possible to solve with Structure box? Or maybe there are other solutions? Feel free to edit my .vi if you wish

    Thanks for the help!

    Kind regards

    Same Myhre

    Test engineer

    Hello again,

    I made a fundamental change in your VI.  Only the first box in the first tab works, but I guess that you can sort the rest of them.  I hope it helps to start with.

    Dani

Maybe you are looking for