Several problems with a simple replacement of the subset of table

I'm new to LabVIEW and I try to teach me how to use it.  As you can imagine, I'm running into a few barriers.  The code that I'm including embodies many of my problems.  If someone can explain to me how to improve this code, I would be grateful.

Copy the following code is a simplified version of a more complex code, that I'm writing.  In the simplified code, I have a control ('VALUE') that I would like to register at different locations in my table of 5 x 3.  To do this, I tried to make a 5 x 3 constant I could replace it with the value of the control.  The code does not work as expected and this is my specific problems:

1. I can't initialize the array constant (the one I intend to crush).  I can only initialize the first row.  Based on the help files, I thought I should be able to initialize it by clicking on the boxes in the chart on the block diagram and entering values.  But it doesn't seem to let me do this.  Don't know if there is a special way to open when more than 1 dimension is involved?

2. my slider controls are intended to establish where in the table to place the element.  But is not no longer works.

3. I can't understand how properly to a code which has a while loop integrated in a while loop.  Someone recommended using a structure of the event, but as a beginner, I will have trouble to know how I would enact who.  I tried to play with the settings of locking/switching the button stop, but that did not work, either. The problem seems to be that, if I am inside the while loop, the program does not see my stop command.  Is there a way to connect as the stop button works, regardless if I'm inside the another while loop?  If not, is there a way to accomplish what I want in the smallest loop without using a while loop?  If I used a structure of the event, how would I created an 'event' to tell the program to store a new data point in the array?

Thank you.

Jessica

Jessica,

Also note that in LabVIEW array indices are zero-based.  If the values of the row index can be 0, 1, or 2.  If you want your users to see 1, 2, and 3, then put a function decrement between the terminals of the cursor and the function replace table subset.

Lynn

Tags: NI Software

