LV 8.6: programatically pressing button only works in some VIs, not all?

Setup is an old labview 8.6
I'm tasked with fixing some strange old engine test bench which has a ~1E-6 measurement drift.
The "easiest" work around fix would be to run the mechanics to a bottom end point then press the "reset" measurement button automatically.
!!:  A "drive" vi and a "measurement" vi has to be running at the same time. The drive vi will then periodically drive the test bench to a mechanical end point and reset the measurement vi. This would get rid of the drift.
!!:  Both vi's must be started manually and running. I cannot start one vi from the other. It messes things up. I know not why. There seems to be some strange dependency over compiled FPGA code somewhere.
I'm no lab view wizard. It was 20 years since I touched it last.
So digging through examples on how to press a button in one VI from another VI I found this:
https://decibel.ni.com/content/docs/DOC-15962
Which I built into a sub-vi and a test setup to see if I could make it work on the test bench. With some tweaking it works.
A test "master" vi can press any button in a test "slave" vi.
However. It is impossible to press the "reset" button in the "measurement" vi.
Labview reports no errors, it just doesn't execute the value change event as far as I can understand.
In fact, I can copy exactly the same code from the working "slave" vi into the "measurement" vi and it stops working. !!??
How can code work perfectly well in one vi but not in another ?
The "measurement" vi has some sort of compilation requirements, meaning any change to the vi takes >30min to "compile" before it can be run. Can this have something to do with why remote button pressing doesn't work?
It also interfaces with some FPGA somewhere, can that have something to do with it ?
I have no clue. Happy for any help here.

