Stupid mistake with Bundle by name

I recently spent too much time to research an error in the code "that used to work.  So I asked a student to look over my shoulder while I explained what was supposed to happen.  The bug is illustrated in this code snippet:

I do a simple package by name, using a predefined TypeDef to define the cluster.  What I expected to get are indicated on the left, and I have actually is shown to the right.  The code looks the same, but the result is very different!

My student asked innocently if I saw, in fact, the default value of my TypeDef (answer - Yes).  He then asked if I had connected the TypeDef to the terminal of output "by mistake."  This turns out to be almost right - what I did was to wire the flag, not the Terminal output, but by mistake, to the input Terminal.

Note the two beige rectangles on the right edge of the boot by name.  The rightmost output, the more to the left is the entrance (this is where the wire to TypeDef comes in).  What I carelessly did was drag a wire from the indicator "far enough" to establish a connection, but, in fact, I dragged too far for that its entry into the entry box.  Here's big plans to correct and bad sons with highlight - it is not easy to see, but the highlighting on the wrong wire extends into the beige rectangle to the left.  If you bring your pointer in very carefully at the junction, you can sometimes see a point of strain on the edge of the function of the bundle, but I couldn't catch him.

   

Needless to say that this behavior, the ability to 'evil' a bundle by name function wire, was quite unexpected (by me)-I spent most of my time, suspecting of subtle errors in my code and logic, not the errors of cabling!

You can bet I checked the other places where the beam by a name appears in my code.  I'm posting here in the hope that others do not fall into the same trap.

Schor (embarrassed) Bob

Sorry to beat a dead horse, but I wanted some close this topic and comment on some of the useful responses.  A revised version of the extract is also included below.

  • Oligarlicky and tst are correct - I must have inadvertently 'fixed' the original extract before posting, as the code snippet below show fact error (I tested this time!).

  • TST is also correct that having the Option "Enable automatic wire routing" is enabled (the default behavior) would prevent this problem, with the result the obviously involuntary wireframe diagram of Test 3.  I always disable this Option when I am configuring LabVIEW, I like to control the placement of wire.

  • Many sons of "misplaced" (or incorrect) seem to be "taken" by the VI Analyzer, so I 'analyzed' this VI.  When I read his conclusions, I said "Oh, he missed the error!  But I was wrong - included an annotation of unused Code that says "service"Bundle by name"has none of its outputs one cable and therefore performs so no useful operation.»  Consider removing this function from your schema. "It was not really until I've created version 'Activate the automatic routing of the wires' reproduced by 3 tests that I realized he was talking (somewhat loosely) on my thread wrong.

  • One of my colleagues said I should stop wiring "in Hebrew" (creation of my son from right to left) - which could also prevent this error, but I prefer the "Ambidextrous" style of wiring, which means I'm leaving of whatever connection I happen to be nearby and the driver to the everywhere where it should go.

I hope that I can remember these lessons six months from now...

Bob Schor

Tags: NI Software

