Trasnfer function error usgin ULx library for running a DC motor

HI,
I am trying to run a DC motor using Labview's control kit. I want to add a transfer function to the system but once in the loop it gives me an error. The function has an added zero to see changes in the system. It is given by :
H(s)= (1/5s +1) / s
There is no error if the added zero is removed. I am aware that the degree of numerator cannot be greater than that of denominator but this has same degree. It works in Matlab . Labview for some reason does not accept it. Any help would be appreciated. Please do let me know if I am going wrong somewhere.
I am attaching the file and pictures of the block diagram and the error incase you cannot run the file.
Thank You,
rps
Attachments:
lab5_motor close.vi ‏48 KB
error.png ‏97 KB
blockdiagram.png ‏42 KB

Hi rps,
Are you still having trouble? Adding the zero changes the feedthrough of the Transfer Function from Indirect to Direct. Are you using the error wiring and the Merge Errors to control the execution of your program? The error handling of your program creates a cycle that requires the Transfer Function to have indirect feedthrough. This is explained in the “Wire: is a member of a cycle” Errors with the Simulation Module knowledge base article.
Changing the error handling to avoid the cycle or using a Transfer Function with Indirect Feedthrough should resolve this issue.
I hope that information is helpful!
Matt
Product Owner - NI Community
National Instruments