Here it comes -- WARNING -- ugly code, this is my first labview in 20 years and I'm very short on time.
press-button.vi
  the sub vi I mangle up from the example (https://decibel.ni.com/content/docs/DOC-15962)
master.vi
  the test event sender
slave.vi
  the test event receiver
measurement.vi
  the real vi, where no buttons can be pressed
In master.vi you can reconfigure the input to press-button to which vi and button to target. Right now it is set for the test slave vi (I think) to verify that it actually works as intended in the test environment.
Hmm, seems there is a limit to 3 attachments, will post the measurement.vi in next post
Attachments:
press-button.vi ‏15 KB
master.vi ‏19 KB
slave.vi ‏29 KB

Similar Messages

  • I only want sync SOME videos, not all, is there a way to do it ?

    Hello guys!
    I want to sync only SOME videos, not ALL... is there a way to do it ? i tryed to did a "smart folder" with iPhoto, for select last 6 months videos, but when i try to sync to iPhone, it doesn't sync none video, the only way is selecting "incude videos" (but i wont want to, because it will sync ALL videos, i only want some of them)
    Thanks!
    System:
    Yosemite
    iTunes 12

    Hi,
    Unfortunately this feature is not included in Firefox at this point, but you can suggest it by following the instructions below.
    The people who answer questions here, for the most part, are other Firefox users volunteering their time (like me), not Mozilla employees or Firefox developers.
    If you want to leave feedback for Firefox developers, you can go to the Firefox ''Help'' menu and select ''Submit Feedback...'' or use [https://input.mozilla.org/feedback this link]. (You'll need to be on the latest version of Firefox to submit feedback). Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues.
    Hope this helps!
    Curtis

  • Problems with Firefox 13. Can't see online audio file player. Video only works on some sites. All works OK in I.E. Updated Flash. No Change

    Problems began when Firefox 13 automatically updated. tried downloading latest version of Flash 11.2.202.235. No change.
    Video works sometimes on YouTube, not at all on most other sites.
    Audio player not working at all. Either not even visible or downloads to real player versus playing within application such as Amazon.
    Tried enabling/disabling Add ons to find culprit. No luck.
    Everything as it should be in Internet Explorer.
    On my WordPress site has MP3 audio files, and uses a flashplayer to display and play music files. With flash player on, nothing displays at all, (bank space where audio player would normally be displayed)
    If I disable shock wave flash, a text link is displayed that downloads the MP3 in a new window (quick player), Also video doesn't work on any website. If I disable Flash and quicktime, text link to audio file downloads to realplayer.

    hello msandman, there have been quite a few issues with adobe's latest flash update - can you try if flash content is showing up correctly again, when you disable the real-player components like mentioned in the following article: [[Flash 11.3 doesn't load video in Firefox]]?
    otherwise you could also try to remove flash 11.3 from the windows control panel/programs section & [http://forums.adobe.com/thread/889580 downgrade to the 10.3 branch of the plugin], which is still receiving security updates.

  • Why does the button only work in test scene, not test movie?

    Hi everyone, I have a very frustrating problem with my flash project.
    I have two scenes in my flash movie, each of them has lots of links and navigation within itself. And there is one button that takes you from one scene to another.
    When I test Scene 2, everything works fine. However, when I test the whole movie, the navigation within Scene 2 won't work and there is no error!
    Does anyone has any thought about what is going wrong?
    I'm using Flash CS6.
    Thank you!

    Thank you for replying me!
    My Scene 1 has some key frames and some gotoAndStop functions navigate between the frames. My Scene 2 has basically the same set up, but different content.
    Then I use a button to jump from Scene 1 to Scene 2.
    Here is the code:
    var StoreHomepressing:Boolean = false;
    function StoreHomeonPressing(evt:Event){
              if (StoreHomepressing==true){
                        gotoAndStop(1,"Scene 2");
    function StoreHomehandlePress(evt:MouseEvent){
              StoreHomepressing = true;
    function StoreHomehandleRelease(evt:MouseEvent){
              StoreHomepressing = false;
    StoreHomeBtn.addEventListener(MouseEvent.MOUSE_DOWN, StoreHomehandlePress);
    StoreHomeBtn.addEventListener(MouseEvent.MOUSE_UP, StoreHomehandleRelease);
    addEventListener(Event.ENTER_FRAME, StoreHomeonPressing);
    "StoreHomeBtn" is the instant name of a the button. Through this code, I want it to go to and stop at frame 1 of Scene 2 on pressing this button. It does jump to frame 1 of Scene 2, but once it goes to Scene 2, all the gotoAndStop functions in Scene 2 don't work and no errors show up.

  • LDAP works for some but not all

    I have CPS set up, and it's been working for years, all of a
    sudden all of my users at one location cannot authenticate. The CSI
    file is fine, but it's had to be replaced a few times. The users
    LDAP settings haven't changed.
    The server is at siteA and all siteA users are fine. SiteB
    users cannot authenticate to contribute, but they can log into VPN
    and choose a VPN connection at siteA and they work just fine.
    The Access Denied message is coming from CPS, and is not NTFS
    or other security.
    We've deleted an affected user and recreated the account in
    CPS and still no luck.
    Anyone Seen this issue before?

    Problem resolved. After a few conversations with different
    teams, we found a change that went in at the time this started and
    investigated what that change was.
    There is a new Wan optimization appliance that started being
    used between site A and site B which apparently caused my problem.
    Once my connections where excluded from this appliance, everything
    started working again as normal.
    Just in time, I was planning to tear down and completely
    rebuild my server today.

  • Email Alerts are working for some but not all users

    If some users are getting the alerts and some not, it seems more likely that the issue is with your email server or email clients, not with your SW setup.
    Have you checked SPAM / Junk folders on the server and on the clients?

    We have alerts setup for multiple scenarios.  All of our users are setup the same but not everyone is getting the alert.  We are using the spiceworks mail servers and I have checked the Spiceworks App Notifications are set to Yes.  Any ideas?  
    This topic first appeared in the Spiceworks Community

  • Iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    iphone 4: Home Button Not Working. The home button only works when it is connected to iTunes, once i disconnet it does not work, i have tried a restore to factory settings but it still is not working. Any suggestions?

    Apple, as I said, does not repair your iPhone. All hardware service issues are handled by replacing the unit. So they can't handle the home-button issue without also addressing the issue of the cracked screen, for which they'll almost certainly charge you. But you can make an appointment at an Apple Store or call Apple tech support and plead your case.
    Regards.

  • Back button only works about 50% of the time. Have to hit it twice, sometimes three times before it works. Problem is intermittent. Firefox 3.6.10 on Mac OS 10.6.4 (same on both MacBook and iMac machines).

    Back button only works about 50% of the time. Have to hit it twice, sometimes three times before it works. Problem is intermittent. Firefox 3.6.10 on Mac OS 10.6.4 (same on both MacBook and iMac machines).

    You can try http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • My home button only works occasionally. Has anyone had this problem? Solution?

    my home button only works occasionally. Has anyone had this problem? Solution?

    Fix a broken, unresponsive or sticky iPhone Home Button

  • Add Comment button only works on .mac domain

    I have a personal domain through Apple, and the add comment button only works when i go to my .mac domain. When I go through my personal domain it says error!

    Yep.
    Those needed files are not served by your iDisk. They are served using Apple servers and only work for .Mac (iDisk) accounts.

  • Hi my lock button only works sometimes on my iphone 5 , could this be because i have not updated to ios 7 yet

    hi my lock button only works sometimes on my iphone 5 , could this be because i have not updated to ios 7 yet, thanks for the help!

    No.
    You're welcome.

  • My iPad Air speakers only work on some apps??

    The speakers on my iPad Air only work on some apps??

    If you lost sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted. I think that's what you are experiencing.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the control center if you are running iOS 7. Swipe up from the bottom of the screen to get to control center . Tap on the bell icon and system sounds will return.
    If you are running iOS 5 or iOS 6, the system sound control is in the task bar at the bottom. Double tap the home button and swipe all the way to the right in the task bar to get to the speaker icon on the left side. Tap on that and the sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock can be accessed in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!

    I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!
    I have created a navigation system on the master pages and set the presentation to links only mode. I also have other links scattered throughout the program, like a linkable table of contents, etc. Some of them work, some of them don't. Not sure why. Anyone out there having similar issues? Or have any idea on how I can solve this issue? Any help would be appreciated!
    Thanks!

    Links should not create any problems in Keynote.  If they are set up correctly on text, the text will be underlined. Objects that have links will have a curved arrow bottom right, if you click the arrow a popup will display the link information.
    Try this repair for Keynote,  ensure you complete all the tasks and in the order shown:

    delete all the iWork applications if you have them, not just Keynote, using Appcleaner from Mac Update, its a freeware application

    empty the trash:  Finder > Empty Trash

    Shut down your Mac, wait 30 seconds, then power on the Mac, immediately after the start chime, hold down the Shift key
    When you see the grey Apple symbol and progress indicator (a spinning gear), release the Shift key.
    If you are prompted to log in, type your password, then hold down the Shift key again as you click Log in.
    4  
    Let the Mac fully boot up, it will take longer as the OS is repairing the drive

    when fully booted, go to Applications > Utilities > Disc Utility; click on the boot drive then First Aid tab and click  repair disc permissions

    when complete, restart the Mac normally, Apple menu > Restart

    install Keynote from the Mac App Store
    let us know if this helped

  • Password Manager only works on some websites - Chrome

    I've recently started trying to use Password Manager again, but it only works with some websites, and none of the important ones for me (where security is most important, such as banking).  On these websites I see no functionality at all: no pop-ups, no storing, no autoloading.
    Password Manager ver. 4.70 build 2.
    Chrome Extension ver. 4.60.3
    Any ideas?

    Nobody else has this problem? Pw Manager works fine with this site and many others, but is useless with major banks and other more security-sensitive sites.

  • Creative SB0410 digital out only works for dd/dts, not for stereo or web videos...

    Creative SB0410 digital out only works for dd/dts, not for stereo or web videos...
    Hi all,
    Need some suggestions here.
    I have an old Creative sb0410 7.1 channel card and after reading few long threads, I am able to output dd/dts via 3.5mm to rca connector.
    However, the problem is I only hear sound if the video has dd or dts sound. When I play normal MP3 or youtube videos, there is no sound.
    Is there a way to configure the digital out so it sends all sound to the receiver whether it's dd or dts or regular stereo?
    Thanks

    As a workaround, I used another 3.5mm stereo to RCA adapter on stereo LR output of sound card and hooked to a different input in my receiver.
    Problem, is I have to switch input in receiver for non DTS/DD sounds.
    It's disappointing that my upscaling dvd player sends all sound signals via coax but this card does not.
    Isn't it supposed to send all sound signals via coax regardless whether it is DTS/DD or normal stereo/mono etc?

Maybe you are looking for

  • Alum BT keyboard does not work after wake up - but BT trackpad does!

    Here is my set up: MBAir 2011 model (13", i7 4GB, Lion.. all up to date) Desktop set up (same at work and home) - Thunderbolt display - Aluminum Bluetooth Keyboard - Aluminum Bluetooth Trackpad What I do: - Plug in the sleeping mbair into my display

  • Can I get my iTunes account to import my old harddrives iTunes data?

    To clarify, I was stupid and didn't read iTunes has an option to very easily make it run off an external HD. I went in and sent all the music and apps to an external HD without using the consolidate option. I switched the iTunes data to the file but

  • Error when using MBeanMaker

    when invoking the MbeanMaker with the following command : java weblogic.management.commo.WebLogicMBeanMaker -MDF OMIAuthenticator.xml -Files .\ -createStubs I am getting the following exception, please let me know what is that I am missing. Parsing t

  • How Do I Configure My Workspace in DWCC To Be Like DWCS6?  File Panel Issue Here.

    I open a lot of files at one time to work on similar coding but when expanding the Files Panel, it moves left and gets into the way of the scroll bars.  I have to close Files to get access to the scroll bars.  I want the Files/Assets panels to remain

  • B2 Error:   B2B-50029:  B2B runtime error

    Hi there, I'm pretty new to the Oracle B2B world and I'm having problems making a simple sample that receives, changes some parameters in the message (using BPEL) and forwards the changed message to a designated endpoint. The message is received succ