Wiring inputs n outputs for case structure

Hi everyone...
I have a simple basic question...How to wired the correct tunnel for output in case structure.Because when I try to wire the build array to the case structure, It shown as white terminal....How how to make solid color terminal for output tunnel...Actually I forgot how to wire it correctly..so...I hope u guys can remind me again...thank u very much...
Attachments:
Cepat21.vi ‏43 KB

Hi Altenbach...
Thank u very much for ur
help.I'm always make a careless mistake.thanks to u guys.Now,I'm be able to display my
data into table something like attachment below.Actually I'm using IIOA
to parse the value into string...something like that...
V = 238.25 I = 23.82 P = 5676.12
V = 237.79 I = 23.78 P = 5654.28
V = 237.35 I = 23.74 P = 5633.54
V = 236.94 I = 23.69 P = 5614.09
V = 236.56 I = 23.66 P = 5596.12
V = 236.22 I = 23.62 P = 5579.80
V = 235.91 I = 23.59 P = 5565.29
V = 235.64 I = 23.56 P = 5552.72
V = 235.42 I = 23.54 P = 5542.22
V = 235.24 I = 23.52 P = 5533.88
V = 235.11 I = 23.51 P = 5527.78
V = 235.03 I = 23.50 P = 5523.98
V = 235.00 I = 23.50 P = 5522.52
V = 235.02 I = 23.50 P = 5523.40
V = 235.09 I = 23.51 P = 5526.62
V = 235.21 I = 23.52 P = 5532.16
V = 235.37 I = 23.54 P = 5539.95
V = 235.58 I = 23.56 P = 5549.92
V = 235.84 I = 23.58 P = 5561.99
Then I try to convert this string into numeric or dbl coz I want to
merge it with signal.So, it looks like complicated like u imagine.
Now,I have one other question.refer to my vi, I have used elapsed time
so that it will run from the start time until target time.But its only
can be determined in seconds.So, how can I modify it with using elapsed
time for day.I mean this prog will start on Monday for example n stop
at wednesday.It means it will run for 3 days...thank u very much...
Attachments:
build table1.PNG ‏36 KB
Cepat2122.vi ‏165 KB

