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

Tags: NI Software

Similar Questions

  • Why my game Center freezes when I go by parameters or directly by clicking on the center of games? Can I know which method is the best to use to solve this problem? Also, I use an iPhone 6 s, iOS 9.3.1

    Why my game Center freezes when I go by parameters or directly by clicking on the center of games? Can I know which method is the best to use to solve this problem? Also, I use an iPhone 6 s, iOS 9.3.1

    Have you ever tried to force reboot the phone by holding down the button sleep and home for 10 seconds, until the call logo comes back again?

    You won't lose data, but it can cure a few glitches.

    If this does not work, the initial Setup would be the next step:

    Use iTunes to restore your device to factory settings - Support Apple iOS

  • Add the occurrence to a structure of the event by using scripts

    Hello

    IAM trying to (using scripts) updating a structure of the event (the case of the event add) on a vi is not on memory.

    I get error 1054 the specified object was not found.

    Here's a picture of him.

    any help in this will greatly be apreaciated.

    The error comes from the open air, because looking for structure in the wrong place. While it is perfectly logical that the owner would be the loop in practice yet script is not that friendly - you need to get the reference of the schema of the loop and use it as an owner.

  • Identify the best CPU using multiple queries on the database environment

    Hello

    We live high CPU on one of our development servers (AIX 6/11 GR 2). It has several databases and we need check the queries that are causing hiking of the cpu.

    So, how can we specific database queries and it is when there are multiple databases?

    I could use nmon to get the process, $ query session v and v $, v$ sqlarea, if there is only one.

    Thank you!

    Hello

    There will be no direct approach (check if GRID allows to control/OEM), AWR and STATSPACK review should be best approach once and for all the DB to fix permanently, if not then...

    Identify top/topas/nmon top or 10 os process ID's, although they features will look like unless the owner is different.

    Return to the command prompt using ps - ef

    ajay@cts-db-vashi#ps -ef| egrep -i "8716444|7471138|12451978"
    oracle9i  8716444        1   0   Dec 14      - 291:51 ora_dia0_CTS
    oracle9i 12451978        1   0   Dec 14      - 62:50 ora_vktm_TBMS
     
    

    If you don't want to use top/topas/nmon use below with appropriate sort to get high cpu/memory process & pass it to v$ for more details in sqlplus

    /usr/bin/ps aux |/usr/bin/sort -nrk 3,3 | egrep -iv "root" | head -10
    

    Thank you
    Ajay more
    http://www.moreajays.com

  • I make 1/87 models and would like to make stickers for my models, what program is best to use?  I was told Photshop but which one?

    Well as you can see, I made a long question.  But perhaps hearing that I can develop what I want.  I model material fire and fire for a hobby machine.  Also, I do all kinds of heavy and equipment trucking and want to make stickers for my models.  I know for certain things must have a special printer that can make colors such as white and gold.  For the price of a printer Alps I'll stick right with my HP inkjet printer.  Now I do 1/87th scale so I would need the ability to scale downwards or upwards depending on where the decal will go.  If on the doors there will be low but on the back, it may be larger.

    If any of you do this job, I'd love to discover and deepen skills also what program is the best.  Now, I am retired and as everyone's money is a problem so keep that as a consideration for me also.

    Thanks for your time, Jerry

    Jerry, because graphic design isn't usually a picture of tone, but rather as a logo, I suggest you use Adobe Illustrator rather than Photoshop. Illustrator is a vector program that suffers no loss of quality with a change in size and has the tools to allow you the freedom of creation in your design. Visit your local book store and look at some of the how-to books devoted to Illustrator. You will be pleasantly surprised.

  • IPH vs IIC - what is the best - home use 300 pages/month

    What type of print head technology is better? I intend to use for home, having to 300 p/month

    In this case, if you are based in the United States, if you want a printer based IPH then try to find a printer that accepts the cartridges HP60 or HP61. Something like

  • What are the best steps using the widget form of Muse to reduce spam

    Greetings, I get now a bit of spam of contact that form join us

    NextGenFranchising.org

    Is there a way to reduce that?

    Thank you, David

    Hi David,

    I see your online form doesn't have a recaptcha, you can use recaptcha to reduce to submission of spam. You must add recptcha to your online form and publish the web page. Here is a step by step guide that shows how to do this.

    Adobe help Muse | Work with the shape of Widgets

    Please let me know if you have any other question.

  • What is the best to use with photoshop cs6; "mac vs windows"?

    I'm looking to possibly buy again and so loop I'd like ideas. I don't want to spend a fortune on a new laptop and well, I don't want to end up wasting any $ on the wrong type of system. Overall, I need the system to be fast and powerful and work perfect w / software. Can you please help me with my question? Thank you

    Ah, the old versus Mac debate PC. It will really come down to your personal preference, but you'll probably want to go on the Photoshop CS6 technical specification and requirements before settling on a final product: http://www.adobe.com/products/photoshop/tech-specs.html

    The FAQ might be useful too: http://www.adobe.com/products/photoshopextended/faq.html

    Good luck with your decision!

  • DV6-6198sp: what fan is best to use with hp dv6-6198sp?

    The laptop is originally a dv6-6153ea, but I upgraded the card motherboard and CPU than a dv6-6198sp,

    He now has an ati 6770 and a core i7 2670qm that i need to keep cool

    Time reach 95 on charge which according to me is not bad!

    I have two fans that I have access, a sunon and an adda, both are the same shape, but it is not of this laptop.

    The sunon cooled by a core i5 processor with a gpu 2410 6490

    The Adda cooleda core i3 with an unknown gpu fan (I can't remember sorry!)

    So what I need to know, is what fan would be better suited?

    The Sunon is a .4w and the Adda is a .5W so I was under the impression of the Adda would be better...

    But if someone could give me some more information on that would be great as I am really stuck now!

    Thank you!

    Hello:

    I had studied your question - the HP part number displayed above your "dv6-6153ea updated' costumes for dv6-6198sp motherboard.

    The two models share the same repair manuals.

    Part of cooling fan doesn't really change depending on various Intel processors they have, but supported the graphical system by the Council.

    Concerning

    Visruth

  • Structure of the event within the structure of the case run once

    Hi all

    I am a controller using myRIO and labview where the program compares a value of the probe in a "Preset" and then choose a structure case depending on what type of air supply is required. What can be seen on the picture, for example, is 0 if saturated air supply is necessary.

    The structure of the event is used to send a signal to step to the stepper motors to open the valves (closing is still pretty much in the same way). In any case, the event turns my valves 90 degrees. I read the sensor all a second, however, when the case remains unchanged, the case runs the event again causing my engines running at 90 degrees per second (essentially continuously). What I'm looking for is a way to send the signal to step only once until a new case is selected.

    He is not on the photo, but this is all within the large loop.

    Apologies for any bad/cringeworthy coding, it is literally my first program always using labview. I can post the full VI if you need.

    Any ideas would be very appreciated! Thank you

    Simos wrote:

    crossrulz you have a simple example by chance that uses the feedback node?

    See if that helps

  • I want to learn more about how to use my pencil and what are the best applications for drawing

    I want to know what I can use my pencil for and what applications are the best to use with my iPad pro

    Hi scscsc,

    Welcome to the communities of Apple Support and congratulations for your new pencil from Apple!

    Looks like you want to know what you can do with the pencil of Apple and which applications you can use with. Take a look at the Web page below provides much information about the pencil of Apple, which also highlights some applications that are supported by the pencil of Apple.

    iPad Apple Pro - Apple pencil-

    See you soon.

  • What is the best format for burning a cd for use in a car and a stereo?

    This is a copy of singing me songs that have been copied on cassette and later, somehow in my computer and then burned on a cd - r. I'm just had to get the best quality, I can get! What is the format would be the best to use?

    The ADC is the format, both can read. Or MP3, you'll get more on the CD. But, the stereo and the car will have to support MP3. Otherwise, the two wont be able to play MP3

    .

  • What is the BEST Registry Cleaner for Win 7 Ultimate or Pro 64 Bit OS version?

    What is the BEST Registry Cleaner for Win 7 Ultimate or Pro 64 Bit OS version?

    When I search on the internet with the same Question, I get hundreds of links and each company says it has the BEST Software Registry Cleaner to 100% and I bet that 99% are liars!

    Microsoft really needs to TEST all registry cleaners & make a list of the Top 5 BEST software for many different uses and post this list for your clients may know what is the best to use to fix their PC problems.

    Please, I beg you!  Nice and help your customers who have purchased and use your Microsoft software...  Ok??

    Microsoft really needs to TEST all registry cleaners & make a list of the Top 5 BEST software for many different uses and post this list for your clients may know what is the best to use to fix their PC problems.

    Microsoft does not recommend to use a registry cleaner.

    Slow PC? Optimize your computer for optimal performance:

    http://www.Microsoft.com/athome/Setup/optimize.aspx

    «Note: this article does not meet or recommend tinkering with the registry files.» These activities can harm your computer and should only be attempted by trained professionals. »

  • What is the best way to remove a hum in the context of multiple clips

    I have about 40 short excerpts with the same buzz in the background. What is the best way to get rid of it? I know how to make a video, but I can do everything at the same time? When the workflow is the best time to do this? Should I use an adjustment layer?

    Thank you!

    I always do everything removing Hum as the first operation. As Bob says it depends on snoring, but if it's typical induced current then the DeHummer tool is the best to use. Once you have found the right settings you can save as a favorite and the use of batch processing to remove all clips at once.

  • How transport costs, when making a purchase online? And what is the best system to use? ECWID, ShopLocket, Sellfy, or Paypal only

    Je want to do my first online shopping with posters. But I don't have not know how to do with cargo? Is it something PayPal do for you, or what I need to find myself? But I do not know how?
    And what is the best system use? Ecwid, ShopLocket, Sellfy or only Paypal?

    Thanks a lot for helping me :-)

    I suggest you check with delivery providers to do so, many providers of shipping like Fedex, usps, universal includes their own defined transport options.

    Parameters of the product can be configured with any ecommerce tool you use and then integrated with shipping providers.

    Thank you

    Sanjit

Maybe you are looking for