Little change in the table and little range between 2 numeric values

Hi all

I am a student in Electromechanics in Belgium and I do a simulation of an explosion with 48 leds for my final project.

In the attachment, you can see the program that I have already written. I think that this can be done more easily, but I don't know how.

I cut out 48 leds in 2 tables, with each table 24 LED.

If you see the program you will understand actually the best way to do this is to shift bits, but I don't think it can be done in LabVIEW?

But, the program works, so this isn't the real problem.

Now, I have to add a new function to the program, which allows you to add a range of leds.

So if you want to test 10 led 18 led, you can choose the "from... to..." menu and complete the range of leds.

Also, if you want to send a linear explosion with a fork, it must be possible to leave the early explosion to run 10 and end on 18.

I thought to do a function like this:

1111 1111 1111 1110 0000 0000 (10)

0000 0011 1111 1111 1111 1111 (18 reverse)

0000 0011 1111 1110 0000 0000 (the LED range I want)

but I do not know how...

Can someone please help me with this, it's keep me busy for days

I don't ask you to do the program for me, because I know it's complicated, but some advise to help me further with this.

Thank you!

Advertisement

I forgot the attachment

Tags: NI Software

Similar Questions

  • Flexible, set up including the tables and columns of text?

    I need to set up tables (annual report) and some text between the two notes.

    I would like to have frames as little as possible on every page - for InCopy workflow later.

    If I paste the text of the regular column in the frames containing the tables anchored that I must apply the shift of different basis for each block of anchor text, text which is not a nice workflow.

    Can you recommend a skillful means and flexible to set this place that will make the tables and text boxes flows if more lines or more text are added?

    Best regards

    Nina storm

    For this test I did it manually, but I have no reason to think that it would behave differently as part of a style. As far as I know, ID will attempt to balance the two columns automatically. If there is not enough text to divide into two columns it will not appear to divide but always see you any extra spacing and add just enough text to be wider than the column width of Courland and your line will have a gap in it for the gutter of the column.

    OK, I've just defined a style with the attribute of split, and Yes, it works in the same way. If you have a single paragraph, the paragraph is divided. If you have more than one, the block is divided, reading down by the first paragraph to the second (assuming that the linecounts work that way) in the first column before splitting into the second column. Paragraphs distributed individually. ID is to balance my columns automatically and will adjust the break if I edit, and if the number of rows is not divisible by 2 short column is on the right.

  • I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound.

    I am facing a problem with the beep.vi.  I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.

    Ihab El-Sayed

    published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...

  • How to track the changes on the table, not not using triggers

    Hello
    I would like to track DML changes on the tables. As I have several tables, it is not effective to write triggers.

    Is there any installation that I can do at the database level.

    I use 11g R2.


    Thank you
    thanks fran,
    
    I am a developer DBA with no access to db as sysdba.
    
    how can I access au$ table
    
    SQL> show parameter audit_trail
    
    NAME TYPE VALUE
    -----------
    audit_trail string DB
    SQL> audit select,insert on ctrl_batch;
    
    Audit succeeded.
    
    SQL> select sqltext from aud$ where sqltext is not null;
    select sqltext from aud$ where sqltext is not null
    *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    

    Hmm... a contradiction in terms...

    (1) audit trail must be in "DB, EXTENDED" see sqltext in the table sys.aud$.

    (2) If you have not logged: $sqlplus / as sysdba, if logged in SQL > conn / as sysdba (and of course sqlplus sys / conn sys as sysdba / as sysdba).

    (3) in your example, you are using views of dictironary of data that require dba (such as system or sys) privileges, but the owner of aud$ is sys. So, probably you use user system, right? Try to connect as sys as I told you in step 2 and try again.

  • How to create a grid with the tables and Boolean values?

    As part of a larger project, I'm trying to create a Subvi, which will allow me to spend a "cursor" in a 3 x 3 matrix.

    It should be 2 Boolean inputs, one for move them down in the table and the other to move them to the right. Once reached the edge of the table, the "cursor" will start back at the beginning.

    I have a vague idea of a table to 2 dimensions with LED. Once 'down' has been selected, the corresponding light to (0,0), light (0.1). Goes the same for the button 'right '. When 'down' is pressed (0.2), the LED should turn off, and LED (0,0) must light up.

    I'm sure it has something to do with the initialization of the tables, but I can't seem to find the right way to do it.

    Any help is much appreciated. Thank you!

    Your array is always empty.  Look at the detailed help for the function page replace table subset.  He says that the function has no effect if the specified index refers to a location outside the table.

    What you see on the Panel is only a view and has nothing to do with what is in the table.

    Lynn

  • Iterator for the table and form is a problem during the cleaning of the records

    Hello

    I use JDev 12.1.2.

    I have an object of the detail view. I represent a part of its fields in a table and the rest in a form. I use the same iterator. Basically, I dragged and dropped the object even from the view of the data control and created a table and form layout with the fields I wanted in each provision. I put in place a clear feature for the rows in the table with a clear"" key. -on click I delete the line of the iterator in the managed bean. When I do this the selected record is deleted and the next record is displayed. But fields entered in the form layout also gets deleted. (the form should also be showing the record currently selected - it shows but entrable fields in the form are deleted because of claire that I did on the previous line.) If anyone can help get this resolved?

    Not use the same iterator for the tables and forms here? The links are in the row (row.bindings...) for the table, but for the form it is (links...). The Delete on the current row operation is causing the iterator delete all fields of links instead of from the line? Please shed some light.

    Thank you

    UMA

    How do you rank on the iterator compensation?

    use resetActionListener in your clear button and let us know what is happening?

    Ashish

  • Is it possible to place the table and the text online?

    Hi all

    I have a table need to align with the numbered list. Is it possible in line of the table and text on a single line. EX: 6.12 and top of the 'text' must align horizontally.

    See the screenshot of the problem.

    Currently what I do, it is to place the table in separate frame and place it online using the option of the anchor.

    Screen Shot 2016-08-30 at 1.20.22 PM.png

    Thanks in advance.

    Kasi

    We could use the options for text blocks to position the first line.
    Fixed value set to 0.

    And a table style that would govern the distance before and after a table.
    If you wish, set both values to 0 .

    We could also do a minimum in the lead with the paragraph formatting to separate paragraph following with the next table.

    Best,
    Uwe

  • What is to be changed in the browser and how to use it? (At: Info)

    Hey, I've been wondering about this Edition of Adobe® Muse™ CC in the browser

    whhst East - this? And how can I use it to my partner site and sites that I build for frie and future customers?

    These videos explain everything:

    Jam Sessions:
    Jam Muse: Change in the browser and synchronized text - YouTube

    Support hyperlink in the edition of In-Browser - YouTube

    Tutorials:

    In the edition browser | Adobe Muse CC tutorials

    Share text through layouts | Adobe Muse CC tutorials

  • Hello, I recently created a website for a client. I also created a brochure with a QR code that automatically redirects visitors to a single page in the site. Well, I had to make changes to the site and I had to change the name of the page in which t

    Hello, I recently created a website for a client. I also created a brochure with a QR code that automatically redirects visitors to a single page in the site. Well, I had to make changes to the site and I had to change the name of the page in which the QR code pointing to. Is it possible to keep the current name of the page but create a page of automatic redirect named like the QR code? Basically, the brochures have all been printed already, so I need the QR code when analyzed in order to continue working. Now, it is not the case.

    Nevermind, I figured it. I've reproduced the page, renamed the QR that indicates the code of the page, and then he hid in the menu of page properties.

  • My submenu does not work on my subpages of muse: that's when I made a change to the captain and now it is not - please help!

    My submenu does not work on my subpages of muse: that's when I made a change to the captain and now it is not - please help!

    The Web site is www.thecupcakebaker.co.uk

    Hello

    It looks like something is bunk of the menu items, pourriez please check again, see you if there are any blank object or anything else

    Let me know if that helps

  • I have the table and its size is full

    I have the table and its size is full when im inseting records, not insert, how do I increase the size of table
    ALTER TABLESPACE ts_tbsp
      ADD datafile 'c:\oracle\product\10.2.0\oradata\df\ts_data01.dbf'
      SIZE 4M
      AUTOEXTEND ON;
    

    Means-
    In tablespace "ts_tbsp", adding a data file 'ts_data01 '.

    AUTOEXTEND ensures in the future if whenever the data file fills an additional size of 4 M is added automatically.

    Once it is created, a new data with the extension .dbf file is created in the folder Oradata.
    Another file dbf (default) includes:-SYSTEM.dbf, SYSAUX.dbf, TEMP.dbf, USERS.dbf, etc.

    See - http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_3002.htm

    HTH.
    Vanessa B.

  • After the reopening of the dreamweaver files, the table and its contents do not appear in design mode

    I had a problem with the deisgn opinion that caught me all week. I designed a Web page with dreamweaver CS4. After having reopened this Web page, I got the problem to see the tables and images inserted in dreamweaver (the images cut into slices of Fireworks works well). Somehow this problem existed only in design, but is NOT seen on browser / see live.  I thought that it is the problem of adjustment, but I tried to reopen the Web page I designed earlier... you have no problem in design or mode live view. I also tried to start another file, same problem existed (tables/images do not display in design) I'm really confused. Any thoughts?

    I've already done my research in the world, but cannot find solution.

    You closed the first cell in what appears to be your content area.

    />

    Must be:

    Write it down / at the end of the

    is removed from the version "should be."

    Enjoy.

    _T

  • Bigger disk-swapping, but down two, possible to remove them from the table, and then expand?

    I have a R710 with a PERC 6 / i, Win 2008 R2 running. I have a small disk for the operating system, the other 5 bays are filled with 1 TB disks in a RAID array-5.

    I need to add more storage, so I want to buy three discs of 3 TB. I plan on the withdrawal of old readers, and then put it in the new, bigger. I assume that it will take 1 of the 3 TB and repair. Leaving free 2 TB disk. Repeat this step twice more, which will result in three discs of 3TO with 6 TB of disk space not used in the RAID.

    Is it possible to have the controller expand storage in my table of RAID-5 existing free space, and then delete the two remaining 1 TB disks in the array?

    Who is? Is it still possible? Or do I have to backup the data on another storage device and delete the table and simply start a new one with the three discs of 3 TB and copy the data back?

    This will not work:

    (1) the PERC 6 won't take 3 TB drives; the maximum size is 2 TB.

    (2) you cannot delete records in a table - your RAID 5 5x1TB must always have records of 5 or more (you can add without deleting).  Even when using the same number of disks, isn't it possible to do the smaller table/VD.

    (3) even if you used 2 TB disks, there is no way to expand the RAID 5 using the extra space on the disks - with 5 disks in RAID 5, it will remain the same size. The only thing you can do with the new space is to create a second RAID array on the disks (called "slice").  This new VD is handled by the operating system as another "drive."

    Keep in mind if backup and restore in a larger painting, as if the VD ('disc') is greater than 2 TB, the disc "" MUST be converted to GPT and active UEFI bootmode (instead of BIOS).  Make sure that your backup software is capable of restoring one using the BIOS install on a system UEFI (and the 'disc' TPG 'disc' MBR).

  • generate the search pages the tables and forms using templates speed

    Hello

    I have a table-form page and would like to have a quick search on two windows. Currently, I'm copying the form of generated code page jspx table on page jspx form to achieve. Speed models can be modified to allow this? I looked at the formGroup.vm and the searchArea.vm, but the below lines

    If ($JHS.current.pageComponent.hasSearchArea)
    if(${JHS.) Current.Group.generateSearchAreaInRegion})

    seem to be stumble me...

    We develop in JDev 10.1.3.4 and JHeadstart 10.1.3.3.88

    Thank you!

    Lana

    Lana,

    You can make a custom searchArea.vm and a custom formGroup.vm model where you uncheck the box for #if ($JHS.current.pageComponent.hasSearchArea)

    You will then get a search box in the table and the page of the form.

    Steven Davelaar,
    Jheadstart team.

  • Risks and impacts on the changes in the physical and logical structures used in ODI

    What are the risks and impacts on the changes in the physical and logical structures used in ODI?


    I wonder what can be changed and the risks and impacts that may occur changes in the physical and logical structures used in projects of ODI?

    You should not change the name of logic. Because in ODI, each model is connected to a logic diagram.
    You shouldn't be changing technology too because that would need a change to all models and the KMs that have been used in the development of interfaces and procedures, etc.

    Nothing under the physical schema can be changed for example. Connection, user, etc.
    ODI uses the logical schema. And it matches the physical schema in the runtime using contexts.

Maybe you are looking for


HashFlare