Best alternative to the structure of the case

Hello

I'm trying to find a way cleaner to the attached vi. In the vi I Boolean cable to the structures of the case. If the value is false, it sends a string in a table and in a dialog box.

You must learn to love this new conditional tunnel

Tags: NI Software

Similar Questions

  • What is the best alternative for the Pages ' 09?

    When I say 'better', what I want for me personally, is a suite of office or productivity app processor matches the characteristics and versatility of Pages ' 09; its other applications still compare well with other iWork applications; He has a history of integration with OS X; and it is well documented with good support. Also, for me personally, is less of a concern because Microsoft Office is available at a reduced cost as I am part of a society not-for-profit. I don't want to limit the question to these characteristics, however, because I am hoping to start a discussion that could be useful to a wider range of people than just me, and I hope that the wider, a question as possible would be more likely to attract the attention of Apple developers to say that if I'm out of patience There are probably others who do the same. Why can't they just continue to support Pages ' 09 up to 5 Pages is substantially more flexible and rich, more closely resembling the Pages ' 09? I downloaded and deleted 5 Pages twice the frustration. I use an older iMac OS x 10.11.4.

    Moreover, the "suites", whose names I know at least are Microsoft Office, OpenOffice Apache and LibreOffice.

    I had started a similar thread and somehow managed to check the wrong box and marked "resolved". I'm trying again in a slightly different wording.

    Apple's CEO and designer of programs/product/teams participate or read these messages because they are busy people. Instead, we are non-Apple employees who volunteer their time to help others solve problems. You can contact the team via the application menu Pages ' 09: provide feedback Pages.

    Your 'best' office suite would be Microsoft Office for Mac 2016 as a replacement for iWork ' 09 apps and their current impostors of Apple. You need to export your Pages documents in Word .doc, because no application in the world can open (faithfully) Pages ' 09 documents but Pages ' 09.

    With office for Mac 2016, you will work in the native Microsoft document architectures such as with the Windows Office 2013 and 2016. No translation on the import or export of worry. Just pure document exchange. You can even open a PDF file for editing in Word for Mac 2016.

    LibreOffice, although free, has a steep learning curve, is a Clone of MS Office and does not work in native Microsoft documents formats, although it can open and save in their. The format of the default document for LibreOffice is the Open Document Format, an international standard.

  • What is the best alternative to the database?

    I collect (alarm & meter) data of several standard features that have the memory and RTC.  Therefore, I must take into account the fact that the data collected will not time and I perhaps need to summarize data recently collected in existing records and then replace the record.  It is possible to reach about 50,000 files per month.  In addition, I add the data and chart hourly, daily, weekly, monthly, etc.  Playback speed is therefore very important for the interaction with the user.

    Can anyone recommend the type file or data management best practice for this?  I use LV 8.5, so would use TDMS but cannot replace records in this version.  Currently, I settled on MGI read/write anything, but it's the best solution?  I would like to avoid DB Connectivity Toolkit and don't think that I'd get an advantage of speed anyway.  I just need the best way to remove an individual folder, overwrite it and quickly navigate the entire file.

    Are there other tools in future versions of LV other than to crush the TDMS files?

    Clint

    Consider SQLite, a very quick "database to a file.  wrapper of LabVIEW that I use is here; any necessary DB connectivity kit.   All the stuff you describe is easy in SQL.  Write speed is greater than 100 k per second timestamped readings, and the playback speed is higher.  You need to upgrade your LabVIEW 8.5, however.

  • What is the best monitor for the MacBook Pro?

    I want to get a 27 "monitor for my macbook Pro for my degree. Which is the best alternative for the thunderbolt display, as it is incredibly expensive. Thank you guys

    I prefer Samsung, and I deployed samsung monitors to dozens of designers who I support (27 "), but almost all of them use the same components of the same factories.

  • Structures of the case - what is the best to use?

    Hello

    I am looking for a particular number and then make a decision on the basis that number and I trying to use a box structure to achieve this.

    I read in the package of data to a serial port and put my raw data in a 2d picture (a line represents a data packet), the piece of code that I have problems with making decisions based on what package I received (packets are letters A, B and C, where 65,66 and 67 ascii values).

    I then do an analysis on raw data and put it in a new 2d with similar data table other packages on a line in a 2d array.

    I used to use C, so usually I would write something like that.

    if(Number==65)

    The change from the position of the new table 2d (on the current line)

    Another yew (number is 66)

    The change from the position of the new table 2d (on the current line)

    Another yew (number is 67)

    The change from the position of the new table 2d (on the current line)

    on the other

    See the establishment of some kind of error message

    I have attached a jpeg of the particular piece of code with the broken wire left in then I hope that you will be able to see my problem. I have also attached my VI so you can see the code in context. What is the right way to use the structures of the case?

    I would like to know if you need more / info wants to explain something.

    Thank you

    Jack

    Hi Jack,

    Use a single structure of matter. You can connet your number directly to it. Create your case and write the value in it.

    See this link, please http://forums.ni.com/ni/board/message?board.id=170&thread.id=391012

    Mike

  • Disable & gray a case of structure of the case

    Hello!

    I use 2 business structure to choose if I want a channel 'create' or not. I don't know if it's the best way to do it but... It s okay if I use this control type to choose the case? and... How can I disable and grey items in the not selected case?

    Thank you to

    TXL

    Yes you can do to control or indicator... Use the property node...

  • optimize the case for a same computation structures

    Hi all. I want to compare an array of numbers with 0 in the first place, if they are greater than zero, we do a simple calculation such as 10 + 10; If they are less than 0, we make another simple calculation like 10-5; of course, it can be achieved by the VI I wrote it in the attachment, but I wonder if we have the best ways to solve it, maybe a single structure case because we have exactly the same calculation for the same situation. Thank you for your helpful suggestions. I updated a picture just in case if you do not want to download the VI.

    You can search the table of Boolean 1 d to the value True.  Then, the value will be-1 (no true), 0, 1, 2, or 3 for the index.  HAV that animate a single structure case. When the respective indicator is in each case.

    Of course if all calculations are exactly the same (assuming 10-5 is just simplified), you can put the calculation outside the structure of the case and feed it to the respective case.

    EDIT: You don't need to build an array of zeros to compare to another array.  You can simply use a zero scalar.  And you don't need that.  Just use the primitive > 0.

    In fact, I don't really know what you're trying to do here.  Why do you have different indicators in cases of false and real cases?

  • Not not not in the Structure of the case

    You want to get suggestions on the best way to do it.  In theory, it will be the best if I can create a structure to deal with condition 'no '.  What I mean, it's the entrance to the structure of matter is 3, and I have a case which, with such condition does not (1, 2, 4, 5), the case would run.

    Another example

    If different x of 1, 2, 4, 5, then

    to do this

    Else If x is not equal to 6, 7, 8, 9, and then

    do this

    End

    Yik

    ^ You can also simply make a table with your constant inside and feed to the comparison table, and who publishes an array of bool.

    Another approach would be to wire the digital directly to the structure of the case and type the desired number of a case to represent.  Several case numbers are separated by commas.  A range of numbers can be represented by "..".  for example 6,7,8,9 = 6.9 in the same way... 0 is the range - inf by 0 and 5... is all values greater than or equal to 5.

  • Value of cluster lost when you leave the structure of the case

    Hi all

    I'm having a problem with a particular VI I'm working. (FYI it's in Labview 8.0)

    The VI is set to run a current source, voltmeter and thermometer, then recording and graph the data in various ways that can be selected by the user.

    Everything seems to work fine except a particular graphic method. When I try to graph current compared to the tension, the current value is lost estates. In a case the current and voltage are combined to form a cluster, and then leave the case structure to be later appended to a table of cluster.

    However, the value of the cluster is lost when the chart is set for the voltage vs. Any other method and it works correctly.

    I can't understand why this is happening as it does not make much sense than other methods of work charts, but this one isn't when it is coded the same exact other than having the different variables.

    I have attached the VI with added indicators showing that the value of cluster is lost once he leaves the box structure. Any help would be appreciated.

    Thank you very much and I apologize for my extremely messy VI.

    -Nathan Cernetic

    You really need to boil this down to something we can run and reproduce the problem.

    Have you tried to break a few relevant connections and rewire? Something is possibly corrupt.

    Besides being a mess, your VI has quite a few glaring errors.

    Let's take a look at the structures at the top right:

    • 90% of the code is the same in all the structures of three cases, so all that needs to be inside the structure is the small part where you built the table 2D. All the rest is outside of the case.
    • The structure of the sequence has no useful function.
    • Why do you need to reverse the table with each iteration of the small loop FOR? Once before the loop would be sufficient. Right?
    • Why you use table built inside the small loop FOR, but no autoindex on the edge of the loop? All you ever get is an array containing exactly one element, no matter how the loop runs. Seems unnecessary! (see below for an alternative image).
    • You wouldn't even need to reverse if you want to use "built the table" instead of "insert into the table at position 0" in the central part.

    Other: You constantly hammer all nodes of your property. The only need that will be called when things change. Again, you have far too many cases. For example, in the structure of the case where you are having problems, the same nodes of property exist in all cases. A single instance of the property node belong outside the case and only the string inside each case constants. Whenever the code is the same in all cases a case structure, which code belongs to the outside!

  • can I update safari 6.1.6. on MacBook OSX 10.7.5? If so - how? Otherwise, what is the best alternative?

    can I update safari 6.1.6. on MacBook OSX 10.7.5? If so - how? Otherwise, what is the best alternative?

    Only by installing a later version of Mac OS X. The current version is El Capitan.

    Upgrade to El Capitan

    You can pass the Lion El Capitan or directly from Snow Leopard. El Capitan can be downloaded for FREE from the Mac App Store.

    To upgrade to El Capitan, you must have Snow Leopard 10.6.8 or installed Lion. Download El Capitan from the App Store. Sign in with your Apple ID. El Capitan is free. The file is big enough, more than 5 GB, allow it some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.

    Mac that can be upgraded to OS X El Capitan

    1 iMac (mid-2007 or newer) - model identifier 7.1 or later

    2 MacBook (late 2008 or early 2009 or newer aluminium) - model identifier 5.1 or later

    3. MacBook Pro (Mid/Late 2007 or newer)- model identifier 3.1 or later version

    4 MacBook Air (late 2008 or newer)- model identifier 2.1 or later

    5 mac mini (early 2009 or newer)- model identifier 3.1 or later version

    6 mac Pro (Early 2008 or newer)- model identifier 3.1 or later version

    7 Xserve (early 2009) - model identifier 3.1 or later version

    To find the identifier of the model open system information in the Utilities folder. It is displayed in the Panel on the right.

    Are my applications?

    See table of application - RoaringApps compatibility

  • How can I sort the selector non-unique values and make them unique in the structure of the case?

    I want to clarify 3 ranges as breeders of the case.  For example, I am able mV and I want 0.10, 10.20 and 20.30, but, when I enter them in this way, I get an error that says that the selection values are not unique.

    I want case to answer when the input is greater than 0 but less than 10.

    I want the second case to react when the input is greater than 10, but less than 20.

    I want the third case to react when the input is higher than 20, but less than 30.

    And there is the case by default, 0.  The case structure think my default is bunk with my case?  How a list correctly these ranges in the Tag Chooser structure cases to avoid the error?

    Also, I plugged in my blood "to LONG integer" and then to the Terminal case structure to convert entire for the entry of case structure (blue wire).  Is it the right thing to do, because my values of tension will certainly be decimal numbers, not integers.

    Before converting in I32, for example, use "turn to + inf" and settle the case accordingly.

    (A plain to_I32 rounds to the nearest integer, making it impossible to meet limits).

  • Turn off the LEDs in the structure of the case

    Hello

    I was wondering if someone could help me solve a problem in a software test bench that I am developing. I have attached some of my code in which the problem is visible. I have a business structure that is triggered by a 'push button '. I want the TEST that is currently RUNNING LED remain lit until the end of the execution of the case structure (condition true) then shuts down once it is completed. But the LED does not turn off and remains lit. Is that what I can do in the condition False to activate the LED is off when the code is not running. Please note that to run the program, you will need to "run continuously. I want until the led turns off after getting the 'result' so that the software operator can know that he is free to perform the next test. But now when the 'Start Test 2 "is executed after 'Start Test', the LED stays on.

    It might be a simple solution that I can be not familiar with, but forgive me, I am a new user of Labview and I could not find a solution to this online.

    Thank you.

    Kind regards
    DPAC

    Hi DPAC.

    simple solution as requested:

  • DAQ Assistant no recorded data during the case structure is false

    I try to turn it on turn off heater using intermittent relay module (some time and some free time). The program attached that do very well. Except that I also want to record the temperature of the radiator using materials DAQ Assistant and it records all the data when the case structure is false. I mean, when the relay is off. I tried to use the vi for the acquisition of data in the structure of the case. However, aparently it is not possible to call the module analog input even twice in the same program. All solutions? Thanks in advance.


  • How to stop queuing in the structure of the case

    I'm trying to find the Summit and the Valley of the signal. I'm able to find it, but I don't want to make the zero with the pic. I just want to get the value of Ridge and Valley. Is it possible to stop queuing the values in the structure of the case? As I have a several signals which peak/Valley must be found that I can't use the library functions.

    Kanye wrote:

    I'm trying to find the Summit and the Valley of the signal. I'm able to find it, but I don't want to make the zero with the pic.

    First of all, and more which has been mentioned, there are serious shortcomings, making the Subvi is not very universal.

    • Your Subvi does NOT export the correct value of the Ridge (or Valley), but the value just after (which is more a peak or a Valley!)

    • Your Subvi is only the positive peaks and valleys negative. This seems very restrictive. In general, you could easily have a Valley even if all the data is positive. Right? (With the exception of the Valley of death for example, most of the valleys are above sea level, for example )

    • Your code is extremely complicated, with two sets of structures of the case, each stacked three deep, four change records and tons of comparisons. Here is a simpler version. (To imitate your outings, place a statement select after each comparison and output the value or zero depending on the result of the comparison).

  • SGL and variable U32 are wired to same variable DBL through the structure of the case, block data poster SGL DBL during case U32.

    Hello

    Here, I have attached an example, similar code module is used in our project.

    In this example in the control of two structures business SGL and U32 panels is directly related to the signpost DBL. If I give 4294967295(U32 value of maximum range in the case of forgery under the example) its display 4294967296.

    Please give me the solution to show the correct value of U32 in signpost DBL.

    Thank you

    Wherry

    In your code, 4294967295 is first converted to the SGL (on the edge of the box structure), then to the DBL. But this value may not be exactly converted SGL (due to lack of significant digits).

    You should convert the SGL DBL value in the case of true.

Maybe you are looking for