About the Nonlinear System Solver

Hi, I am trying to solve a nonlinear system that is a little complicated to get the solution manually:
B*Sin(P)/(2*sin(B)*b)=0
B*Sin(W)/(2*sin(A)*b)=0
A+B+P+W-180=0
I tried to use the Nonlinear System Solver entering the formulas and
all I get is an error code -23001 (Error -23001 occurred at an
unidentified location Possible reason(s):
Analysis:  Syntax error of parser. "
I don't know what I am doing wrong, I am doing it similarly to the
attached VI, with my own equations and controls. I even tried to change
the equations so I would delete the "sin" (sine), just to make a test
(about syntax and the solver not understanding that command?), and I
got the same error.
Help is much appreciated,
Thanks

Also remember that the argument to trigonometric functions must be in radians here.
Are you sure that A and Beta are not [0<A<π/2], [0<Beta<π/2].
How about the "180" in the last formula. Shouldn't it be π instead?
Is b 83 degrees or just a constant of 82?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Distance along an ellipse arc (nD Nonlinear System Solver (VI).vi)

    I'm hoping to get some help solving an issue I've come up against. I appreciate that what I'm asking requires some of your time, so I've tried hard to do my due diligence before posting here. I'll really appreciate any help I can get. I'm using LabVIEW 2014 Professional on Windows 7.
    I've stripped away all the details of the specific application I'm working on and tried hard to isolate just the issue that is causing me difficulties.
    I've posed the problem below and I attached some investigation code (sorry, there is quite a bit) that represents my current solution (with the issue).
    Problem: Given an ellipse (with a major and a minor axis and a frame of reference), a distance to travel and any point on the ellipse, calculate the end point on the ellipse where the elliptical arc length between the two points equals the given distance to travel.
    I'll restate the problem, but with physical values. Given an ellipse, centered on the origin, with axes of 10mm and 8mm, and a starting point (5mm, 0mm); what is the end point on the ellipse after travelling 1 mm along the ellipse?
    This initially seemed like a simple calculation (and it is for a circle), but for an ellipse, the math turns out to be somewhat more complicated and requires numerical computation.
    Issue: I was given some python code that solves this problem and embarked on a LabVIEW solution. The python code uses the function optimize.fsolve from the scipy library to solve one aspect of the problem. I'm not too familiar with the LabVIEW VIs available to do the equivalent, but settled on "LabVIEW 2014\vi.lib\gmath\zero.llb\nD Nonlinear System Solver (VI).vi" (my code still has other options disabled in the code). When I use this solver VI, I do not always get the same answer from this VI. Sometimes it finds one root and sometimes two. For points separated by less than half the circumference of the ellipse, there should always be 2 roots (one in the clock-wise and one in the counter clock-wise direction). Any ideas why the solver does not always return 2 roots?
    Current Solution: My investigation VI takes two points on an ellipse (defined by a start angle and end angle) and calculates the distance between them along the ellipse. Then, I take the start point and the distance and try to calculate the end angle (which I can use to find the end point). Run once, it usually finds the right answer, but run 100 times it often returns the answer 19. I should mention that I'm not 100% positive there are no issues with the code used to support this calculation and I'm open to any suggested changes or improvements, but the issue currently causing problems is the inconsistent operation of the solver VI.
    Again, I appreciate this is long and thank you for reading this far; I hope you find this as fun a problem as I do!
    Chris
    Solved!
    Go to Solution.
    Attachments:
    NI Forums.zip ‏265 KB

    Hello Mark,
    Thanks for your reply, I was concerned that I had sent up an air ball on this one! And thank you for taking the time to review the code.
    You are correct, I am having an issue with the results of the nD Nonlinear System Solver (VI).vi. And that is a good poiint you raise, regarding the choice of the starting points. I'm not intending to use random values, I think I'm using a number very close to the start angle (in this case 20.001 degrees) as a start and 2pi (or 360 degrees) as the end. When I read the description of the start and end from the documentation:
    Start is an array describing the left corner of the n-dimension interval. The randomly chosen start points of the zero-finding algorithm can be found in the n-dimensional rectangle spanned by Start and End.
    End is an array describing the right corner of the n-dimension interval. The randomly chosen start points of the zero-finding algorithm can be found in the n-dimensional rectangle spanned by Start and End.
    I have to admit I don't *understand* what this means and I am currently guessing for the choices of start and end. I will think on this some more and review your links.
    As far as my final goal, I'm going to use this code I shared for generating an ellipitical motion profile on the PC to send to a cRIO and have executed on a FPGA.
    I'll report back after I work on this some more, but if you have some more insights, please share.
    Chris
    (BTW, I have an open support item for this #7444649 and it was suggested I also post on the forums)

  • Gripe about the points system...

    To whom it may concern,
    I have a gripe about the points system used on the forums.Let me start by saying I like the general premise the points system offers but... I have noticed that I certain cases I will receive SEVERAL equally good, helpful, and valid replies to a post. My gripe is that when it comes time to award points I see a problem. In the above scenario AT LEAST one posts MUST get solved points while the others only get helpful points. I don't like this as oft times I believe EVERY answer deserves equal points. I would like to see the system at least allow for all posters to receive helpful points. I feel that in some cases this would keep things fair. Thank you.
    Chris
    G4 466 Digital Audio 1.5 gB RAM 30 GB HD   Mac OS X (10.4.6)   Pioneer DVR-111DBK

    Thanks for the chance to vent!
    Cheers,
    Chris

  • In CIF customer exit there is no information about the logical system

    Dear All,
    we have a SAP R3 system (ver 4.7) connected to 2 SAP APO systems.
    we need to differentiate the UE code in R3 by APO TARGET SYSTEM.
    In the CIF userexit used:
    EXIT_SAPLCLOC_001
    EXIT_SAPLCSRS_003
    EXIT_SAPLPGS1_001
    EXIT_SAPLCSTK_001
    EXIT_SAPLMEAP_001
    there is no information about the logical system (source, destination
    etc.) The control parameters are not provided to the user exit.
    I found a note 1060634 where the parameter have been added to
    EXIT_SAPLCSLS_002 , but not to all other exits.... do you have any clue on how we can proceed?
    Thank you !!
    Best Regards , Barbara

    Found the answer, to bad i cannot give points to myself :-P
    In the ABAP i use the E_T_RANGE output structure.
    That structure has several fields (sign, opt, low, high).
    In my ABAP i stored the same value in the low and high field.
    This should work fine for normal (flat) characteristic values.
    However, because i use a hierachy i should enter the 0HIER_NODE value in the high field.
    For details see: SAP NOTE: 912473
    Regards

  • Doubt about the distribution system

    I have a doubt about the distribution system.
    We have made a publication and download it and have it in our iPad. The client does not want tosell or that anyone other than its 15 commercial rest her ipad. How can we host it in those 15ipads?, Do I need any of the subscription programs adobe?
    Thanks!

    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))}Matthew Laun wrote:
    Yeah... Someone did that yesterday with 70-something users all trying to get the updated folio at once, and it caused server outages. I've got a feeling we may modify the user agreement to limit this. Not saying for sure, just a word of caution.
    Matthew
    I don't understand this reply at all.  Many of us have been using acrobat.com in exactly this fashion, and I've posted about it many times; including a full review:
    http://forums.adobe.com/message/3853106#3853106
    Did Adobe not see this coming? How would you limit the download amount without gutting the functionality?  Would this apply to paid acrobat.com accounts as well?
    I'm about to upgrade my acrobat.com account this week to host more than 1 folio.  You need to clarify what you mean by 'modify the user agreement' ASAP.

  • About the sound system...

    Hello! I have a macbook pro 2009. A few days ago I accidentally spillover a very little amount of coffe on it. For this my keyboard went in to collapse, the "shift" it is glued and a lot of keys dead. I buy a external keyboard for the time being because repair a mac is expensive. I need save money first.
    My real problem is the sound system, initially later of the coffe episode, all less the keyboard are all right. yesterday I falling sleep listen music with my mac and   external speakers. In the night the machine turn off and when I wake up the sound never worked again. The mac dont recognizes or external speakers or integrated sound. My doubt is, there anything I can do for the time being for solve the sound problem. Until I have the money for to take it for service?

    Everything an experienced PC builder want to know about her Yoga 2 11

  • Technical reference about the apple system preferences files

    Hi Community,
    is there a technical reference or at least a short description about apples system preferences files in Snow Leopard available? I don't mean the structure of references files as a whole but the meaning and functionality of a specific plist.
    Thx & Bye Tom

    Dave Sawyer wrote:
    [com.apple.loginitems.plist]
    Yes this was my thought too but it didn't drop the login items after I
    threw > the loginitems.plist.
    Some apps may automatically add themselves to this list, controlled by their
    own preferences. But that is indeed the preference that controls that list.
    I'm confused because after this experience I found a lot of tutorials, documentations and forum discussions which describes the loginwindow.plist as the responsible plist for the login items. My suspicion was that the loginitems.plist rebuild process take notice about the content of loginwindow.plist, which is in the root of the matter the same as in loginitems.plist.
    But I couldn't answer this question competent and that's the reason why I'm searching for detailed informations about this "forgotten" loginitems.plist. Forgotten? Try to search for it. Its unbeleavable, 99% of the hits you get belongs to the loginwindow.plist and the description sounds very similar to the functionality of loginitems.plist. But maybe you're right and the applications try to put themselves back into the startup item list. But this doesn't answer the relation between this two plists.
    Thy & Bye Tom

  • Disappointment about the security system

    Dear Apple,
    Myself Gokulakrishnan, I am a new I Phone user, i am very very disappointment about your security system because of your siri application.
    i have this problem i need a perfect explaination about this,
    here i stated my problem,
    I use passcode lock for the security purpose, but when i try to call my friend using siri before enter the passcode. the call is activated i am really shacked, how come the calling is going? if any one use my phone like this who will bare that charges?
    i already check the options but i can find the way. please give the prapare solution or explanation.
    i am witing for your reply.
    thanks
    krishnan

    I'm not aware of any built in method to accomplish this. You'd have to come up with the custom way of doing it. You could put a web page in front of the main peoplebooks page that asks for login credentials and link that to PS somehow. Maybe use LDAP? In any case, it sounds messy and doesn't really seem like it's worth the investment. -Mike

  • What's so hard about the file system?

    I've heard that the file system is hard to understand/navigate recently. I heard Jobs mention it yesterday in the keynote.
    I just don't get it. Since OS X they've made a home folder. That's pretty simple. Is this a case of catering to people
    who are very new to computers?
    I made a folder called Art. In it are all my works in folders with appropriate names. When I save a file from Illustrator
    and put it in the art folder the next time I save it goes in that same folder unless I change the path. That's pretty
    straight forward, no?
    Thanks for any insights.

    > Is this a case of catering to people who are very new to computers?
    My guess is yes.  Apple has been getting a lot of new Mac users via the iPhone, iPad, iPod, and iPod Touch devices which do not expose the file system to the user.
    It is my guess that based on support calls, they figured if they minimize the need to understand and navigate the file system, they will have happier customers, where that is an over all average and not necessarily specific cases of experienced users.
    One area where new users get confused is where should I put something?  There are different existing folders, but they can create their own.  Should they use an existing folder, or create their own.  Documents sometimes becomes a dumping ground until it becomes difficult to find things.  Should the user create a new home level folders or subfolders in Documents?
    There are 3 Library folders (assuming you know where to look), what goes where.  home folder -> Library is not used consistently by all applications which can confuse users that figure out how to find something for application X, only to have application Y store it differently.
    Besides you cannot argue with the success of the iPhone, iPad, and iPod Touch, and Apple does look at its bottom line and everything there is telling them "Less is More".

  • Info about the callling system in RFC

    Hello ,
    Is there a way in which I can get the system info of the calling system in an RFC...
    This is scenario...
    EBP               -->  R3 in this I using a
    Call RFC destR3        Function Module
                           here I want to know the calling
                           system
                           details so that I can make a call
                           back to EBP
    Function Module <--    call function destEBP
    Any help will be appreciated.
    I have one option of storing the RFC destination of the EBP system in a bespoke table.. Is there a better solution.
    Rgds,
    Samir.

    Hi,
    If you only have to call EBP back, you could use the addition <b>CALL FUNCTION ... DESTINATION 'BACK'</b>. SAP will take care of the details itself. If you need the caller for further processing, the caller parhaps will have to be passed as a parameter.
    Regards

  • Retrieve information about the operating system

    Hi, I have an Air application and I need to retrieve
    information such as local IP address, local computer name and
    operating system user. It is possible?
    Thanks,
    Anselmo

    flash.system.Capabilities.os for operating system. IP and
    computer name I don't think you can get in ActionScript. You could
    get IP with a web service, but computer name... no idea, unless
    it's possible to find it in the file system...

  • Curious about the Solar System in Appleworks

    Hi,
    Curious how or if I can draw nine circles in appleworks to represent the solar system. When trying to do this task, I use the circle tool, but then cannot make a smaller circle fit inside to represent the planets individual orbit.
    It may be impossible, but thought I'd ask
    Here's an example;
    http://www.fourmilab.ch/cgi-bin/Solar
    Thanks,
    -s
    Message was edited by: S Crawford

    Hello
    It seems that your glasses are out of date
    Looking at the passed shot you may see that the nine circles are "empty". The grid is visible which means that we may move the circle as we want, the nine ones will remain visible.
    You just need to use the background icon and select none.
    or
    Yvan KOENIG (from FRANCE jeudi 27 mars 2008 13:18:58)

  • Hi where to specify in XI about the target system

    Hi!
    I have a j2EE application(servlet) that receives XML file from XI. Where should i specify in XI about this?
    Its urgent.
    Your help is greatly rewarded.
    Thanks

    Just curious if anyone had any resources on where to start out on this.
    We have a handheld phone system our material handlers use that is radio based.  They were working fine for a while but for some reason we are getting a ton of static over the system now.  I don't know much about radio systems but I'm always looking for something new to nerd out on and was curious if anyone had any suggestions on where to start to track down the source of this interference and figure out a way to fix it.
    Any advice is greatly appreciated
    This topic first appeared in the Spiceworks Community

  • About the /lib64 directory [SOLVED]

    I noticed recently that I have a /lib64 folder in my root directory, wich contains only two symlinks (ld-2.15.so and ld-linux-x86-64.so.2).
    More precisely, I have the following layout: (the arrows mean "points to", and I use absolute path)
    /lib64/ld-2.15.so --> /lib/ld-2.15.so
    /lib64/ld-linux-x86-64.so.2 --> /lib/ld-linux-x86-64.so.2 --> /lib/ld-2.15.so
    Is this "normal" (I run arch x86-64) ?
    I once used multilib, is it the reason why I have this /lib64 directory ?
    If so, is it safe to delete the /lib64 directory now that I don't use it anymore ?
    Thanks
    Last edited by nigreb (2012-07-25 23:56:15)

    OK thank you very much for the explanation.
    Yes, I'm updating the system right now (this is actually the reason why I was wondering about this, the glibc update was an opportunity to (try to) understand how the libraries are organized).

  • HT203167 Got a new IPAD HAVE SOME MOVIES STILL IN THE OLD PAD BUT NOT TRANSFER OVER,PLUS WOULD LIKE TO KNOWN ABOUT THE CLOUDS SYSTEM

    Hello      Question got new I     pads for xmas, down load music, some movies, but on the rental side have some thier, some are active and other in clouds would very much to finish this down load  thank you

    If they are rentals and you downloaded them directly on your old iPad then that is the only device that you can watch them on - rentals are one-time only downloads, and those that are downloaded directly on a device (as opposed to a computer's iTunes) can't be moved to another device or computer.

Maybe you are looking for

  • How to delete / cancel messages in PI adapter engine

    Hello expert, we have a scenario File (EOIO) --> PI --> ABAP. Today the file we received is big (>100mb), apparently PI can't handle it, and we got error Transmitting the message to endpoint http://host:port/sap/xi/engine?type=entry using connection

  • Expand / Collapse a View -- How can i control it

    Our component has 5 pages and each page has its set of fields and validations. (some are required fields). This works fine if all pages are Visible. But if user collapse one of the page then none of the logic written for that page gets executed, in o

  • Oracle 8.0.3 in a Netware 5.0 Server!

    We have a netware 5.0 with 30 licenses. We have Oracle 8.0.3 that it cames with novell server. First of all where can i see information about oracle to netware servers? We are trying to develop a program in VB 6 (is ready) that it comunicates with or

  • How to display the Japanese character

    Hi Im trying to display the Japanese characters in pdf report(Using iText Report). I have the method as follows which is encoding the characters in a particular format in my say, Reports.java public String stringFormat( String strData ) throws Except

  • How do i import Previos OST mailbox data

    we have moved our organization data to Exchange server. Earlier used Outlook but now if we start with Exchange then Outlook will generate PST files. But is there any possible way to access PST file mailbox info into Outlook OST file?