Similar Messages

  • How can I make Apple Earphones be the Input and Output for Audio

    I have some older headphones and they aren't compatible with a Mid 2010 (Intel Core i3) 21.5 Inch iMac
    Is there some way to make Apple Earphones be the Input and Output for Audio in the iMac
    This is a problem for me personally as when I am talking to someone on Skype the iMac picks up the In-built Microphone audio, and yes the headphones I'm using do work straight from the iMac as audio output
    Any help is appreciated

    you can connect the headset to something like this
    http://www.ebay.com/itm/NEW-MaelineA-3-5mm-Female-to-2-Male-Gold-Plated-Headphon e-Mic-Audio-Y-Splitter-/381100440348
    and then connect the mic to the input and the headset to the headset port

  • Output of case structures

    My problem is that outputs of two cases(of the same case structure) are used at the same time to get a new number.
    For example, output of case 1 times 20 plus output of case 2.
    How to implement it? Thanks.

    There is only one case active at the time, you can't have two cases at the
    same time, it would be a contradiction to the Case-structure (e.g. a Boolean
    is either true or false or unknown, but never two states at a time).
    But that's more a question of philosophy.
    I think I know what you want to do!
    You have to execute your Case-statement several times and store your several
    Case-Outputs. You should use a Case within a For oder While-Loop (For or
    While depends depends on your iteration condition: Fixed times or variable).
    Then wire the Case-Outputs to the Loop-Outputs and enable Auto-Indexing.
    Store your values in an array and scale and add the array after you have
    collected all the Case-Outputs.
    Another solution is to use a Shift-register of the While
    or For to create a
    running sum of the cases.
    Which one do you prefer ?
    Oliver Friedrich
    "haodage" schrieb im Newsbeitrag
    news:[email protected]..
    > My problem is that outputs of two cases(of the same case structure)
    > are used at the same time to get a new number.
    >
    > For example, output of case 1 times 20 plus output of case 2.
    >
    > How to implement it? Thanks.

  • How can i use a string as a control for case structure?

    my vi is reading data. the output is a string,how can a string can control the case structure? because the there's a constructed vi in that case structure that wll perform a tast after the main vi read.
    Thank You
    (Can you please give me a simple example how can do this)

    Try this vi. You shouldn't have any problems just connecting a string to the case selector.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor
    Attachments:
    string_to_control_case_structure.vi ‏10 KB

  • Shortcuts for case structure manipulation?

    Hello all.  I'm curious if there are keyboard shortcuts for duplicating cases or deleting cases in a case structure.  I'm also interested if any of you have any tips or secrets to working with large case structures - LabVIEW mods that enable a storyboard-style case structure reorganizer, for example.
    Thanks!

    JLS wrote:
    Another useful feature of case structures is that if you use an enumerated type for the selector, you have the option to "Add Case for Every Value.
    Yes that is handy for enums with a handful of values.
    The other feature I like about enumerated cases is the ability to NOT have a default case.
    When this is the situation, LV will remind me that I have not coded up all of the cases in the event I missed one.
    This is very handy in applications where you have a bunch ( 100 or more) of enum values.
    If at a later date I decide that I need to add enum value #101 then I edit the typedef and then LV reminds of all the places I have to go and fix.
    Just a different approach for a different challenge.
    Ben
    That reminds of a related trick I have not heard anyone mention lately.
    Bonus Q:
    Given a list of all of the enum states (array of strings), what is the easiest way to create an enum with all of those values?
    Correct answers are worth 5-stars!
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Property node for case structure

    Is there any way to programatically pull out the list of cases (strings) from a case structure at run time?

    Thank you tbob and tst.  I do use the enum "trick" in other places (I once saw it used in an example somewhere) and I am nervous about the Selector Strings property available through scripting after reading about it on the LAVA forums site (I am a novice LabView user and I mostly didn't know what they were talking about).
    I have a VI that processes "tags" embedded in various text fields that many of my collegues use.  As an example we have a custom front end to the LabView simple error handler that processes our custom error codes and handles timed popups, writing to the device error log, etc.  The default behavior can be modified by inserting tags (<popup 60> for a dialog box with a 60 second timeout or <no device log> to supress writing an entry to our device error log) into the "source" string of a standard error cluster -- just like the <append> tag used by the Simple Error Handler.
    In most instances there are only a few tags so I just use a case structure in the "tag processing VI" to select the desired action indicated by each tag.  When people are parsing their strings for tags, they like to have a qick and easy way to test if a string is a vaild tag.  I provide a separate "validator VI" to do this.  I frequently add and remove tags from the case structure as things evolve, but I often forget to update the list of valid tags used by the validator VI or some one runs into an older version on another machine.  I wanted to have the vaildator VI access the case structure on the tag processing VI to get the current list of vaild tags.

  • Timed sequence with individual​ity for case structures

    Hello All
    The attached vi is one that I found by trolling on the forum, and made some slight modifications to it.
    If you look at the BD, you can see that the timing between the action of each case structure is the same.
    I would like to modify it even further and have each case structure have its' own individual time control.
    I can do this by using a sequence and place a wait in each frame.
    Would this method be both suitable and the simplest ( I have been giving some thought to using one case structure, but this solution eludes me at the moment)
    Regards
    Ray
    Attachments:
    TabAutoScroll.vi ‏16 KB

    Single case, single property node, single wait.
    Attachments:
    TabAutoScroll_mod.vi ‏9 KB

  • Writing to 6 variables consecutively in 3 steps (Case Structure?)

    I have two inputs which, on three different occasions, have different values. So my data input can be split up into three sets of two inputs.
            When the first set of data is sent, the two inputs are processed and stored in indicator 1 and 2.
            When the second set of data is sent, the two inputs are processed and stored in indicator 3 and 4.
            When the third set of data is sent, the two inputs are processed and stored in indicator 5 and 6.
    Unfortunately I can't go around this by using 6 different inputs. I need to have two inputs only in the beginning.
    I've attached a file where I tried to do this with a case structure. However, the output tunnels are unwired in some of the cases, and I'm afraid that they'll assume new values and won't retain the values that the inputs sent to them.
    Any help is helpful... naturally.
    -Alex
    Attachments:
    problem.vi ‏16 KB

    You could do something like below.  Use a Ring to choose which case (adds a bit of error checking for you), Case 1 = 0, Case 2 = 1 Case 3 = 2 etc.  Wire the output of the Ring through the case structure as well as your mathematical operation, then build an array out of your 2 indicator outputs and insert them into a 2 day array.  This way the output for Case one is stored at index zero of your Value Holder Array, output for Case two is stored at index 1...
    Dont know if this is what you were looking for, it is just one way to keep track of all your outputs.
    Message Edited by jmcbee on 07-11-2008 10:40 AM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    Problem.png ‏11 KB

  • Problem with multiple sub-panels through Enum case structure: "The VI is not in a state compatible with this operation"

    Hello,
    I am using LabVIEW 8.0 and I am attempting to create a sub-panel that displays the front panel of a sub-vi depending on the selection made by the user via the Enum dropdown menu.  I have wired the Enum to a case structure and applied identical coding to each individual case structure except for obviously changing the sub-vi source.  However, I receive an error "The VI is not in a state compatible with this operation."  I was able to successfully make a single sub-vi work within a sub-panel using a true/false case structure and the exact same coding.  However, now that I am using an Enum box wired to a case structure, I receive this error.  I have attached my block diagram as well.  Could anyone assist me as to where it is that I am going wrong?
    Thanks in advance!
    Solved!
    Go to Solution.
    Attachments:
    enum subpanels.JPG ‏22 KB

    torm wrote:
    I have attached my block diagram as well
    I only see a picture. Can you attach the VI instead? At what point do you close the reference?
    torm wrote:
    I have wired the Enum to a case structure and applied identical coding to each individual case structure except for obviously changing the sub-vi source.
    Well, if the code is identical except for the source, only the source should be inside the case, right? Why duplicate code?
    LabVIEW Champion . Do more with less code and in less time .

  • XiFi and Audigy Take Over Input and Output from Bluetooth Head

    I am having trouble with my bluetooth headset when making phone calls in any VoIP application (Skype, Yahoo!). I usually use the headset as the input and output for my VoIP bits so I can move away from my desk, etc... First, it worked under XP with my Audigy no problem. I bought a XiFi and installed the latest drivers and it began stealing my audio. Oddly, it does not do it until the call connection is made (so I hear the ringing in the BT headset and once the call is answered the system reverts to the mic, a Logitech USB, and main speakers, directly plugged to the soundcard).
    I decided to put my audigy back in, because I was planning on upgrading to Vista and thought the XiFi may be bad. I did a fresh Vista install with the Audigy and everything worked (i.e. audio for phone calls stayed in my BT headset). I then upgraded from the Microsoft drivers to Creative?s Vista drivers and the problem then happened with the Audigy as well.
    This leads me to believe that some sort of regression happened in the latest drivers. Everything else works great, games, movies, etc? but this is a show stopper because I want to use my bluetooth headset. I tried to downgrade to the Microsoft drivers but the card would no longer work. I have tried a driver install only, then added the software, removed that and did a full install. This is with BETA drivers on Vista, but the problem existed in XP as well which were not BETA drivers AFAIK. I have updated to the latest Bluetooth drivers as well with no luck.
    I have confirmed this on two of my PCs and a friend of mine is having the same problem (XP, XiFi) so he went and bought a Skype phone which works correctly.
    Thanks in advance

    thanks for reply..
    Please help me out with the entire setp by step procedure that i have to follow in getting the output in variable
    i am using to get the emp name from webservices and i am passing empno from form.
    INPUT STRING
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
       <soapenv:Header/>
       <soapenv:Body>
          <tem:ALL_GetEmpNamefrmID>
             <!--Optional:-->
             tem:EmployeeLogin>{$ /process_data/@emp_no $}</tem:EmployeeLogin>
          </tem:ALL_GetEmpNamefrmID>
       </soapenv:Body>
    </soapenv:Envelope>
    when i hard coded emp no for testing EG: 1234 the out put i am getting the folloeing XML when i click tes
    OUTPUT:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soap:Body>
          <ALL_GetEmpNamefrmIDResponse xmlns="http://tempuri.org/">
             <ALL_GetEmpNamefrmIDResult>SUBBA</ALL_GetEmpNamefrmIDResult>
          </ALL_GetEmpNamefrmIDResponse>
       </soap:Body>
    </soap:Envelope>
    Please help me out what are the steps i have to follow for getting out put SUBBA to my variable

  • Input from/output to webpage

    Hi all,
    I'm a beginner, and was wondering if there is a way to add a small piece of code in a web page, and use this page to provide the input and output for the following piece of code. If so, what should I look into?
    Thanks,
    Andre
    import java.io.*;
    public class Main
    public static void main(String[] args)
    int theNumber = 0;
    String theInput = new String();
    BufferedReader read =
    new BufferedReader( new InputStreamReader( System.in ));
    try
    theInput = read.readLine();
    catch(IOException theException)
    theNumber = 2* Integer.parseInt( theInput );
    System.out.println(theNumber);
    }

    Yes. You are looking for Servlets. Look up Servlets, JSP (Java Server Pages), and Apache Tomcat.

  • Case Structures

    Can a case be created for Case Structures of a decimal value or range? That is say 0.001..0.5?
    I can create case structure for say 1..5
    can I create it for 0.001..0.5?
    Solved!
    Go to Solution.

    No you can't, the case structure terminal doesn't support decimals. but if you have a hand full of range like [.001;.01[, [.01;.1[ and [.1;.5[ then you could multiply and round the value by 1000 and set your range to 1..10, 10..100 and 100 to 500.
    Just a quick idea, other solutions would be possible.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Programatically get the states of case structure

    Dear all,
    Is there a way we can programatically get all the states of a case structure in my VI.
    I know that there is no property node for case structure, but I am sure there must be some way that labview ppl must have thought about it.
    Awaiting....
    cheers
    Sree
    Solved!
    Go to Solution.

    With scripting, there is a property node for the case structure and you can query the names of the cases.  You will need LabVIEW 8.6 or greater for scripting.  Get started here.  Note that scripting is unsupported, except through the scripting message board.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Changing an output box in a case structure to an input box

    Hi, I have been struggling with the following problem in Labview:
    Hi, I was working on a wiring diagram in Labview and I was trying to
    wire an absolute value symbol to the right border of a case structure.
    The problem is that I get an output box (an white filled box with an
    orange border) instead of an input box (an orange filled box). How
    would I change the output box into an input box? I have tried Ray
    Kong's method, which is to add a constant and that would make the box
    solid. It worked only once but when I tried it on another output box
    it did not work. Any suggestions would be appreciated. Please
    include step by step instructions as I am still learning Labview.
    Thank you
    Muhammad Asfour

    The box type will be appropriate for what you have wired to the box.
    When you say you want an "input box", do you REALLY want an input box (ie, a
    connection bringing a value from outside of your case statement to the
    inside of your case statement) or do you mean that you want your output box
    (a connection bringing data from inside your case statement to the outside)
    to be solid orange? The output box will go solid orange when you have a
    connection from EACH case to the box. Remember that a single output box
    (usually on the right side of the case statement) must be connected to
    something in each case of your case statement. It will be filled white
    until all cases are wired.
    Write back if this isn't clear of if I have mis-understood your situation.
    Hope this hel
    ps.
    Jim
    "Muhammad Asfour" wrote in message
    news:[email protected]..
    > Hi, I have been struggling with the following problem in Labview:
    >
    >
    > Hi, I was working on a wiring diagram in Labview and I was trying to
    > wire an absolute value symbol to the right border of a case structure.
    > The problem is that I get an output box (an white filled box with an
    > orange border) instead of an input box (an orange filled box). How
    > would I change the output box into an input box? I have tried Ray
    > Kong's method, which is to add a constant and that would make the box
    > solid. It worked only once but when I tried it on another output box
    > it did not work. Any suggestions would be appreciated. Please
    > include step by step instructions as I am still learning Labview.
    >
    > Thank you
    >
    > Muhammad Asfour

  • Multiple booleans controlling one boolean input for a case structure

    Hello,
    I have four boolean buttons and a case structure with a boolean input. I would like to write the program so that whenever any one of the four boolean button changes value, the case structure reads true for one loop interation, and then returns to false.
    I have tried all sorts of things and can't seem to figure it out.
    Ultimately, the ideal function of the program is so that whenever you push any one of the four boolean voltage controllers, that voltage case is chosen in the case structure, the time in seconds is written to a file, and the elapsed time timer is reset.
    I have attached my program. Let me know if you have suggestions. Thanks.
    Attachments:
    Volt_Control_And_Time_Counter.vi ‏71 KB

    Zappow wrote:
    However, with this setup, the time counter still doesn't work.
    The event structure for all four buttons has a true boolean constant connected to my file-saving case structure. If I connect this to my elapsed time express VI reset button, the timer doesn't count.
    The timer does not count because you have not wired a timeout to the lower event structure. The default timeout is -1, so the lower loop never spins via timeout
    It is useless to have a wait in a loop that also has a timeout case. Just wire an approriate timeout value to the timeout terminal and remove all waits. It is also not necessary to have a 1ms ttimeout if your timeout values only displays to 100ms resolution. Can you explain why you think you need two loops and all that extra code?
    Attached is a quick rewrite that solves some of the problem. Since I don't have any hardware, I replace the voltage out with a meter.
    You have way too many FP controls and indicators. Use arrays!
    Let me know if yo have any questions. Modify as needed.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Volt_Control_And_Time_CounterMOD.vi ‏63 KB

Maybe you are looking for

  • Adobe Acrobat 8 crashing

    I have tried to uninstall and reinstall Adobe Acrobat 8 to no avail. The program won't even boot up. It just quits "unexpectedly." Has this happened to anyone? This is the error message I get: Process:         Acrobat [4122] Path:            /Users/s

  • What is the function of "Name Server"?

    We have a two server Cluster.  Each server runs a SIA Node with a CMS and all of the typical Servers. On Server1, if I look at the Metrics for any of my Servers (except CMS) it looks like this:    Machine Name:  Server1.domain.com    Name Server:  Se

  • How to use WebRowSet to convert to XML??

    Dear all, I have a ResultSet, but I how can I use WebRowSet to convert it to XML? Greatly appreciated if anybody can giveme a clue. Thank you Kevin

  • Does time machine back up operating system as well as files?

    i was told that if i did a time machine back up then i could boot from it and even restore it onto a mac with no os. is this true? if so how do i do it?

  • Vista sp1, nokia pc suite and 3660

    I! I'm trying to connect a 3660 to my computer through bluetooth, vista sp1 (ultimate). Nokia connection manager didn't recognize my phone so the pc suite. Since I can transfer files beetween phone and pc... the problem is probably with nokia suite..