Similar Questions

  • Problem with PCI-e slots on the S51200ZCTO Pavilion

    Hello.  I bought this computer for use as a media server, replacing a 3300Z failed two weeks ago.  One of its functions is my AV receiver Rs232 command  I bought an adapter cheap PCI-e series online and installed.  The machine refused to start with the card installed in one of the three locations.  Attached to the HP splash screen.  Decided that my card 12 was obvious junk, I went downtown and bought another card for $30.  Same question.

    What I did:

    Disabled all 3 PCIe x 1 slots and slot of the minimap.

    The machine will start with the card installed, but of course, it's kind of useless.

    I activated the slots selectively.

    The machine will fail to start whenever the first location is enabled and one of the two cards is installled.

    If the first location is disabled, I can activate only two and three slots and the machine starts correctly with each installed card.

    I installed each card in turn in slot 2 and enabled only the slot 2 in the bios.

    Windows 7 can not find two cards.

    I manually installed each card in turn.

    They have installed but shows an error code 10 (device cannot be started)

    I have about confcluded that there must be a motherboard problem.

    I am a very technical user.  I have been upgraded and now my own machines for about 25 years and I've never met this kind of problem with a simple installation device PnP.

    If anyone has any idea I will try it.  I'm not enjoying the thought of working my way through levels of support for HP to convince them that there is a real problem or to ship the computer for repairs.

    Thanks for the chipset, here is another card:

    http://www.Newegg.com/product/product.aspx?item=N82E16815124112

  • Simple replacement of the element of Spry in Dreamweaver CC 2015 database

    Hi all

    IM currently a simple replacement for the spry data item is no longer available in Dreamweaver CC 2015.
    I am a teacher and I'm supposted to give some integration of database in a Web site. I can spend only 2 or 3 lessons on the subject (as it is only a small part of the curriculum), you need a system that requires no knowledge of Mysql, php, and so on, these elements are far too complex and cannot be explained in a short time. The database of spry used to give me a simple alternative where students can insert elements of a page html or xml page, in another html page. It's simple and effective. Now I tried several things, already spent hours on research, the download and the installation of all kinds of modules, but none works well, unless you have considerable MySQL knowledge,... or add-ons just don't work without an add-on more costly, as DMX zone database connector. And I think it's shocking, as the subscription to the CC is far from free.
    Anyone know a good, simple and free alternative?

    Any suggestions would be most useful.

    Hello

    in fact the DMXzone of HTML5 data bindings (which is a free extension) can be used as a replacement for the deprecated Spry database options.

    You can install free of charge in your DW and use a file to local valid JSON format for a data source, to do what you can do with XML and Spry files. You need not DMXzone database connector to work with local JSON files:

    Then you see that your JSON structure in the HTML5 data bindings panel in DW and you can link your data to your page:

    Best regards

    Teodor Kuduschiev

    Geckozone.org

  • Problem with a simple integral

    Hi all

    I have 2 problems with a simple integral, and I do not understand how the first HP solves.

    My first problem is that if I add a constant before my variable, the answer becomes really weird.

    My second problem is that if I just change one letter (q becomes Q), the answer changes completely.

    I am attaching a picture of the calculations so that you can understand my problem.

    Thank you very much for your help

    Kind regards

    Xavier

    When you type wx you now have a variable named "wx" - not w * x which is what I suspect you intend. You must manually add a multiplication between them.

    When you use the Q, you are actually using the predefined global real variable that is most likely the value 0. If you've stored 2 in Q, I suspect that you'll get a different result. Remember that all variables in capital letters from A to Z and THETA and already defined as real numbers. VARS-> HOME-> REAL-press and you will see them.

  • Several problems with Windows 8 - Upgrade-unable to download full

    Original title: several problems with Windows 8

    Last Sunday, after downloading Ab2word, my tiles shortcuts stop working. I have uninstalled the program, but nothing improved. I made an update of Dell and got the shortcuts work again (curiously I could always connect via the desktop). now, I get a message saying that Windows is disabled and to enable him, by putting in... but he says that it is impossible to activate. Then I tried the upgrade to 8.1 by the store and got a message saying that I was unable to complete the download. Now my shortcuts tiled work, but they open the sites registered by the office, not as a full screen. I tried to restore to the factory and now get the message that the system is unable to restore. I ran a dell diagnostic and it showed nothing. I did a full security scan and he came clean. I'm rapidly reaching crisis. When you try to seek help on the Web site, Windows 8 is not listed... It is 7 to 8. 1. any suggestions? This computer is less than 2 years old and I'm ready to take a hammer to it.

    Hello David,.

    Please write to us and offering the opportunity to help Microsoft Community.

    What exactly do you mean when you say "Windows is disabled and enable it via the setting..."?

    You receive the "Cannot download" error during upgrade to Windows 8.1, I'll follow the steps by David Williams Dixon in the Blog below.

    Something happened and the 8.1 Windows installation may not be completed. (And now you are bored)

    We know if the steps help you in upgrading the computer to Windows 8.1.

  • Several problems with ODT 12.1.0.1.2

    I've noticed several problems with ODT 12.1.0.1.2


    1 opening problem on the XE database packages (10.2).
    Problem occurs in Visual Studio 2010 and 2012.

    In Server Explorer, I created the data using ODP.NET connection, unmanaged pilot. in the 10.2 XE database

    When the connection is open tree of object type is displayed.

    Try opening the packages tree does not work ORA-00904: #SELTAB ".". OBJECT_TYPE': invalid identifier

    Same problem occurs using unmanaged driver.

    This does not happen to the standard database connection.

    2. the problem of schema comparison
    It does not work if XE (10.2) database is involved as a source or target.

    It fails with ORA-00904: "AP". "' OBJECT_TYPE ': invalid identifier

    3 connection editor

    There is an annoying problem with the connection editor.

    When I try to change the connection and the connection type is TNS then Data source name combobox selects the first entry of TNS (in alphabetical order) and not one that was used when the connection is created or changed.

    akabook wrote:

    I've noticed several problems with ODT 12.1.0.1.2


    1 opening problem on the XE database packages (10.2).
    Problem occurs in Visual Studio 2010 and 2012.

    In Server Explorer, I created the data using ODP.NET connection, unmanaged pilot. in the 10.2 XE database

    When the connection is open tree of object type is displayed.

    Try opening fails tree packages with ORA-00904: #SELTAB ".". OBJECT_TYPE': invalid identifier

    Same problem occurs using unmanaged driver.

    This does not happen to the standard database connection.

    2. the problem of schema comparison
    It does not work if XE (10.2) database is involved as a source or target.

    It fails with ORA-00904: "AP". "' OBJECT_TYPE ': invalid identifier

    3 connection editor

    There is an annoying problem with the connection editor.

    When I try to change the connection and the connection type is TNS then Data source name combobox selects the first entry of TNS (in alphabetical order) and not one that was used when the connection is created or changed.

    Thanks for the comments.

    (1) ODT requires database 10.2.0.3 or later since the view ALL_PROCEDURES added the OBJECT_TYPE column after this version. Now, everyone with the exception of 10.2 XE has updated past this point (XE cannot be corrected). So that means 10.2 XE cannot be used with ODT, if you want to view the proceedings. There is a 11.2 XE you can use:

    http://www.Oracle.com/technetwork/database/database-technologies/Express-Edition/downloads/index.html

    (2) same question

    (3) thanks for this note. I will alert you of the development team.

  • Several problems with photoshop after upgrading to win10

    I've updated to win 10 a week ago and today I experienced several problems with photoshop. The first question is about the quick selection tool. I select and try to choose an area on the picture I want to work on. It performs either one of two things. F1. It won't select anything finally photoshop will crash. 2 when he decided to select something it goes super slow and will switch to the symbol of thought every few seconds.

    second question...

    Because I can't get select quick took the job I'll move the pen tool. I started to select anchor points and ill get maybe 20 points the image then becomes completely black. If I scroll top down I can clearly see the parts of the image, but when I stop scrolling returned to a black square. Later photoshop then crash.  TSF is to face all of a sudden?

    Make sure that your GPU drivers are perfectly up-to-date (directly from the manufacturer) and they are 10 Windows compatible. You can also try a reset preference:

    Win: Press and hold the keys Ctrl + Alt + Shift immediately after the launch of Photoshop starting. A box will appear asking if you want to continue with the reset, select 'yes '. If you don't see this, you're not fast enough... Try again.

    Benjamin

  • Several problems with Adobe Creative cloud app.

    I have several problems with the Adobe Creative Cloud application.

    1 CC Photoshop or prelude CC cross the bar of the 47% during installation. They constantly give me messages "Installation failed". When I click on "Learn more", I like that:

    "Installation failed."

    Errors during Installation. (7)

    More information"

    So, naturally, I click on more information to get the lifting against me following (which no do I understand):

    Exit Code: 7 Please see specific errors below for troubleshooting. For example,  ERROR:   -------------------------------------- Summary --------------------------------------  - 0 fatal error(s), 2 error(s)    ERROR: 12/01/13 13:16:06:425 | [INFO] |  | OOBE | DE |  |  |  | 6076 | ---------- CustomHook_Helperx64 ---- Start ----------  12/01/13 13:16:06:426 | [ERROR] |  | OOBE | DE |  |  |  | 6076 | Cannot load function name 'CSInstallerCustomHookProc' from library C:\Program Files (x86)\Common Files\Adobe\Installers\uninstall\{5F816B76-62F3-41C9-B651-27F49F25F50B}.data. Error 0    ERROR: System check returned with error : -4  ------------------------------------------------------------------------------------- 

    2. I installed 5 Lightroom, then uninstalled. When I went back to re - install, the application Adobe Creative cloud wouldn't let me. He says that my 5 Lightroom is "up-to-date" and that it is in my article 'Your applications', not in the section 'find new applications '. I rechecked my programs and features in Control Panel, and it isn't here. I cleaned my registry and it is still there. I deleted the file "opm.db" in my OOBE folder and restarted CC - still nothing.

    I must say, guys. I'm not very happy with the time I spent just trying to install programs on my PC. While the plan is for it to be intuitive at a certain time, it is not very functional at the moment. No matter how much help you can provide me would be amazing - if you can provide it sooner than later, I'd be on the moon.

    Thank you.

    Hope this will help others record the amount of time this error I spent troubleshooting.  When you install Adobe InCopy CC, CC of Adobe InDesign, Adobe Photoshop CC, CC prelude Adobe and Adobe first Pro CC on a laptop Windows Pro 8.1, I an error similar to the one below.  Other installations of Adobe Acrobat XI Pro, Adobe affect effects CC, Adobe Audition CC, Adobe Bridge CC, CC of Adobe Illustrator, Adobe Lightroom 5 and Adobe SpeedGrade CC installed without error.  I ran across this test with a clean operating system, new construction to help isolate the problem.

    23/12/13 16:33:04:372 | [INFO] |  | OOBE. OF |  |  |  | 912 | 23/12/13 16:33:03:368 | [ERROR] |  | OOBE. OF |  |  |  | 6316 | Cannot load the name "CSInstallerCustomHookProc" C:\Program Files (x 86) library function \Common Files\Adobe\Installers\uninstall\{5F816B76-62F3-41C9-B651-27F49F25F50B}.data. Error 0

    I ran a minimum load of the operating system by stopping all non Microsoft services by running MSCONFIG. EXE and disabling and disabling all startup in the Task Manager, Startup tab items.  After restarting the laptop, I was then able to install CC of Adobe Photoshop and Adobe first Pro CC.  However, Adobe InCopy CC, CC of Adobe InDesign and Adobe prelude always failed CC.  I needed to start safe mode and disable BitDefender Virus Shield and BitDefender Desktop Update Service and then restart mode Normal (services were always disabled). I continued and completed the installations of Adobe InCopy CC, CC of Adobe InDesign and Adobe prelude CC.

    It seems that BitDefender is the process to load this function as a virus Trojan markup and stop installation.

  • Is anyone having problems with their Apple Watch since the iOS 10 came to life?

    Is anyone having problems with their Apple Watch since the iOS 10 came to life?

    Hello

    If you have not already done so, it can also help update your Apple Watch to the latest version of the software:

    Update the software on your Apple Watch - Apple Support

  • I had problems with access to most of the Web sites and I noticed that HTTPS is no longer, how do I make permanent HTTPS so I can access any Web site?

    I had problems with access to most of the Web sites and noticed that HTTPS no longer appears whenever I try to access a Web site. I can easily connect to my gmail and facebook account, but the problem is that when I click on a link on FB and gmail, I get the annoying message "refused to connect.

    How to address this issue, rather how to make HTTPS permanent so I can easily access any Web site. The date and time on my laptop are both correct. I am currently using OS x 10.9.5.Please!

    How to address this issue, rather how to make HTTPS permanent so I can easily access any Web site.

    My guess is that you have a damaged or invalid certificate entry OS X KeyChain, but to directly answer this question, I would say that consider you something like HTTPS Everywhere. Note, it is not available for Safari. It is available directly through the Google Chrome browser extensions.

  • problem with my laptop asking for the administrator password or power on password

    I have the same problem with my laptop asking for the administrator password or power on password. It is a compaq presario cq61. It happened when my hard drive failed and was not used for a long time. With the password, any help would be much appreciated. It says system turn off after a few trials with the key: 55427586

    Hello

    Try to enter: 40585508

    Kind regards

    DP - K

  • Having a problem with a redirect virus and the refusal by the system to allow me to download various things, Windows Live Mail in particular.

    I recently tried to remove malware on my Vista based laptop Toshiba.


    I recently tried to remove malware on my Vista based laptop Toshiba. Malwarebytes helped, but I still have problems with a redirect virus and the refusal by the system to allow me to download various things, Windows Live Mail in particular. I tried to download from a copy of the USB stick to a clean computer, but he still refuses to load telling me to check my internet connection, which is fine for general use. Please help I get crazy and do not forget that I am a pure layman - thank you if you can help - Kidso

    I found that the best place to ask this type of question is here: -.

    http://forums.ComputerActive.co.UK/forumdisplay.php?f=20

    There are some very good people out there who helped me (successfully) on 2 occasions.

    Good luck.

    I'll be interested to know how you go.

  • I used to open all files including media files with a simple click of the mouse. Recently, I have reinstalled my OS. Now my files open only after double click

    I used to open all files including media files with a simple click of the mouse. Recently, I have reinstalled my OS. Now, my files open only after double click. Please someone guide me to set my mouse to open all my files with a single click.

    E-mail address is removed from the privacy *.

    Open Explorer

    organize

    folder and search options

    Click on "single click to open an item.

    and

    (I think that ;-)) )

  • I have the problem with my language of keyboard, the fact is I can't add or remove languages from keyboard

    Hi all
    I have the problem with my language of keyboard, the fact is I can't add or remove languages from keyboard
    When I press the keyboard button change that nothing happens, but in the event viewer I get the following message
    The failing application name: Rundll32.exe_shell32.dll, version: 6.1.7600.16385, time stamp: 0x4a5bc9e0
    Name of the failed module: input.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdf4f
    Exception code: 0xc0000005
    Offset: 0 x 0000000000003756
    ID of the process failed: 0xf5c
    Start time of application vulnerabilities: 0x01cd697d57b60837
    The failing application path: C:\Windows\system32\Rundll32.exe
    Path of the failing module: C:\Windows\system32\input.dll
    Report ID: 95fbd586-d570-11e1-8bfb-c860006d193a
    Can someone help me with this? or maybe there's another way to change the keyboard languages? for example through registry?
    Thanks in advance
    I HAVE Windows 7 x 64

    Hello

    I suggest to create a new user account and check.

    Create a user account.

    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    If the problem does not occur in the new user account, I suggest you to fix a corrupted user profile.

    Fix a corrupted user profile.

    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

  • my computer recently crashed and when I tried to use photoshop, then I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    My computer recently crashed. A fixed it but! When I then tried to use photoshop I got the message: - message - problem with display driver, temporarily disabled the improvements. Does that mean, they will return when the problem is solved?

    Update or restore your graphics driver.

Maybe you are looking for