Similar Questions

  • Return of the mistake of MUSE: why do we not have several files with the same name?

    Well - I thought I had all this worked and fixed, but I met the download error 'Why do we have several files with the same name' once again.  (I downloaded all the files several times today in order to 1) works the way it worked the last time and 2) get an OAM file that is not loading for some reason any load again and the download takes about an hour to transfer all the files manually.

    To recap:

    (1) an option "Upload only modified files" returns the 'Muse has encountered an error and closes.  Why do we have several files with the same name? "error just as before.

    (2) a full download will work but takes forever and is NOT a substitution for work changed files option.

    Please advise with possible solutions!

    -Dave

    Is it possible to have two .oam different files in different folders on your computer where the .oam files have the same name? I'm theorizing that there may be a bug in the treatment to ensure the folder created for a .oam placed on the server receives a unique name, particularly in the case of a partial update of the site on the server.

    Please send us the .muse file and all the files in .oam related to [email protected] along with a link to this topic for the context so we can attempt to reproduce this error and isolate the root cause. If files are larger than 20 MB, you'll need to use a service such as Adobe send & Track, Dropbox, creative cloud, WeTransfer, etc. file sharing. Thank you.

  • Feedback created by stupid mistake of anchorage

    Hi - I recorded a call using FaceTime and an audio capture for Mac program, I would rather not name. The stupid mistake is that I don't cut off the flow and so I had this slight feedback loop along the:

    comments-audio-recording - sample.mp3 - Google Drive

    I ran across my very short playbook of the effect and strategies of EQ, and I think that there is no solution here.

    It's for a podcast so audio doesn't have to be perfect - but not boring. As it is.

    If there is an obvious tool I'm missing, please report to me! Thank you.

    I'm afraid that you won't be able to get rid of that at all - even a reverb-option will not move, because it's an identical signal in the form of an echo you have - there is nothing to differentiate it from the one you want. Not only that, but it is at the same level, so you can it is no more.

    I'm sorry, but I think you're stuck with this one.

  • Replace bundle bundle by name

    OK, so I have this code and here's what I want to do. I used the service bundle to organize sections of code and the flow of information in a submarine VI (I removed the sub VI for the purpose of this post). now, I want to replace a bundle by block name to facilitate the udate the code later if I need this block. So I want to replace this bundle

    and this bundle

    with the package by the name function. Nothing I have tried so far has worked. I think the problem has to do with the fact I want to put different type tables, References, and another cluster in the beam according to the name. Oh and I make sure that all possessed the names until I got tired of that, so I'm sure that's not the problem. Code is fixed, but be warned, its kind of a mess. Its my first big code and I need to clean it up, which is part of the reason I'm doing it.

    Any help is appreciated.

    John

    The thing with the bundle name is that he needs a cluster to go in as a def type.  So what I did with the right button on the thread of cluster, create constant.  The name of all the elements.  It's big, so as an icon.  The new cluster in the cluster of entry of all of the wire.  Right-click on the package and replace with package by name.  And all was good.

  • Why my email sign in with a user name and password is all of a sudden?

    Original title:

    E-mail

    Why my email sign in with a user name and password is all of a sudden?  When I don't put my username and password in the spaces, he says it is a mistake and I do it again and again, and it never works.  I can't send or receive e-mail on my Microsoft e-mail account.  I haven't changed anything lately, so I don't know why this is happening.  I can get my email on my COX webmail is a Microsoft problem, is not a COX problem.  Help!?

    As the account of emissions contain private information that can be shared in a public forum, please use the online form below. They are the only ones who have access to your account information, we simply don't have.


    Account of all the partners must now wonder online by using the Microsoft online form


    Select the error you must help with and fill in the information requested on the next page.  You must be connected to a Microsoft account to access the form.
    If you are unable to access your main account, you can use another account (if you have one) or create a new one https://signup.live.com/
  • A virtual machine or the template with the same name is already registered. Server error: the specified key name or identifier already exists.

    Hi all

    I have a 5.5 esxi server just the a virtual machine running at the moment. I try to clone this as shown below:

    http://nchrissos.WordPress.com/2013/04/22/cloning-a-VM-without-vCenter-in-ESXi-5-1-free-edition/

    However, I get the error:

    A virtual machine or the template with the same name is already registered. Server error: the specified key name or identifier already exists.

    I have no vcenter (yet), and it's just the 1 vm. The virtual machine is turned off. I get this error regardless of the name, I said that when I choose "add to the inventory.

    All advice appreciated.

    Thank you

    Oh dear...
    you read bad advice on the internet and then you get also the stupid advice here.

    Ignore both!

    If you want to clone a virtual machine by copying - do it like this:

    Create new virtual machine with the wizard.
    Skip creating a disk for new customers.

    In Datastorebrowser copy the original vmdk to the new dir, which has been created by the wizard.
    Reopen the new VM and edit - assign the vmdk that you just copied.

    The procedure of the blog is not supposed to work.
    Sissine trick doesn't make sense either

  • where to save the files under options the file name is duplicated how to remove an additional folder with the same name

    Under Options in Firefox, I clicked on save the files under downloads, but the file name twice and an additional file with the same name is created in the folder, i.e.:

    G:\Akbar's Songs\HAMARA DOWNLOADS\HAMARA FORUMS DOWNLOADS FORUMS

    As you can see the file repeats, how can I fix it?

    Also the music files, I download from a site of downloads as a WinRar file and I need to open it. Y at - it an option where the file opens automatically in the folder I chose?

    Thanks a lot for your help.

    Hi Akush, when you install 7 - zip, make itself the default application to open .zip and .rar files. So if you double click on the .rar file, it should open in 7 - zip. If you prefer to decompress immediately, right click the file and look for new 7 - zip items in the menu. I can't think of a way to do this automatically, however.

  • Add salutation to connect with the entry name

    I'm guessing that this was asked previously, but I can't find it anywhere.  Is it possible to add a form of address to communicate with the entry name?  For example, for a doctor Dr.  Yes Dr. Fred Jones for example?

    Use the prefix in the contacts

  • When I open a link irc with a string name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "7%" instead of "~" at the end

    When I open a link irc with a string name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "7%" instead of "~" at the end
    http://img835.imageshack.us/img835/2856/clipboard05nq.jpg

    I can't open the image, but I can say something in general about the tilde.

    The tilde "~" is an unreserved character and that's why it can be replaced by its form encoded percentage '% 7' inside a URI without changing the meaning. See

    http://en.Wikipedia.org/wiki/percent-encoding

    According to article 2.3 of RFC3986 we should prefer the encrypted form so this behavior seems to be somewhat outdated.

  • I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not display in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    I created a custom and registered with a specific name date format. However, when I open a new worksheet, my saved format does not appear in the menu drop-down? Am hoping that I don't need to create the same format for each new sheet?

    You must save the spreadsheet containing the new date as a model format and use this custom template for each new spreadsheet where you want that this date format personalized at your disposal.

  • I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    This is the first mention you made records. See this - https://support.mozilla.org/en-US/kb/Sorting%20bookmarks#w_rearranging-manually - and move individual bookmarks from one folder to the other folder. You may need to press the Alt key to display the Menu bar and the View menu item.

  • In the Photos of El Capitan how to record a double published in a separate with its own name and the ID file file?

    In the Photos of El Capitan how to record a double published in a separate with its own name and the ID file file?

    Only by exporting - with Photos (and iPhoto and Aperture) - you can have several versions of an image by duplicating the image (control - D), but this does not create an image file separated until you export - it creates a separate edit list in the database that applies to the original when you watch or export the photos

    Photos as it were its predecessors is a non-destructive control Digital Asset Manager (DAM) which does not any changes to files in the database but built a list of validation

    LN

  • You are about to open a session "keiron.me.uk" with the user name "Gerry" site, but the site requires no authentication. Maybe it's attempt to deceive you.

    http://Keiron.me.UK

    This very annoying message what I select my site

    You are about to log on the site "keiron.me.uk" with the user name "Gerry", but the site requires no authentication. Maybe it's attempt to deceive you.

    It is ok with Internet Explorer

    To resolve this problem, simply is to remove all bookmarks you have to keiron.me.uk and then re-create by vising the site by typing the address directly into the address bar.

    If you want to manually fix it then, check the properties of the location of all bookmarks that you have for keiron.me.uk. It is probably similar to http://keiron:[email protected] remove the keiron:password @ section and the dialog box should not appear again.

  • How to connect with the Skype name?

    I used Skype on other PCs. I try to sign in to Skype on a new computer. I can't find the place where or how enter my Skype name to open a session? How do connect me with my Skype name?

    Never mind. Found and installed the desktop version of Skype.

    Problem solved!

  • I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I would get one that has 4700 comments already.

Maybe you are looking for