Similar Messages

  • Getting -90031 (can't find function) error from Mathscript node when running executable, but works when I run the pre-compiled VI

    I have set the Mathscript preferences 'Path' and 'Working Directory' parameters to the folder containing my scripts, and it works when
    I run the VI, but I get a -90031 error when I run the executable.
    What am I doing wrong?

    Hi Umars,
    I had the same problem. In my case it turned out that it was caused the surrounding code. Plus the error
    message was missleading. I got the error message -90031 (unknown symbol CalcWelchCorr2) for the
    following piece of code:
    ecorr= 1;
    if setup & src== 1
       for lag= 1:50
       rho=  CalcWelchCorr2( lag, win );
       if rho > 0.001, ecorr= [ecorr; rho]; else, break; end
    end
    CalcWelchCorr2 is a user defined function located in the MS search path. The problem was caused by the
    "break" in line 5. Actually this line was marked by some little warning symbol. Eventualle I modified the code
    to get rid of the break
    ecorr= 1;
    if setup & src== 1
       lag= 1; rho=  CalcWelchCorr2( lag, win );
       while rho > 0.001 && lag <= 50
          ecorr= [ecorr; rho];
          lag= lag+ 1; rho= CalcWelchCorr2( lag, win );
       end
    end
    and voila, the executable worked fine.
    However, I had to check all my VIs ( > 200 !) for similar errors which gave me headaches.
    Why does the application builder doesn't produce some appropriate error message ?
    E.g. "Line xxx in MathScript node in VI xxx cannot be executed"? Currently you get the
    impression that the application was build successfully but eventually you get strange errors
    or even erroneous results. Keep in mind that tracking down bugs in the final application is
    much more difficult that in LV. Also the error message produced by the executable was not
    helpfull at all.

  • I downloaded Aperture and now I'm getting a "There was an error opening the database for Library " and I can't do anything else.  How can I fix it so I am once again able to run Aperture?

    I Downloaded Aperture from the Apple Website then proceeded to download all my picture's frp, IPhoto.  The very next time I opened Aperture an error poped up stating, There was an error opening the database for Library "blank".  I can't do anything with the program but hit the cancel buttom which closes the program.  How do I fix it?

    Is "blank" the name of your Aperture Library? If not, then Aperture is pointing to the wrong Library. Hold down the option (⌥) key while you launch Aperture by clicking it in the Applications Folder. Then select the correct library and press the "choose" button.
    If that does not help, try to repair your library:
    Locate Aperture library in Finder. Holding down the keys option (⌥) +command (⌘) and double click on Aperture Library to show the First Aid dialogue:
    Then try to start Aperture again.  If that also should fail, try the other steps in Aperture 3: Troubleshooting Basics: http://support.apple.com/kb/HT3805
    Good Luck
    Léonie

  • "There was an error opening the database for the library "~/Pictures/Apert"

    Hey everyone,
    There's already another discussion thread about this at the link below, but the problem was never actually resolved. http://discussions.apple.com/thread.jspa?threadID=2343014&tstart=0&messageID=116 67261#11667261
    So I stumbled across this problem where Aperture 3 will display the following error when opening the image library.
    There was an error opening the database for the library “~[path]/Aperture Library.aplibrary”.
    One user suggested navigating to the actual library, and ⌘⌥-clicking the library to open it with the Aperture Library First Aid dialog. This however, did not work for me. I still received the error messages upon ⌘⌥-clicking the library.
    Here's a little hack I discovered for those of you still struggling. It doesn't fix the problem (leaves quite a large dent remaining actually), but hopefully someone can cultivate what little I discovered.
    ⌥-click Aperture (not the library)
    You should get to the library selection dialog box. Create a new library (bottom right corner) and remember the location of the new library. Put a few random pictures in the new one.
    Close Aperture
    ⌃-click both the old and new libraries and "Show Package Contents."
    Open the folder "Database" in both libraries.
    Cross check the folders to see if the old library is missing files that are in the new library. If your old library is missing some files (mine was), drag the missing files from the new library to the old one.
    Close both folders.
    ⌘⌥-click the old library.
    NOW, I got the Aperture Library First Aid dialog.
    Rebuild the library (3rd option)
    Wait a while.
    Aperture should open up with a folder named "Recovered Folder." Within this folder will be a SINGLE project named "Recovered Project" with ALL the images from your old library. There may be a few albums there too, but mine were all empty so it didn't matter in my case. To my knowledge, I lost all the adjustments I performed too.
    This is as far as I got. I have much of my library backed up, so I only needed to copy the most recent photos into the backup. I am NOT reorganizing and re-editing pictures in this one!
    As Aperture is a photo-organizing and photo-editing software, I understand that this by no means fixes the problem, since you lose all organization and editing. But it enables one to at least view the images lost. Hopefully a more knowledgable hacker else can figure out how to fix this completely. Unfortunately, I simply don't have the time to continue messing with this.
    Good luck to anyone else having issues! I understand the frustration you must be facing, its freaky having years worth of images simply disappear! After this incident, I'm definitely going to configure Time Machine to perform more frequent backups, since my latest backup was already a couple weeks old.

    Hey All,
    To my horror I have a similar problem and your solution didn't seem to help. To be specific, I get the error:
    "There was an error opening the database for the library “~/Pictures/Aperture Library_2.aplibrary" Everytime I try to run Aperture. This happened because my Apple computer shut off completely (due to bad battery) while importing photos from a memory card.
    I've tried "option + command" while clicking the aperture application and that gave me the same error message without any other option except to quit the program. I tried "option + command" and clicked the library package but that didn't work either. I tried creating a new aperture library, opening it which I did successfully, and then switching to my main one but that didn't work.
    Does anyone know away to get it to work again and have the edits still there?
    I'm a professional photographer and have thousands of photos or so in the library so this is distressing. The master files for the photos are located on an external hard drive, but I'm not sure how to access them in aperture. Are all the edits on the photographs are in the external hard drive or the aperture library. Is there any other way to resolve this issue without losing the edits?
    Does apple have a support number I can call? Any help would be greatly appreciated!!

  • When i try to open aperture, i get a box popup that says;  Warning-There was an error opening the database for the library "~/Pictures/Aperture Library.aplibrary".

    When i try to open aperture, i get a box popup that says; 
    Warning-There was an error opening the database for the library “~/Pictures/Aperture Library.aplibrary”.
    Can anyone help? I cannot accesss aperture. this is the 1st time this has ever happened...
    thanks,

    Try running a repair on the library. Hold the command and option keys down while starting Aperture, this will open the repair window. Select Repair Library.
    See Aperture 3: Troubleshooting Basics
    If you still have problems post back

  • Help!!! There was an error opening the database for the library "/Users/davidwindebank/Pictures/Aperture Library.aplibrary"

    There was an error opening the database for the library “/Users/davidwindebank/Pictures/Aperture Library.aplibrary”

    Tell us more please - what is your Aperture version? What version of MAcOS X?
    What happenend directly before the problem occured? Did you update software? Install new software? Import new images?
    Did you move your Aperture library? Run a cleaning app for your mac?

  • I accidentally unplugged an external drive where I keep my photos and got this: There was an error opening the database for the library "/Volumes/iTunes LaCie/Aperture Library 2.aplibrary".

    My external drive accidently unplugged and I got this message:  There was an error opening the database for the library “/Volumes/iTunes LaCie/Aperture Library 2.aplibrary”.
    Can someone help?  My external drive is called "iTunes LaCie"
    THANKS!!
    I already repaired the disk...

    Open Aperture while holding down the option and command keys and run Repair Library

  • Library Update rqstd on Aperture 3.2; now won't open get msg "error opening data base for the library "~/Pictures/Aperture Library.aplibrary"   TIme machine won't load backup "error code -8003"

    Aperture working on OS 10.6.8 then Library Update rqstd on Aperture 3.2; said yes;
    now Aperture won't open,  get msg "error opening data base for the library "~/Pictures/Aperture Library.aplibrary"  
    TIme machine won't load backup "error code -8003"
    Tried reloading Aperture 3.2 but get same result.

    You’re running an outdated copy of Safari on your Desktop. That won’t work.
    In the Finder, select
    Go ▹ Applications
    from the menu bar, or press the key combination shift-command-A to open the Applications folder. Check that the Safari application is in that folder. If it is, use it, and delete the copy on your Desktop. Never move or copy built-in applications.
    If you've deleted Safari from the Applications folder, back up all data, then reinstall OS X. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • Getting this Error: There was an error opening the database for the library

    I keep getting an error with start up (There was an error opening the database for the library). The command + option - double click does not provide options for database rebuild or repair, just the same error message.
    I have been using Aperture 3 since it was released without problems until now. The library size is about 450GB.
    Has anyone found a file or something within the library that was corrupt? Or any manual method to fix the issue?

    I have had the same problem as you have had, but I managed to restore. After having upgraded to 3.1, Aperture performed a irreversible update of the library. I then made a backup to a vault (which also was was updated). So far so good. A few days later when opening Aperture I got again the dialoge box saying Aperture had to update the library to 3.1 - and then came the error message. When trying to open the backup vault directly, I got the same message.
    What I did was opening another library (creating a new one will also do). Aperture was now in a state where it was running with a few pictures in the library. I then performed a vault restore from the 3.1 backup. Fortunately, this did the job.
    I actually taught that both the library and the vault was corrupted, and I am really happy that I managed to restore. Tomorrow I am going out to buy several new hard disks for my new multiple vault backup strategy to cope with the new threat: Aperture library self-corruption.

  • TS2518 Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the

    Help, I had aperture open and working on a image and did not have a battery in and bumped the power off. As a result it will not open my master, it is locked. when I try to open that Library  it says There was an error opening the database for the library. I have tried every thing. I updated the other libr but now it will not open the main to update. What do I do?

    Try starting Aperture with the command and option keys held down.  You'll get 3 options.
    Try each, starting at the top, in order, checking after each to see if it fixes the issue.

  • I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library "~/Pictures/Family IIi.aplibrary". Please help, thanks

    I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library “~/Pictures/Family IIi.aplibrary”. Please help, thanks

    Are all three libraries under your account or are they in different accounts? Any other errros on the system?
    Start by doing the permission repair and library repair steps in Aperture 3: Troubleshooting Basics

  • "Error determining planning periods for calendar "  when running a program

    Hi,
    When i am running a program with date range say "01/05/2011" to "30/06/2011",the program is executing successfully without any error. When i am executing the same program with date range as a) "01/05/2009" to "30/06/2011" and b)"01/05/2008" to "30/06/2011" the program is failing with error as "Error determining planning periods for calendar". Can anyone suggest me what i should do to avoid the failure of the program with above date ranges also.
    Thanks in advance,

    Dear,
    Error message 61123:"Error determining planning periods for calendar &".The PPC planning calendar specified in the material master MRP 2 view for the material is  incorrectly.
    The planning calendar periods are insufficiently maintained for the planning calendar used.
    Check the period of planning calendar in MD26 and generate the correct period.You can avoid the problem in several ways:
    Maintain the planning calendar far enough in the future (at least until beyond  the end of the planning horizon).
    Also check any demand is lies beyond the validity period of planning calendar.
    Reduction of the planning horizon of MRP also can control such issue, as MRP planning horizon lies in an area in which the planning calendar is no longer maintained
    Regards,
    R.Brahmankar

  • Getting an error while configuring VMM for System Center 2012. error - An internal error has occurred trying to contact an agent on the WIN-NTJU8CNU server: : . Ensure the agent is installed and running.

    Hi,
    I am trying to install "System Center 2012 - Virtual Machine Manager by Using a Pre-Configured VHD".
    I downloaded install guide & the binaries from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=10712
    I have followed the installation document & getting an error while configuring VMM for System Center 2012.
    error details from log file given below:
    01:12:24:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.Carmine.WSManWrappers.WSManProviderException, Exception.Message: An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
    Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
    01:12:24:StackTrace:   at Microsoft.Carmine.WSManWrappers.ErrorContextParameterHelper.ThrowTranslatedCarmineException(WsmanSoapFault fault, COMException ce)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.RetrieveUnderlyingWMIErrorAndThrow(SessionCacheElement sessionElement, COMException ce)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
       at Microsoft.Carmine.WSManWrappers.AgentManagement.AssociateLibrary(WsmanAPIWrapper wsmanObject, String CertificateSubjectName, String& ExportedCertificate, ErrorInfo& ErrorInfo)
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateAgentServer(String fullyQualifiedServerName)
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateDefaultLibraryServer()
       at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.SetupLibraryShare()
       at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
    01:12:24:InnerException.Type: System.Runtime.InteropServices.COMException, InnerException.Message: There is a time and/or date difference between the client and server.
    01:12:24:InnerException.StackTrace:   at WSManAutomation.IWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
       at Microsoft.Carmine.WSManWrappers.MyIWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
       at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
    01:12:24:ProcessInstalls: Running the PostProcessDelegate returned false.
    01:12:24:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item.  Setting rollback.
    01:12:24:SetProgressScreen: FinishMinorStep.
    01:12:24:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
    I have completed MSSQL server configuration and while configuring VMM the below error displayed in the wizard:
    An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
    Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
    I have checked that the following services are running:
    1) Verified WS-Management srvice 2) MSSQL server + MSSQL (agent)  3)SC VM Manager Agent  4)  Windows management instrumentation .
    I have joined the VM (on which installing SC VMM) in a domain(as per install guide) and installing VMM using domain account & it is in local Administrators group.
    Also I would like know if there is any stand alone SC VMM installer. If yes then please let me know the installer location & install guide.
    thanks.
    ====

    Have you installed AppController on the same machine with VMM?

  • Error message "There was an error opening the database for the library"

    I am getting the following error when I try to open my Aperture today: "There was an error opening the database for the library “/Users/xyz/Pictures/Aperture Trial Library.aplibrary”".
    I tried doing Option-Cmd while double clicking Aperture, but I can't get to the restore screen.  I also tried to use Time Machine to restore the library and am still getting the error.  Is there a different way to get to the restore screen??

    Someone posted in another thread that they needed to create a new library and import the old one in.

  • Error opening the database for the library "~/Pictures/Aperture Trial Library.aplibrary" error message

    When starting up Aperature 3 I get the following Error Message :
    "There was an error opening the database for the library “~/Pictures/Aperture Trial Library.aplibrary”.
    I can't di a thing except Quit. I have restored from Time Machine and reloaded the Software from Disk. Still get the same message. Any suggestions Are appreciated.
    Jim

    Hello Jim,
    I assume you trial Aperture Library is in your "Pictures" folder? Try to rename it to something like "OldApertureTrialLibrary.aplibrary", to force Aperture to create a new Application Library.
    To rename the old Trial Library, select it in the Finder and enter Command(⌘)-I (short for File-> Get Info). Click on the file name text field and enter a new name.
    Possibly you get this error message message, because there is some permissions problem. If you are not allowed to rename the file, click on the padlock in the lower right corner, authentificate as admin and give yourself read/write access to the trial library (in the "Sharing & Permissions" brick of the "Get Info" panel).
    Post back, if your "ApertureTrialLibrary.aplibrary" contains valuable images that you would like to save or if this does not work and you need further advice.
    Regards
    Léonie

Maybe you are looking for

  • How do I lock a PDF form field after it has been completed by a user?

    We have a problem with privacy on our downloadable Pdf Forms for customers, they are required to complete personal details within the Pdf Form Fields and then must be processed by our account team. But we would require customer completed forms to be

  • WRT54G v4 won't work in PPPoE mode...

    WRT54G v4 won't work in PPPoE mode... For the past few years, I've had my WRT54G v4 set up to run in PPPoE mode. My Siemens Speedstream 5200 is set to run in Bridge Mode. It's worked fine for a long time. If I ever ran into a problem, I could always

  • Cannot call Haiti

    I'm trying to call mobile and land lines from my phone. Some calls go through,but others give a message that says "This is not a skype number". What's the problem.

  • DBMS_STAT

    Dear All, When i should gather statistics on table or schema using DBMS_STAT Thanks Regards

  • Erased photoshop and now can't download new version

    i unistalled photoshop 6 from my computer when i renewed my subscription (i did this cause it wasn't opening) and now i can't download a new version. just lets me do "updates" help? and thanks!