Strange problem - Cluster of references

Hello guys

I had a strange problems using a cluster with references.

How to reproduce the problem:

-Open a white VI;

-create two charts in the front panel;

-in the block diagram, create references to two graphics;

-connect these references to a package (not);

-create an indicator across;

-run the VI once;

-Right-click on the beam indicator and change it to a control;

-remove the references and bundle;

-Select the control from the front panel, go to EDITION, CUSTOMIZE the CONTROL;

-change the type strict def;

-Save this order as Control1.ctl;

-connect the control to a unbundle by name;

-Right-click on the name unbundle and select one of the two graphs as an element (no matter that one select it);

-Create a property node and feed its terminal of reference with the reference of the unbundle by name;

-use of the 'Label.Text' property in the property node;

-create a flag for the node of the property;

-run the VI;

-l' indicator will display the correct label for this chart.

-perfect!

If you save the VI and run again, fine.

But... If you close it, open it again and run... you will get an error 1055 "object reference is not valid.

Why it worked before closing?

Find attached the VI and the control.

Thank you

Dan07

Advertisement

Let see if I can answer before I start work.

Do a quick experiment.

Use Type casting to cast your Ref as a U32 and display this value on the public Service.

Save the VI race she and the registration number on the FP.

Mod the vi record close it open and run again. The number must have changed.

That is the question facing you, ref number changes if you need one that is valid when you run.

How do I;

I use a motor of Action (see this nugget to learn what is a motor of Action) as servse as a GUI controller and allows me to get in refs where even I need them. The following is a case study.

I first collect all th refs I need and combine them into a def type. I am pursuing a state machine to make the grouping if there are many.

The clsuter group are passed to an Action controller GUI engine

Inside Init, I check the referees to make sure that they are vlid. This has saved a lot of time wated no valid refs.

If they were valid I cache the arbitrators.

For major changes that require a lot of punching of GUI, I create Subvi to do the dirty work.

Every time the ref to the GUI needs to other codes, I have a method that returns the arbitrators.

The following is an example of an another VI using the MISTLETOE refs.

I hope this helps,

Ben

Tags: NI Software

