Soft-reset PXI-System

Good morning,
I try to execute a "soft-reset" on a PXI-System, but I can't found any nodes to do this.
With "soft-reset" I mean a function like the ABORT and the RUN button in a VI. More precise, if you connect to the real-time target via "debug application" you get the normal frontpanel of the VI which is actual executed. With abort/run buttons now you can "restart" this VI, so you don't need a hard reboot of the whole PXI-System which take a long time to get a "clean" system state.
Is this posible?!
Thanks a lot
Heiko

I'm wrestling with a similar problem, but I think I know how to fix it (just haven't had the time ...).
Background -- I "inherited" a LabVIEW RT program written using LabVIEW 7 (well before LabVIEW Project).  The PXI code was packaged into an LabVIEW Library (.llb) file and copied by FTP to a known location on the PXI's disk.  We used VI Server to locate the top-level VI on the PXI side and simply start it running.  At the end of the routine, we stopped the code on the PXI.  In this mode, the code was always present on the PXI, "ready to run", and we rarely had to reboot the PXI.  As a side benefit, we could have multiple PXI routines sitting on the PXI, each matched to a particular routine on the Host, with each Host routine starting (and stopping) its appropriate RT "partner".
I'm currently working on the much-revised, much-improved version of this program running on LabVIEW 2012 under LabVIEW Project.  My RT code is built as a Start-up Executable (.rtexe) and deployed to the RT Target as a Startup as part of the Build.  At the conclusion of the Host program, the RT program also exits, which (as you note) causes the PXI to reboot, meaning we cannot restart for a minute or so.  We also can't (easily) have multiple "pairs" of Host/RT routines that link themselves together at run-time (at least, not with a lot of extra work!).
I've been thinking about how to implement an "auto-restart" method for the RT code.  I don't think it would be too difficult, but have not yet tried to implement it.  My RT program consists of multiple parallel loops, with some initialization code at the beginning of the program (before the loops run) and some finalization code at the end.  The main idea is to get the program simplified to a single loop (in my case, a Queued State Machine/Message Handler) that internally starts and stops the other parallel loops (probably through a Start Asynchronous Call and a local Shared Variable "Stop Loops").  My current Exit State sets "Stop Loops" to True, breaks the connections with the Host, and exits the QSM, leading to the termination of the RT code.
One idea I'm planning to try is to add an additional State, "Restart", that is called by Exit instead of exiting the QSM.  This state would wait a few seconds (to let the other loops finish) and then perform (again) the initialization code that preceded the entrance to the QSM.  Note that this inevitably sets the initial QSM State, so on finishing the Restart State, the QSM's Initialization State should be next, "... and away we go!"
If you try this and it works, please post a followup here.  I'm anxious to try this, myself, but I've got other bugs to fix in this code before I can worry about "improving it" ...
Bob Schor

