multiple in a single frame case

Hello

I want to achieve such a function as follows in LabVIEW

If (1<><><><>

I = I ++ ;

else if (9<><><><>

I = I;

on the other

I = I;

I tried to combine boolean several together, but it turns out be a huge "building", please someone here help me, thank you!

You can have a case within a case structure structure.  Thus, the box structure located in the wrong box of the outermost case structure would be equivalent to the part of the code ElseIf.  It is not so complicated to install.  In your case, because the code inside each case is a simple calculation just passing on the data or change it, a few select statements would work as well.

Where things are a bit more complicated is the assessment of your Boolean expressions since they consist of multiple comparisons related to the set.  But it's not that bad, as you have just about build Boolean logic using the primitives LabVIEW provides.  And since you have 4 conditions that all must be fulfilled for one of the Boolean expressions to be true, you can use the compound arithmetic node (available on digital and Boolean palettes) for fashion AND to combine several conditions.

Give it a try, and then if you get stuck, post your VI and we can help you improve it.

Tags: NI Software

Similar Questions

  • How can I have multiple images in one frame in movie maker?

    Hello

    I would like to know how I can include multiple images in one frame in movie maker?

    Thank you.

    It would be useful to know exactly what you want to create.

    You can prepare the images in an image editing program
    before you import into Movie Maker.

    Picasa free software can make collages:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Picasa
    http://Picasa.Google.com/
    (for Windows XP/Vista/7)

    Tutorial Picasa: Collages: creating a montage
    http://Picasa.Google.com/support/bin/answer.py?hl=en&answer=19539
    (Photo battery option would be worth)

  • Impossible to change "first frame" and play a time/loop/Single Frame

    I work is CS3 and problems by changing the first picture on a graphic symbol. When I type in a new number, it jumps back to the former. When I try to change, play a time/loop/single frame layout jumps to the previous setting. I'm trying to simply change this option on a keyframe in the layer of the symbol on the main stage. I have experienced several times, but failed to get the workaround for the moment. I know I can do what I want. In fact, I do a couple of points earlier in the instance of that symbol without problems. Any suggestions?

    Thank you.

    Tyler

    My guess is that somewhere, you have the box checked synchronization. It sometimes seems to do your graphics to synchronize their animation so that it is always the same and other times that he seems to have no effect at all. So I don't really know what it is supposed to do.

  • Paste multiple objects in the frame

    Hello everyone

    I was wondering if anyone could shed some light on how better to paste multiple objects in a single image.

    Mainly, I am trying to nest objects that are part of a newspaper article header; Since this is a design element that continues to be repeated with every single item I don't want to spend time with positioning manually the items each time - this is tedious and prone to carelessness.

    Unfortunately, the basic chassis will be about three items that need to be nested within it. Once I have paste an object in an image, the next time I make "Paste"- content (previously pasted object in this case) just gets overridden.

    I read that to paste multiple objects into a single image, you must group the objects first. Now, this works well enough for them to enter the framework, but leaves me with no options to position them against the frame. I can't move or position an object individually, and I have no option to separate them once they were pasted.

    Here's a small model to describe my particular situation:

    mock-up.png

    Ideally, I am objective is to have the main header image to contain content of nested objects and for that it is flexible enough so that I can quickly it spread over several columns according to the requirements of article.

    ! kRON says:

    The idea of using tables is fantastic! (Now I'm a bit embarrassed that it never occurred to me)

    Really, it gives you more precise control of the flow of your content with rows and columns. As the content of each row/column develops, we must push the rest of the rows/columns. This way I can ensure as the title or title extend over several lines, so that I can also use my design conforms intercellular like I did before INSET.

    It's great and really brought my hopes! I would apprecite if you could leave just a smally answer so I can mark this question was answered that I accidentally pressed 'Useful' instead of 'correct '.

    I'm glad you found it useful.

    I was faced with limitations of embedded image, but until I saw your particular example with its-like arrangement of the elements, I do not think that tables as a solution.

    Kind regards

    Peter gold

    Know-how ProServices

  • Reading time to fetch multiple records vs. single record

    Hi all

    I have an application where I need to get several records, I use an SMU-5185, and basically, the problem is that it takes too long to retrieve multiple records, I did a test to measure the time it takes for the reading of the hole 32 MB of data and results.

    Parameters:

    Records to Fetch = 8192 (maximum 1 page = 4 KB, 8192 Records = 32 MB)

    Fetch time = 1100 ms

    Records to Fetch = 1

    Samples to Fetch = (2 ^ 25-1500) = 32MB

    Fetch time = 70 ms

    So, I want to know why it takes more time to get the multiplerecords if both are reading the same amount of data? Is there something I can do to decrease the recovery time?

    Thank you

    Hi Rodrigo,

    In fact, I think that the rate of release should be out of the equation, as in the while loop I wait until the end of the acquisition,

    You're absolutely right, I apologize for this oversight.

    I'm you test your code and see several times (about 930ms) Fetch when only pick a channel.  As soon as I specified two channels, the recovery time is an order of magnitude smaller (around 90ms).  Change the sampling frequency, fetch timeout and record length do not seem to affect this disparity in the order of magnitude.

    So to reiterate:

    In the case of single record , changing from one channel to both channels double recovery time.  It's what I expect.

    In the case of multi recording , changing from one channel to both channels decreases the time of recovery by an order of magnitude.  I don't think that.

    Furthermore, when I test in the example shipping niScope EX Acquisition configured standard I do not see this effect.

    (1) can you confirm that, in the case of multi account for your tests, you see that the recovery time reduced when you specify two channels instead of one?

    (2) can you confirm that you are not able to replicate that in the example Acquisition set up ?

    I have tabled a CAR 350194 to address this behavior more with R & D, but unfortunately I can't promise a timeline for the resolution.  I recommend at this stage unless you change Acquisition is configured when you set up your code instead of starting from scratch.  Support at home OR you can call at any time to check the condition of this CAR.

    To answer your question of why a use case takes more time than another, it will take more time to study according to the guidelines of this CAR.  We have already mentioned there is some overhead involved with multi-record fetch, but whether or not the time more or less long you see are good times is something that R & D will have to answer.

    Please let me know if you can confirm what I see by testing.

    -Andrew

  • multiple folder for single user

    I want to configure several share folder in the folder for single user, but the user profile only have one option of folder is there, y at - it an option to configure multiple home folder?

    Hello

    I suggest you according to the question in this forum and check if that helps:

    http://social.technet.Microsoft.com/forums/en-us/categories

    It will be useful.

  • Data from multiple rows in single line in BI publisher 11g

    Hello

    I receive documents in multiple lines

    for example

    ID case1, case3 CAS2

    1 C1

    1 C1

    1                 C2

    1                              C4

    Now, I want to make it as a single line, output desired is

    ID Case1, Case3 CAS2

    1 C1 C2 C4

    is it possible, please let me know.

    Thanks in advance

    Kind regards

    Sam

    He seems to do at the level of the model.

    Could you please post your example of xml data?

  • freeze frame 1 of each single-frame MovieClip?

    For all your MovieClips that have only 1 frame, should put a stop() on this image? If you don't, flashes lose CPU looping constantly than 1 frame?

    No need of.  You can test if Flash constantly looped a single image by putting a trace here and see if it is followed at all times.

  • SCRIPT TO IMPORT SEVERAL IMAGES PLACES... AND MULTIPLE IMAGES IN SINGLE OUTPUT PDF.

    Anyone got a script to import several images placed in CS4? or is it possible in CS5?

    and we can out of the multiple layers in a single PDF in illustrator?  Or several layers in single format JPEG from illustrator with a single command instead to save individually on each page... would be a huge timesaver for me.

    Currently I pulled out each layer individually filled then right-click on these JPEG output files in the output folder and choose "combine taken supported files in acrobat... "to create a unique acrobat...

    I also that to be able to CTRL click multiple layers and go save as... only these layers be saved on...

    And so add something in the Save to output PDF save the Layers dialog box to multiple pages would be a useful time saver...

    In CS 4 and CS 5, you can drag and drop FRO m the finder or bridge, and I suppose that any other viewer of similar type, multiple number of image files to a document. You can configure the bridge so that you can see the bridge and your document at the same time for this purpose.

    If you drag and drop files are linked, if you drag while holding down the SHIFT key, then the files will be incorporated.

    ID and PS CS 5 have a minijonction who works the way sam but is actually a Panel and will stay at the front.

    I have separate images but they import on the other.

  • How do I turn on/off outputs multiples with a single button using USB-6501 &amp; Labview 2010

    I've written a VI with 24 buttons, one for each output of the USB-6501, for turning on and off 24 relay.  Now, I want to add more buttons that activate and deactivate the outputs multiple.  We will call these Presets buttons and pressing the Preset button a few outings turn and some turn off.  Get it?  The VI I've included a screen shot is used to test a transmission controller and rather than to manually select one at a time relay I want a preset button that sets up instantly relays for the next stage of the event.

    The VI I wrote uses tasks created in NI MAX.

    I am a beginner of Labview, so please try to keep your easy to understand solutions if possible.

    Thank you

    Kevin

    BTW, I'm registered in Core 1 and 2 month next to Richardson, Texas.

    Here's an example - you will learn about the grapes, berries, events, etc., in the class, but this will give you a head start. Code is attached but I took a screenshot to give people an idea of how simple the schema becomes:

    As your learn about them, I suggest you also make the cluster a TypeDef and make management mistakes, but I've omitted the example to keep things as simple as I could.

    Good luck, LabVIEW learning, it is worth!

    ~ Simon

  • I have multiples of a single file. How can I get additional copies, but not the original?

    Original title: duplicate files

    ....... I HAVE 2 OR SOMETIMES 3, 4 COPIES OF THE SAME PHOTO... OR SAME SONG... HOW CAN I REMOVE THEM TO A SINGLE COPY SECURE WITH ON DELETE THEM ALL TO GETHER

    You can go through them and remove duplicates manually, or there are many programs that can check duplicate files and delete them if you have copies.

    Here are two free programs:

    Auslogics Duplicate File Finder

    http://www.Auslogics.com/en/software/duplicate-file-Finder/

    Duplicate Cleaner
    http://www.digitalvolcano.co.uk/content/duplicate-cleaner

  • During the compression of an entire disk in XP, combine multiple files to single-sector?

    I'm curious about the similarities of compressing an entire disk works in xp-Edition family versus how a unit with compression used to work in older versions of Windows like ME, 98, etc... I'm talking about how in older versions, Windows would give a specific amount of disk space and then would butt beginning of the right to one single file at the end of another. It seems to me that it is not good to compress the files in single-sector with the family xp Edition because they will still use a file area, or that is incorrect? If they are correct, then when you compress an entire drive with xp-Home Edition, then work just like the older versions?

    Thank you

    Hello

    You can see the links below for more information on the compression of a drive in Windows XP.

    Overview of file compression

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/ff_file_compress_overview.mspx?mfr=true

    The use of the Compression of files in Windows XP

    http://support.Microsoft.com/kb/307987

  • Multiple datasets in single data model

    Dear experts,

    We have created a unique data model that has several sets of data sharing common to BI 11 g Publisher parameters.

    We are facing a problem of performance (data recovery is very slow) while to fetch data from database on execution.

    How to improve the performance in this case?

    Your help will be very appreciated.

    Thanks in advance!

    DB BLOB data recovery should not be a problem. But just to make sure that you remove your SQL BLOB type and see to it there improvements?

    Unfortunately I can't find any documents which mention the process of execution of the data sets.

    But you can do a proof for yourself:

    Add sysdate with timestamp on each set of SQL data and you can see the date with timestamp in the output xml (data view tab) which will show you what set of data is performed first and then what that and etc...

    It will be executed in the order of your data set creation. You can see the structure of the data set in the Structure tab.

    Have you considered the approach below?

    I recommend you to do.

    Is there is no adjustment to make in your SQL, then you can use triggers of events (before the data type).

    You can create a package that runs your sql DB and insert the data into a temporary table and then just ask the temporary table on the data set.

  • automate multiple jpg to single PDF

    I have a system that exports submitted electronic forms
    jpg. It exported it in document_type_submissionID_PageNumber.jpg (example of a three page
    Document: insurance_enrollment_432_1.jpg, insurance_enrollment_432_2.jpg,
    insurance_enrollment_432_3.jpg). The submission ID is unique to each document
    submitted. I need an automated way to look at the record that these documents
    are subject to analyze the name of documents and combine them based on
    The submission ID so that all every document that gets presented is converted
    and combined with the PDF format. Adobe Acrobat Pro DC it?

    Acrobat can combine several files into a single PDF file, but it cannot do it automatically. The process must be triggered manually.

    It would also be at least two steps: an Action to analyze the file and a script to merge the files.

    In short, a standalone application is a better option than Acrobat for this task.

  • multiple vcenters - sso single or multiple sso

    Untitled.pngI had 3 vcenters all located in different geographical locations. It is best to create sso 3 different areas or just one?

    If I do just one, then my PSC must be in a single site?

    can I make a field of SSO (vsphere.local) on all 3 sites and make them reproduce?

    When you deploy third PSC, to join the SINGLE existing authentication domain, or any of the existing PSC hostname will do. No such concept master PSC host here.

Maybe you are looking for