Similar Questions

  • 'New' strange problem when connecting to external monitor

    in the last two days, I experience a new and strange problem when you try to extend or duplicate my screen of my laptop to an external monitor.  I do usually all the time, but now when I plug the HDMI cable to the laptop I have 'lost' my original on the laptop screen and can see a larger version of the Windows logo, so the original laptop screen is "gone" or unusable.  It is not cable or an external monitor, as it works fine with my cell phone to friends. Could it be a corrupted file or a parameter? Please tell me I didn't have to reload Windows over this. Thanks in advance.

    Hi Joyce,

    Thanks for the reply.

    I appreciate your patience.

    I suggest you update this link display drivers and check.
    Reference:
    http://www.support.HP.com/us-en/drivers/selfservice/HP-15-notebook-PC-series/6782098/model/6837966

    Please keep us updated.

    Thank you

  • I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 10:08 minutes or so.

    I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 8 concerts after 10 minutes. I have to force them to quit, but I don't know what I am closing or why they open in the first place. Applications downloaded on iTunes?

    In addition, the Console has opened with the same message several times, but I don't know what that means.

    Any help would be appreciated.

    Hello

    The last is a picture of the Terminal window.

    Just because it lists 'Console' does not mean that it has nothing to do with this application.

    You have not said why or what you're trying to install so I can't help with that.

    You can use the activity monitor to leave their.

    After you select an item, use the X in a type of stop sign icon and confirm force quit.

    21:36 Thursday; September 15, 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

  • Strange problems with Firefox!

    Hello.
    I am a user of Mozilla Firefox about 3 years. I use it on my desktop and on my laptop. in the PC, I have no problem; but in the laptop, I have strange problems. I searched this problem to support Mozilla and Google also! but I can't find any answer.
    Also, I have reset Firefox and problem resists. even I uninstall and install after. but the problem remains.
    Now, I'm under Firefox 22.0.

    Problems:
    1. download icon in the header does not work. ( http://www.8pic.ir/viewer.php?file=30576184770845961788.jpg )
    2. sometimes I can't switch between tabs.the there is no need to click!
    3 Middle click of the mouse to move around the page work; but its icon is not displayed! ( http://www.8pic.ir/viewer.php?file=44434592402706809052.jpg )
    4. some of the Add-ons not work! for example; I use "Video download 1.97.2 pure", but its icon in the header will work not (just like the download icon that mentioned in 1). There is no need to click! (I use this add-on in my PC and it works).

    Hello

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    Thank you.

  • Satellite Pro C850 - strange problem with LAN connection

    Hello world

    I just signed up on this forum because I hope you guys can help me with a really strange problem.

    I recently bought a Satellite Pro C850-1MX
    It came with Win8, but given that I don't really like Win8, I bought an additional Windows 7 Pro (64 bit) license and installed on the laptop.

    The problem I describe, also arrived on 8 to win, which makes it even more strange.

    As soon as I connect a cable to the RJ-45 port, Windows tells me, that the LAN connection is not connected.
    As soon as I unplug the cable, Windows starts looking for a network and actually found one!

    So, the only way to connect to my LAN cable is... I have activate the LAN connection, wait that it detects a network (without the cable connected!) and meanwhile to connect the cable to the network port.
    Now... If I disconnect the cable once again, Windows still shows its connected.

    I must say, that I am a Director of professional network for more than 10 years now, so I should know my systems, but this never happened to me before. Event log shows nothing, re-installing drivers did nothing either. IM quite confused here and I hope you guys can help me.

    Thanks for reading, and let me know if you need any additional info!

    Greetings from the Germany,
    Sandro

    Hello Sandro,

    To be honest I confused m.

    I would try to start talking about the drivers installed, since you changed the system for Win 7.
    All the network devices, such as card WLan and LAN card are properly recognized in Device Manager?

    As I m not wrong not the laptop was equipped with a network card Realtek-8111F (1000BASE-T/100Base-TX/10Base-T) and WLan RTL8723AE Realtek b/g/n card.
    If both should appear in the device properly Manager if you have installed the drivers correctly.

    2nd question:
    You said:
    > As soon as I unplug the cable, Windows starts looking for a network and actually found one!
    Are you sure that you speak of LAN and WLAN?
    For me it made no further since. If the network cable is unplugged, the notebook would connect to the WLan where WiFi is enabled.

  • strange problem see my own profile

    Hello there is a strange problem.

    In my my contact list, I see a contact with the same Skype name like myself who appears here. Even if I delete it or block it, he always comes to the top. The strange question is that it is always offline and he said my Skype name and messenger as it gets then online via messenger.

    First time I see that. Please help me

    Am I hacked?

    I tried to uninstall the Skype change password always the same thing.

    This is a bug known on Skype servers.

    http://community.Skype.com/T5/Windows-desktop-client/Skype-Messenger-allows-me-to-open-a-chat-window...

  • Satellite L850 - 1 H 4 - a strange problem with the FN key

    Hello

    I have a strange problem on my laptop. When I uninstall my PVAT my start "FN" key works, when I install it it s not working not properly. Its market not only the volume key (F9 and F10) without pressing the "Fn", if I want to press F9 or F10 I have to press FN + F9, even with the rest of the buttons.

    When I install PVAT I have to press FN, so I can use my F keys (e.g. F3 to search on the browser tool, alt + f4 - I have to press Fn + alt + f4), and I can't use real functions like mute, disable Touchpad etc. Use the volume keys only. Y at - it a problem if I run my computer without PVAT, this may affect its performance?

    Where could be the problem and can I fix it? I'm with Windows7 x 64, but the laptop was with no OS when I bought it. And there is a problem with this version, I bought its impossible to install the Pakc3 Service, it s with SP1, can be the problem? I put t know what to do... perhaps I run the laptop without PVAT, sounds good, because the buttons work fine without it, but I don't know if it interacts with something else.

    Thanks in advance!

    Its possible to use the function buttons by pressing another button without the use of the fn or FN.
    This option can be changed in the BIOS.

    Go to the BIOS by pressing F2.
    In the BIOS, choose Advanced-> system configuration Options
    Here you should find the option that allows to change the special function keys which allows you to use the function FN or without button Fn button

    By the way: this theme has already spoken here in the forum several times. therefore recommend that you use the advanced search to Forums before posting new thread

  • More strange problem with keyboard and mouse on Satellite 1900

    Clicking on files or folders, I wonder to confirm the deletion of the clicked elements. The "Left shift" is interpreted as a backspace. I was afraid of a virus; but no viruses or spyware are present. I reformatted and reinstalled evrything; the problem persists. Everyone has known and resolved this strange problem.
    Thank you for the help.

    Hello

    It's very strange. Unfortunately I have no precise explanation. I suggest you check this with external keyboard to see if the keyboard is not defective.

  • Strange problem with Toshiba Express Media Player on Satellite M115-S3094

    I am facing a strange problem in my Toshiba M115-S3094, which has been pre-installed with Windows XP Media Center edition and which also had the Toshiba Express Media Player.

    I had already done a clean install of Vista on it, and then I decided to go back to XP with my recovery DVDs. I did the same procedures of first installation Express Media Player to backup (that I did when I bought the laptop) and then installing Windows XP DVD de Toshiba Recovery XP.

    The steps included:
    1 deleted recovery Express media player disk partitions
    2. installed express media player
    3 extracted Xp Recovery DVD, by selecting 'Recover without changing the Partitions' (there is no expert mode)

    Everything was fine (i.e. installation)... But now, after the turning off my laptop I press the Express Media Center button, the logo "Express Media Player" appears on the screen after loading of closures of laptop for 5 seconds.

    I tried to open it again and again, but the logo is displayed for 5 seconds and then my laptop stop...

    Laptop works fine when I connect to windows by pressing the power button / stop.

    Can someone help me on this strange question... ?

    Hello

    The whole story is a bit confusing
    First of all, I would like to know if your laptop is already preinstalled with the Media Express Player and if you were able to use it on your laptop in the past.

    Now something about the Express Media Player installation;
    In order to use the media functions Express the Mediaplayer Express Recovery CD must be performed before performing the recovery from the recovery DVD-ROM products.

    In addition, on the HARD drive should at least 150-200 MB of free space available.
    This free space must be on the end of the HARD drive and there must be unallocated. To get these free space on party products 3rd HARD drive should be used as Partitions Magic 8.

    I m not 100% sure that on error ID system badly but maybe it corresponds to the DMI evil information stored on the motherboard. If we're not DMI, you will not be able to reinstall Express Media player using the recovery media express CD.
    In the DMI must be set properly the manufacturing: Toshiba, product name: for example by Satellite M115-S30

    Finally and most importantly, I found this thread useful forum on the Media Express recovery procedure:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?MessageID=51801쩙

    Could be useful for you!

  • Strange problems on Satellite P30

    Hello
    Hope someone can help me that this laptop is causing me a massive headache

    The P30 for 2 1/2 years now, had my share of problems, DC have to be repaired and overheating due to the obstruction of the fan/radiator etc.

    a few months I ve noticed problems again with the domain controller, connection, works ok, but if you hit the laptop a little, it loses its charge and the amber light turns off and it extends the battery, the laptop must be turned off in so he can be charged. Also, there is a hissing/crackling noise from the charger when it is plugged

    I downloaded ATI Catalyst software a few days back and since then I ve had nothing other than problems, I got a mom.exe error and since then I have times m restarting constantly randomly, I formatted my system using the master CD, the laptop was returned to the factory settings, but 2 minutes in windows, I restarted, I formatted again and put an original disc of XP SP2 and who used to put a fresh xp on my laptop. But once I was doing restarted without any warning. Of course, I had installed my hardware from Toshiba disk drivers.

    Now my system is totally messing with my head, I can't get into windows without problem, I can surf the internet without problem, I tested a game for 5 hours last night (set of high spec) there was no reboot at all, and the computer ran fine. If I open windows media player and search for songs my computer restarts, I have tried to install software like nero and System Mechanic it restarts again, I watched a movie using windows media player and who ran late, its when its looking for songs it turns off, I do not understand is how random, I don't see the problem is the video card (games will work perfectly) and I do not think that the problem are a nuisance power because the game ran fine with the fans spinning, got a little hot, but that's normal I guess. It s mainly when I m access some files on my drive C: is when it restarts

    Please can someone help with this strange problem?
    Thanks in advance

    Oh 1 still a thing, I also have problems with my m * a UJ820S mat, when I connect to windows, it is not in my computer, if I remove the Bay and restart the machine, it appears and works fine until my computer is off again

    Hello

    I read all strange story twice and believe me, confuses the issue description
    I can't give you a solution to the problem, but I can try to make some suggestions
    To me, it looks like a motherboard problem

    Several years ago I also had a strange problem with my old no Toshiba laptop.
    The laptop always closes if I open the html files. But this happened only while the laptop was connected to the main power supply.
    It's very strange for me and the ASP could not believe that finally, the technician changed the motherboard and since this replacement everything runs great

    I think you should also try to contact the service provider in your country for detailed notebook verification.
    In your case, it s really necessary

  • Really strange problem with Yoga tab 3 10.1 "

    OK, up until that today ' today all was well with my new Yoga 3 tab 10.1 ". Today, he has developed a strange problem.

    The screen kept going blank and in return then and also would lose some wallpaer I had and went back to the default.

    So, as my wallpaper is all stored on the card microSD, I decided to turn off the power and remove the card.

    After plugging everything seems OK... So far, that is.

    I'm currently copy everything off the card on my PC and the test card and reformat to see if that takes care of it, and I'm going to order a new card just as a precautionary measure.

    No idea why these symptoms?

    Well, after doing a formatting FULL of the microSD card on my machine Win7 and retransfering files back to him, he seems to have solved the problem. I think that full format dealt with issues on the map.

    But, because I'm a FIRM believer in the CYA, I also ordered another card anyway. Figure better than cure.

  • strange problem of typing

    Then I searched through six pages and don't see my problem. I hope that I did not lack the thread for him.

    My problem is when I type with the physical keyboard, he decides to randomly not automatically correct. It will not capitalize the words at the beginning of sentences or add in apostrophes, etc. The strange thing is if I use the keyboard screen on and then back to the physical keyboard, AutoCorrect works again... briefly. It seems that I can't run contiunously and reliantly. Any help on this would be greatly appreciated.

    This task manager up to cause some strange problems when used. I try not to use it and see if it solves your problem. A case in point is that if you kill Gallery it will stop the music player, so it can cause problems. I just leave it alone, unless I know a real application that is a problem. Let me know if it helps. Also after you have unchecked everything restart your phone.

    amybud1 wrote:

    I use the best keyboard for my screen keyboard on. I checked the settings for the best keyboard and the stock keyboard. I use Task Manager who came on the phone, but I don't have a best keyboard on the auto-fin list.

  • Strange problem after upgrade OR-Scope

    I noticed a strange problem with niScope Multi Fetch WTD.vi who broke my code that worked for years until that I upgraded to OR-Scope 3.9.6.

    In special circumstances, usually when there is more than 4 channels configured, this VI returns fewer points than asked, finishing ever acquisition. And this happens only when its entry 'channels' is wired! Weird how?

    I enclose you a snippet of my code that show this oddity.

    The jury was PCI-5105, LV 2010 32-bit sp1 version.


  • strange problem with Ericsson H5321

    Hello

    I have a strange problem with Ericsson H5321 on my X 230. Until a few weeks ago, the card worked perfectly as a modem (at least on Linux, so I guess it would be too much work in Windows). Unfortunately, a few weeks ago disappeared from the network manager modem connection. I checked that all the special device for this files still exist:

    $ because I in/sys/class / * / * {ACM, wdm} * / device/interface; echo-n "${i}: ';" $ Cat {i}; fact
    / sys/Class/TTY/ttyACM0/Device/Interface: H5321 gw Broadband Mobile Modem
    / sys/Class/TTY/ttyACM1/Device/Interface: H5321 gw Mobile broadband data Modem
    / sys/Class/TTY/ttyACM2/Device/Interface: H5321 gw Mobile Broadband GPS Port
    / sys/Class/usbmisc/CDC-wdm1/Device/Interface: H5321 gw management of mobile devices to wide band
    / sys/Class/usbmisc/CDC-wdm2/Device/Interface: H5321 gw Mobile Broadband USIM Port
    $ lsusb | grep Ericsson

    .. .and I also checked it works like GPS (at least kind of: it generates data on/dev/ttyACM2 NMEA streams, but cannot get a GPS fix even after 45 minutes with access to an open sky).

    Then I tried to run windows 7 and the card is visible in the "Device Manager", but there is also no possibility to create the GSM connection in the connection menu in the bottom right.

    I tried a new install of Windows 7, I tried to reset the BIOS (even with the removal of the battery backup), but still I can't force them to work again. My BIOS is fully upgraded BTW: the problem appeared during the use of 2.61 and I also tried with recently published 2.62.

    My cell phone is always on the extended warranty, but as modem bought in line with the basic configuration it was only covered by the warranty of 12 months has expired

    Today it came to my mind that, as the modem itself seems a little work (present, responsive GPS device) then maybe it's a SIM card reader that is actually damaged (which would explain a bit why the camera itself is present, but I can't create a connection). Can someone confirm or deny my theory? If it is valid, then I could still replace SIM card reader because it is part of the basic configuration.

    Thanks a lot for your suggestions!

    [Mystery solved: I managed to put the SIM card on a wrong side...;]
    [I hate myself so muuuuch;]
    ([btw: Lenovo could fix their SIM card reader, so there is only one possible way to put a SIM card using his corner of heart: it would have saved me 2 days of stress and an investigation;]) )

  • Strange problem with the KING and IMAQ find right 3 edges

    So first of all, I noticed that the KING produced by KING features seems to have an incompatibility with the entrance to find right IMAQ 3 edges:

    In my code, I have the strange problem "IMAQ find right edges 3" is the production of edges that lie outside the limits by the wired KING specifided: "."

    In this case, a return on investment, defined by a rectangle, I [476, 1559, 752, 1779], but the best line produced by VI shape is outside this rectangle (see ordered 1876).

    How is that possible?

    I finally thought to it - it was my fault. I was updating the global rectangle in the KING entered correctly, but not the contours.

    I fixed the wiring and now it works fine.

    Detective Conan!

    G

Maybe you are looking for

  • mail application

    Hi, why apple do not upgrade mail app for iOS with the new device as attach file, picture of cloud service, sync with service cloud etc.?

  • Since firefox has blocked Adobe flash player how can I veiw videos online?

    My computer and the operating system are archaic - xp - and a very old computer, but flash player ran in the past. Firefox blocks any attempt to update adobe flash player citing vulnerability. And yet, they don't give NO option to watch videos on you

  • Why not back to Firefox 4 button a circle but a square?

    I'm on a desktop computer Windows Vista 32-bit. I have three user accounts. I use my user account, and I see the rear seat of the buttons. On another user, I see the "previous" button circle. Why is this?Also tried with WinXP, same circle back button

  • HP Officejet printers: Hp printers that print custom formats

    Hi, does anyone know what HP printer to purchase which allows you to custom size paper?  We have the 8600 Officejet Pro which does not print the custom formats.

  • Evaluation system for Adobe air

    HelloI wonder how to ask users to rate my apps.I want to like thishttp://Livedoor.blogimg.jp/socialgame_blog/IMGs/5/8/58b0ccc0.PNGDoes anyone know how to do this?


HashFlare