Similar Messages

  • Possible to start MXI-3/PXI system after PC booted?

    Hi,
    I'm new here, so I just asked this question in another thread through a reply. I didn't notice that it was already marked as solved, so I'm going to ask again in my own thread.
    My problem may seem very related to the one of Kobi, but there are some differences which are holding my hopes up that the problem could be solved. The system setup summarized:
    - PC (MXI-3)
      ->PXI1002 (Chassis1)
       ->PXI8335 (port1 - in)
       ->PXI8335 (port2 - out)
       ->PXI5122 (measurement)
         ->PXI1002 (Chassis2)
          ->PXI8335 (port1 - in)
          ->PXI5122 (measurement)
    The aim is, as it is easily guessed, to be able to start the additional measurement devices at any time, even while the pc is already running.
    The situation differs to Kobis' in one specific point: in my case the cards and all the equipment is at all times visible in MAX, even though I startet it after the pc booted. What does change is the pattern of the leds, and that the PXI cards don't pass the self test in MAX. The following screenshot shows the konfiguration of the system how it is observed after both ways of starting the complete system (pc first or PXI first).
    (Even though I'm using an english labview version my MAX partialy remains german, I hope this is no problem.)
    I tried to identify the PXI system and chassis, but couldn't get a different result. The NIscope VIs are orderly initialising and resetting all the sessions, but only if I switch on the PXI systems first.
    So what do you think, could it be possible to achieve the goal of making it work, or should i stick to booting the pc after switching on the PXIs? I did some research and I know, that the installation guides do specify the order of switching the devices on, but I thought that this was only meant for installation/first run.
    I would be really thankfull for any advice in this.
    Regards
    Max1744
    Solved!
    Go to Solution.

    Hi Max,
    there is no way around to first start the PXI. You always have to start the PXI System an d then the PC.
    regards
    Tobias

  • Airport Extreme Freezes After Soft Reset

    Hi Everyone,
    I'm having an issue with the 7.5.2 firmware update for my Airport Extreme. We have several devices which use DHCP reservations and after updating to 7.5.2 I went in to change some of the IPs and other settings (using AirPort Utility). After making the changes I pressed update and the Airport started the reset, but the light just stays amber and I have no connectivity. I end up having to pull the plug and do a hard reset. After a hard reset, when I check the Airport, none of my changes went into effect.
    I have tried many times with different settings and it always does the same thing whenever I try to update the changes; it hangs during the soft reset without saving any changes. When I downgrade the firmware to 7.4.2, however, everything works perfectly.
    Any help would be appreciated. Thanks!

    I too have run into the same problem as ‘controls.freq’ although sometimes the light just stays amber (like controls.freq’s documented post) and other times it stays solid green after clicking "Update." No matter, the result is the same -- I have to perform a hard reset (pull the plug) of the Airport Extreme and none of my changes have been made. I not only run into this when trying to add static DHCP addresses (like controls.freq), but also when trying to add MAC addresses to timed access control lists, or (when playing around) trying to change my wireless network name .... honestly, it probably fails for many other changes too.
    So I tried what Bob suggested -- but no luck. A lot of effort but no reward. I tried loading 7.4 firmware (tried both 7.4.2 and 7.4.1 which ran more reliably in my environment) and then doing the factory reset, then upgrading to 7.5.2 and setting everything up. But after maybe one successful save of settings, all subsequent saves failed as described earlier. Then I tried a factory reset while running 7.5.2 and ran into the same problem after maybe the first successful save.
    The only reliable workaround is to DOWNGRADE to 7.4.x, make the necessary changes, and then upgrade again to 7.5.2. I must say ... if there were some way I could get the system to stop offering new code reliably (that doesn’t even work even when I tell it I don’t want to check for updates), then I’d just stay with 7.4.1 throughout the environment with success.

  • When listening to an audio book it freezes after about 10 minutes. I have done a soft reset, I have deleted the audio book and re- installed. My music plays with no problem.

    Using my ipod nano -when listening to an audio book it freezes after about 10 minutes. I have done a soft reset, I have deleted the audio book and re- installed. My music plays with no problem.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Restore after soft reset not working

    I'm hating my 5800 more and more by the day.
    I just did a soft reset in order to overcome the 'voice system error'.
    Then I did a restore of all the contacts, calender etc.
    What did it restore?
    NOTHING!
    Now what am I supposed to do?! Thanks again nokia...... 
    Nokia might know what they're doing with traditional 'mobile phones' but when it comes to smartphones they are clueless. 

    I went into 'applications' on the phone and did an update (of about 7 things)
    I then reapplied the restore and it's "working" now i.e. the contacts are back in place but it still gets the 'voice system error'
    however the stupid POS thing has seemingly lost all of the applications I installed
    again,
    THANKS NOKIA!

  • TX Battery Drainage/Soft Resets

    After a long association with Palm handhelds I have a major problem with TX rapid battery drain every few hours, crashing, and continuous soft resets required to restart this defective product. I use no bluetooth, no wifi. Phone support denies this is a common problem, yet the help forum is full of users with similar experience. I performed a hard reset and the unit functions fine - without any of my data in it. This indicates the operating system cannot handle the software and data in common use on the device. I have used Palm VII and Palm Zire 71 with the same software setup. The TX cannot handle the same software used on my other models. The only software I added are ereader, Vindigo, and an upgrade to the calculator. I disabled all security. These problems persist. What is the best thing to do? Switch brands? Please advise. My unit is less than 6 months old.
    Post relates to: Palm TX

    The whole six month nightmare seems over. The darn thing is working like it is supposed to for five days now! I need to thank the folks who responded to me so quickly here on the forum. Thank you so much. I appreciate your intelligent feedback. The first hard info I received, no thanks to palm's non-existent invisible off-shore tech suppport team.
    BUT here's what happened: My TX is working perfectly after only doing a hard reset for two days, then syncing as usual with no fiddling with the backup file or changing software. A mystery for sure. But Saturday I synced as usual, and I just put my TX on the charger now (Wednesday) for the first time since. Before I was recharging daily. No crashes. No resets. I did two regular syncs in all. And prior, it was a marginal device to connect to the internet even from my home wireless network. Now it is hooking up much more easily and faster.
    I literally do not have a clue what happened. But this unit was not working properly for five months. Today it works as intended, and expected. The second sync was not normal. It reloaded all my books again onto my chip which my usual syncs do not do, so I may not be out of the woods yet. I'll take it day by day.  Thanks again for the input. I feel I have a plan to implement if the unit goes squirrely again.
    Post relates to: Palm TX

  • I turned off my Verizon phone in Birmingham getting on a plane to Houston. When I arrived tonite I turned it back on and it says"searching" I do not have it in airplane mode and I have done a soft reset. Any other suggestions. This is a new iPhone 5

    turned off my Verizon phone in Birmingham getting on a plane to Houston. When I arrived tonite I turned it back on and it says"searching" I do not have it in airplane mode and I have done a soft reset. Any other suggestions. This is a new iPhone 5

    In settings>general>restrictions>location services>system services do you have cell network search set to off? If so turn it on and it may help to find a signal faster.

  • Installed the update tonight and now my phone (Lumia 928) won't power up.  I've tried a soft reset, but the screen goes from the Nokia logo to a red Verizon screen to a black screen.  What's wrong and how do I fix it?  Help!

    Installed the update tonight and now my phone (Lumia 928) won't power up.  I've tried a soft reset, but the screen goes from the Nokia logo to a red Verizon screen to a black screen.  Tried it 10 times with the same result.  What's wrong and how do I fix it?  Help!

        Oh no Mr.Ected!
    I can see if we can get your phone back on! I understand how important it is to have a phone. Have you tried this to see if we can get it back on? http://vz.to/1DZhteH . If it is still goes to a red Verizon screen and then to black we might need to do a master reset. While the phone is off try this:http://vz.to/1DZhXkU Be mindful this is the last resort because it will erase everything on the phone. If you have done back up assistant in the past you will be able to get you contacts back. Please let me know if you need any more help.
    AmberF_VZW
    Follow us on Twitter @VZWSupport

  • When I try to log on to icloud it says "Apple ID is valid but not an icloud account? Changed my Apple password a few times reset my system still no luck Please help!t

    When I try to log on to icloud it says "Apple ID is valid but not an icloud account? Changed my Apple password a few times reset my system still no luck Please help!t

    Welcome to the Apple community.
    These types of messages often indicate a problem with the devices serial number, have you had your phone repaired at any stage or did you buy it second-hand.

  • In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    In my Macbook Pro, on a few occassions, the apple menu bar blacks out. its displayed as a negative image. The desktop wallpaper get greyed out and i get a blank screen as wallpaper. No idea why this happens. I reset the system and issue gets resolved.

    AshwinVC wrote:
    I reset the system and issue gets resolved.
    How? 

  • How to connect a Compact RIO to a PXI System

    Hello,
    I want to connect my cRIO-9074 with my PXI System.
    First of all my Hardware configuration:
    1. "PXI-1036" Chassis with "PXI-8101" Embedded Controller and "PXI-8231" Ethernet
    2. "cRIO 9074" Integrated 400 MHz Realt-Time Controller
    3. "NI 9144" EtherCAT slave chassis
    The PXI System is connected with my Network through the Ethernet-Port on the "PXI-8101" Controller. The "NI 9144" is connected with the "cRIO 9074" through their EtherCAT Ports. That works without a problem.
    Now I want to connect my "cRIO-9074" with my PXI-System through the Ethernet Port on the "PXI-8321", but I can't find a way to get this work.
    In MAX I configured the second Ethernet Port on the PXI as "TCP/IP" with a IP and Subnet. Then I connected the cRIO and turned it on.
    But I can't find the cRIO anywhere in MAX or in a LabView Realtime Project.
    When I configure the "PXI-8321" as a EtherCAT Port, I can connect my "NI 9144" with it and use it in a LabView Project. But configured as Ethernet and connected with the "cRIO 9074" it doesn't works.
    Is there any way to get this working? Or is this not possible with my Hardware?
    I know I could connect the cRIO and PXI through a Switch with my Network and then use both in a LabView Real-Time Project. But I want to build a mobile Measurement-Station with as few devices as possible. If there is no other way I will use a Switch, but without would be better.
    Thankful
    Daniel Löffler

    Hi Daniel,
    it is not possible to connect cRIO-9074 Controller with the PXI System through the Ethernet-Port, because the RT cRIO Controller can not behave as a slave. cRIO Controller is always configured as a master, never as slave. The extension Chassis 9144 is configured as a slave, so you can use it with your cRIO Ctrl or with PXI Ctrl as well. Connection PXI-Ctrl, cRIO-Ctrl, NI 9144 is not possible.
    Best regards,
    ENIA
    NI Germany

  • I have this problem as well. The screen is black . i can.t get it to respond.Power   home soft reset didnt work. Itunes could detect any sync apps. I used my home phone to call my iphone and on my home phone i can hear the calling tone.But my iphone didn'

    The screen is black . i can.t get it to  respond.Power + home soft reset didnt work. Itunes could detect any sync  apps. I used my home phone to call my iphone and on my home phone i can  hear the calling tone.But my iphone didn't ring/screen did not light  up. Its a iphone 4. Any ideas how to fix this?

    If the basics (restart, reset, restore from backup, restore as new) don't work, you'll need to bring the phone to Apple for evaluation

  • I've recently updated my podcasts but now it kicks me out after 15 seconds no matter what. I have tried reinstalling and a soft reset but still happening. Any ideas please?

    No matter what. I have reinstalled it and done a soft reset but still happening. Any ideas.

    KaiserJDV wrote:
    Have been looking forward of owning a Macbook Pro since our family is a Windows user but if this persists, I might throw it away.
    Take it back and and exchange it for one that works. 14 day return policy.

  • I tried to soft reset my ipod touch with the top button and the screen button.  it turned off and went to the blue screen with the apple.  now it won't do anything-it has stayed on that scren for 4 hours now.  does anyone know how i can fix this?

    i tried to soft reset my ipod touch with the top button and the screen button.  it turned off and then went to the blue screen with the apple like it should.  however, it now just stays on that screen.  it has a sort of clock looking thing at the bottom of the apple that does not move either.  it has stayed on this screen for over 4 hours.  i also can not hard reset it in itunes.  i am not really goood at this sort of thing.  does anyone have this problem or a possible solution?  thanks

    See Here for
    Frozen or unresponsive iPod touch
    The Basic Troubleshooting Steps are:
    Restart..  Reset..  Restore...
    Try this First... You will Not Lose Any Data...
    Turn the iPod Off... ( if it isn’t already )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear and then Disappear...
    Usually takes about 15 - 20 Seconds... (But can take Longer...)
    Release the Buttons...
    Turn the iPod On...
    If that does not help... See Here:
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • My original Apple ID is associated with an email address that I no longer have access to. How do I reset the system to recognize my new email address as my primary point of contact and erase the other one?

    My original Apple ID is associated with an email address that I no longer have access to. How do I reset the system to recognize my new email address as my primary point of contact and erase the other one?

    If when you go to icloud.com and sign in with your current iCloud ID you see all your iCloud data there, you can safely sign out of the iCloud account on your Mac and choose Delete at all the prompts, then sign back in with the current ID.  This only deletes the data from your Mac, not from iCloud.  Your iCloud data will reappear on your Mac when you sign back in after a brief delay as it redownloads.  If you have automatically imported your photo stream photos to your iPhoto library you won't lose them either (if you haven't, save them to your library first).
    Again, only do this if when you go to icloud.com with your current ID you see your iCloud data there.

Maybe you are looking for

  • How do I find duplicate lines in Oracle Spatial?

    Hi, I am looking at all of the Oracle locator/spatial functions and I am wondering how to I find if two lines, or two polygons are the same? That is a user has partially loaded more lines into the database and the data had previously been loaded. I d

  • SEM 4.0 - BPS Planning Function - Currency Translation (Account Based) !

    Hi, Currently we are migrating from SEM 3.1 to SEM 4.0  and we are using Currency Translation (Account Based)and would like to use the same functionality, but for some reason the CT functionality is not working properly.  It is throwing garbage numbe

  • Linksys EA3500 cannot find username and password

    I have tried everything for hours today and nothing works. I have tried the admin and blank approach, I have tried using my router name and password when you 1st connect and got nothing.I have held the reset button for a minute straight to try and re

  • Configuration to "Always ask" fails when downloading MP3 files.

    Why doesn't the configuration to "Always ask" prevent the automatic playing of a downloaded MP3 file? In Firefox 3.6.8 "Options" window, "Applications" tab, for "Content Type" "MP3 file (application/itunes)" and "MP3 file (audio/mpeg)," the selected

  • Home Share Issue

    I set up homeshare successfully and had no problems with authorizing any computer within my network. However now that I can access my computers via homeshare I am not able to import songs onto my other computers. Anyone know how to fix this or is any