The mathscript file won't run past a certain point in the node.

i have this plugged into my mathscript node and it won't run the output past the 2nd to last "if end" please help!!
C=WB*(FL+FR)/(RR+RL+FR+FL)
P=TW*(FL+RL)/(RR+RL+FR+FL)
W=(RR+RL+FR+FL)
if WA<0
R=C/(cos((atan((WB*tan((pi/2)-abs(WA))+.5*TW)/C))+YA))/12
end
if WA>0
R=C/(cos(-(atan((WB*tan((pi/2)-abs(WA))+.5*TW)/C))+YA))/12
end
LA=(V^2/R)/32.2
if (WA<0)
LO=PB*.008
WL=W*((P/TW)-(LA)*(CGH/TW))
WR=W-WL      
 WFL=WL*((C/WB)-(LO*CGH/(WB)))
 WRL=WL-WFL
 WFR=WR*((C/WB)-LO*CGH/(WB))
 WRR=WR-WFR
end
if (WA>0)
LO=PB*.008
WR=W*((P/TW)-(LA)*(CGH/TW))
WL=W-WR      
  WFL=WL*((C/WB)-(LO*CGH/(WB)))
 WRL=WL-WFL
 WFR=WR*((C/WB)-LO*CGH/(WB))
 WRR=WR-WFR
end
  if ((WA<0) && (YA>0))
BFRL=WRL*.8*.2
end
if ((WA<0) && (YA<0))
BFFR=WFR*.8*.3
end
if ((WA>0) && (YA<0))
BFRR=WRR*.8*.2
end
if ((WA>0) && (YA>0))
BFFL=WFL*.8*.3
end
if (BFFL>0)
M=((((WFL*.8*.3*PB)+(WRL*.6*.2*PB))*(TW-P))-(((WFR*.8*.3*PB)+(WRR*.6*.2*PB))*(P))+((WFL+WFR)*(LA*.8)*(WB-C)-(WRL+WRR)*(LA-.6)*C))/12
end
% It won't calculate M past this point It is just always zero but it will calculate M for the statement above and if i switch them around it will work for which ever is on top
if (BFFR>0)
M=(abs((((WFL*.8*.3*PB)+(WRL*.6*.2*PB))*(TW-P))-(((WFR*.8*.3*PB)+(WRR*.6*.2*PB))*(P))+((WFL+WFR)*(LA*.8)*(WB-C)-(WRL+WRR)*(LA-.6)*C)))/12
end

Hi thomasgtsr,
which are your inputs and outputs? Can you please explain a little bit more in detail what your problem is? Maybe it is possible for you to upload your vi.
Mike

Similar Messages

  • HP Envy 17 suddenly goes into hibernation, won't charge past a certain point

    Starting last week my laptop has been experience some battery issues.
    I noticed first that when it got to around 25 or 30% battery, it would suddenly go into sleep mode (at least, that's what I think it's doing. When I plug it in and turn it back on, the HP loading screen appears, but everything else returns to exactly how it was). Once back on, the battery has been reduced to 1%.
    Also, it won't charge past certain percentages, which are gretting progressively lower. At first it was 98%, then 93%, and at the moment 35%.  It will say that it is charging, however.
    When I use HP Support Assistant, my battery displays as "Okay". My friend used a program that drained my battery as fast as it could (I apologize that I can't remember what that type of program is called) and I think he said that it did it in about 25 minutes or so, which is expected of a laptop of this age (about a year and a half old).
    This question was solved.
    View Solution.

    @Fletcher089 ,
    Thank you for posting back and that was great information by the way.  From what you have shown me the battery you have did pass however it is on its way out. It has one dead cell and the other cells are working harder to provide enough punch to keep things happy. 
    You will not get a full charge on this battery at this point and it may bother your systems hibernation.
    I would look at seeing what is available for replacement or run your system without the battery and just on power until you get a new one.
    I hope this was helpful
    Thank you again for posting.
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    D5GR
    I work on behalf of HP

  • Java JDK 7 u17 won't install and Eclipse won't run past boot logo.

    Java JDK 7 u17 won't install and Eclipse won't run past boot logo. Eclipse Classic used to work fine for awhile. I haven't used it for a month or two and tried to boot it, Eclipse won't run past boot logo. It looks like JDK is not even there anymore. JDK won't install successfully. I have Mac OS X 10.8.3.
    I tried removing Java, re-download JDK multiple times.. same results.
    MyComputer-MacBook-Air:~ MyComputer$ java -version
    java version "1.7.0_17"
    Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

    Paul Adare is correct in saying that you cannot "upgrade" from 32-bit to 64-bit. You can, however, backup your files and reload them onto your PC.
    Given that you are able to boot Windows 7 after the failure to install Windows 10 Technical Preview, it is apparent that you are not formatting the drive during your clean installation. There are a number of potential issues an existing configuration can
    cause, such as preventing Windows Setup from registering boot files, modifying partitions, or moving an existing installation and data to the windows.old folder. I would recommend removing the partitions from your drive (note: this will erase any data remaining
    on the hard disk) during installation to ensure that Windows Setup has a fresh hard drive to install to. If you continue to experience errors, two other factors to take into consideration are:
    Does your system use a storage controller that requires loading a driver during Windows Setup?
    Is the hardware malfunctioning? Do the hard disk and memory pass testing software like Windows Memory Diagnostic or chkdsk?
    Reference
    this article for more information.
    Hessam
    Windows Outreach Team- IT Pro
    Windows for IT Pros on TechNet

  • Random exe-files won't run on windows. Driver related?

    Hope someone smarter than me can find an answer to this...
    I've tried running a bunch of games via bootcamp and random exe-files won't run. A couple of times the setup.exe wouldn't start and other times the installations go fine but the game itself refuses. I get a short flash of a dos prompter that disappears within the fraction of a second and then nothing happens at all.
    I get the same thing weather I run XP SP3 or Win 7 x86 and I've probably tried ten games all together.
    I'm thinking it must somehow be driver (or else way BootCamp) related since all games have been successfully run on native PCs.
    Any ideas?

    I get a short flash of a dos prompter that disappears within the fraction of a second and then nothing happens at all.
    That sounds almost like trouble with your Windows Installer.
    What versions of Windows installer are you running for each of your OSes?
    A quick way to check: bring up a Run line, type msiexec and hit the Enter key. The Windows Installer version should be at the top of the information screen that comes up.

  • Aggregator EXE files won't run

    Hi,
    I'm new to using Captivate and I recently created my first Captivate-based lesson. I have 5 discrete learning modules each with their own multiple-choice quiz, so I decided it would be best to make 5 different projects and then stitch them together using Aggregator. I want to publish both an APP file for Mac users and an EXE file for PC folks. The APP file I create in Aggregator runs just fine, but the EXE file won't run. There are no error messages, it just doesn't do anything when you try to run the file.
    Here is what I have tried (without success):
    Both XP and Win 7 (won't run on either)
    Installing newest version of Flash Player
    Running the EXE file as an Admin
    Oddly enough, if I publish each of the 5 projects as an EXE separately, they run just fine. My back-up plan is to make the PC users open each of the 5 modules separately, but I'd prefer to avoid this if I can.
    Am I doing something wrong in Aggregator? It seems pretty simple and the APP file works...
    Thanks for any help!
    Jess

    Hi Rod,
    That was a great idea. Unfortunately, none of the 5 Aggregator EXE files (each with one of the 5 projects missing from it) worked. I double-checked the 5 EXE files that I published individually directly from Captivate (without Aggregator) and all of them work just fine. It's looking like I need to go with plan B and just force my users to return repeatedly to the CD-ROM to open each subsequent module.
    I asked a friend to run the Aggregator-created APP file on his Mac and it wouldn't run for him even though it will run for me on my Mac. So I'm thinking I will need to publish each of the 5 projects as separate APP files as well and the Mac and PC folks will be in the same boat.
    Thanks,
    Jess

  • I can't change the color of an object past a certain point, it returns to original color

    Two problems/questions: Opening a file in photoshop cs4 today I noticed that all my folders were labeled as "pass through" (first time seeing this) and when I click the color icon box of an object in the layer pallete, it will not change the color past a certain point. To clarify, I have previously made an object or layer using the pen tool and filled it with a certain purple. Now I want to go back and make it a brighter purple. So I double click the color fill thumbnail in the layer and the color selection window pops up. I click the top right color of the area  (which happens to be the brightest color) and press ok, but my object stays as the original color I had made it before. What is the reason for this?
    Eric

    »Pass Through« indicates that Adjustment Layers will affect lower Layers outside the Group and that contained Layers with different Blend Modes will affect Blending with underlying Layers outside the Group accordingly.
    If you change it to Normal or any of the other Blend Modes everything contained within the Group will basically act as one flattened Layer and Adjustments only affect the Group’s pixel content.
    Could you post a screenshot of the document with the Solid Color Layer’s Color Picker and the Layers Panel visible?

  • I have an Ipod Touch that is in recovery mode right now.  I hooked it up to iTunes, and followed the steps to restore it, but it will only restore about a quarters worth of the bar.  How do I get it to load past that certain point?

    I have an Ipod Touch that is in recovery mode right now.  I hooked it up to iTunes, and followed the steps to restore it, but it will only restore about a quarter of the bar.  How do I get it to load past that certain point?

    - Reboot the computer
    - Try another USB port and cable
    - Try DFU mode and then restore
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Try on another computer
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Page numbers not appearing in PDF output past a certain point

    Hi.  I have a very large book layout in Aperture (> 300 pages) which I output to a PDF file (using the Print button followed by selecting PDF).  I have successfully done this many times in the past, but there have occasionally been times when Aperture's output just stops including page numbers past a certain point.  I think what it's doing is deciding on white page numbers for the rest of the book, which doesn't work so well when the background is white.  (I can see this because there are occasional pages which are full bleed, and the page numbers appear in white on those pages).
    Has anyone else come across this?  I have seen this problem for years (Aperture 1, Aperture 2).  The solution seems to be to carefully modify the page layout so that no elements impinge on the location of the page number.  But doing this does not always solve the problem.  Just this morning I duplicated a page, changed its content, then output and... the page numbers just stopped in the output 30 pages *after* this page.  I just changed the page to move a text element up, hoping that this would solve the problem, and now... page numbers stop at page 263 instead of page 98.
    This is a very bizarre and annoying bug.  Extremely annoying.  I am not going to print a book which has page numbers in only the first half or 3/4 of the book.  But if there is no workaround, and Apple seems not to have noticed the problem, I could be stuck.
    Has anyone else seen this?  Any suggestions?  How can I report the bug to Apple?  I can't very well give them the output as an example, as it's about 800 MB.

    Hi leonieDF.  Thanks for your reply!  I didn't know about the "Provide Aperture Feedback" link.
    Alas the Theme is a custom one, it's 9"x11.5" so that the result is 8.5x11" after chopping off 1/4" from all sides.  (The printer does "full bleed" with 1/4" margins).  I originally created it by hand for Aperture 1.5, by simply copying one of the themes and adjusting the dimensions.  (Custom themes weren't possible until Aperture 2, if I remember correctly).  Perhaps that's the source of the issue.  Though I'm not sure how...
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>pageNumberMargin</key> <string>{4.5,0.35}</string>
        <key>bottomMargin</key>     <string>0.6</string>
        <key>insideMargin</key>     <string>0.6875</string>
        <key>horizontalSpacing</key>    <string>0.05</string>
        <key>verticalSpacing</key>  <string>0.05</string>
        <key>size</key>         <string>(9.00,11.50)</string>
        <key>backSoftcover</key>
        <string>01_BackSoftcover</string>
        <key>defaultTextStyle</key>     <string>Baskerville/14/BlackBackground</string>
        <key>disableFrameScaleAndRotation</key>
        <true/>
        <key>frontSoftcover</key>
        <string>01_FrontSoftcover</string>
        <key>indexPages</key>
        <array/>
        <key>leadingPages</key>
        <array>
        </array>
        <key>repeatingPages</key>
        <array>
            <string>OnePageBleedLayout</string>
            <string>1UpLayout</string>
            <string>1Up2UpLayout</string>
            <string>2UpLayout</string>
            <string>1UpLayout</string>
            <string>OnePageBleedLayout</string>
            <string>1UpLayout</string>
            <string>1UpLayout</string>
            <string>4UpLayout</string>
            <string>5AcrossArrayLayout</string>
            <string>6AcrossArrayLayout</string>
            <string>TwoPageBleedLayout</string>
            <string>2Up1UpLayout</string>
            <string>1UpLayout</string>
        </array>
        <key>trailingPages</key>
        <array/>
        <key>type</key>
        <string>Custom</string>
        <key>version</key>
        <integer>1</integer>
    </dict>
    </plist>
    (Standard themes are in /Applications/Aperture.app/Contents/Resources/Book Themes, custom ones in ~//Library/Application Support/Aperture/Book Themes )

  • AVCHD footage, Timeline is yellow and will not render past a certain point ??

    Hello,
    I am using Cs5, and footage is from a Sony NXCAM, AVCHD, 1920x1080i.  Anyway, all the footage is the same, about 60 minutes worth.
    I have an good video card, the 3800 so I am able tyo use the Mercury engine. And I have started this project twice now from scratch, with the same results each time.
    From the onset, the clips I put on the timeline create the 'yellow' bar, even though the settings I use match my footage exactly. (Strange)
    Some of the transitions I use turn the yellow area to red, and it doesn't play back well unless I render the entire work area. All is well until about 12-15 minutes in, then when I ask the software to render the entire work area it no longer does.  It just starts playiong the timeline like it already did it.  But the small red and yellow portions are still there.
    So why it won't render betond a certain point is very puzzing!
    I took about 40 minutes of footage directly to Encore and was able to put the whole timeline, red parts and all on to a Blue Ray disc.
    I then exported the mixed colored timeline to media encoder, I wanted to create a smaller SD file for DVD and 'encoder' only encoded the green area of the timeline, about 12 minutes.
    Anyway, I cannot get the timeline to render after about 12-15 minutes of footage.  The time was slightly different on both projects.
    Any help would be appreciated!

    When Timeline will only Render a certain section, it is often that the WAB (Work Area Bar) has become set to less than the full Timeline. If that is the case, click the \ (Backslash key), and then Dbl-click the little block in the middle of the WAB to reset to the full Timeline.
    Good luck,
    Hunt

  • Recently my MacBookPro locked up on startup. Could not get past a certain point of progress bar. I had upgraded to Yosemite few weeks back, with no issues. I ended up doing a Recovery with Time Machine and I got all my apps, photos, documents, etc. back o

    Recently my MacBookPro locked up on startup. Could not get past a certain point of progress bar. I had upgraded to Yosemite few weeks back, with no issues. I ended up doing a Recovery with Time Machine and I got all my apps, photos, documents, etc. back okay --- except I got error messages that my "registration for Photoshop (I use CS4 Extended) and Photo Mechanic are no longer working".  I worked on Photoshop first, and tried (several times) to fix it with their online help suggestions.  Nothing worked.
    Is there a simpler way to "get my licenses/registrations back"???  I am also going to contact Camera Bits about the Photo Mechanic issues.   Thanks

    Same problem and for months now. I haven't been able to find a solution, but I suspect that's because I don't know exactly what's wrong.

  • Batch File Won't Run as a Scheduled Task

    I have two batch files that won't run as scheduled tasks but run perfectly fine when I double-click them.
    I've already set them to run with highest privileges, the account running them is an administrator account, that account has full permissions to the folder and file. I've checked every thread I could find but they simply won't run. No error, no log, nothing...
    If I right click the scheduled task and select Run, nothing happens.
    Any ideas?

    Hi,
    As far as I know, you have to enter the script folder in the "Start in" field. Else it just won't work - and won't really give you any meaningful error messages. So, please check your setting.
    Roger Lu
    TechNet Community Support

  • Mac executable file won't run on Mac

    I am trying to get a mac executable file to run on a mac. It has been authored in Captivate 5.0 PC version.
    I have tried to run it on a Mac book, about 5 years old and nothing opens at all and same on an old G4. I have had no other opportunity to test it on another mac.
    The the html/flash version plays ok in safari, but not .app or PDF. All files designed to run on PC run ok.
    I am a complete novice on mac's, but assume that opening the .app file like an .exe file on PC will launch the program.
    The package I have made is about 96 mb as a .app file and is about 80 odd slides long and also contains an number of flv files.
    I have been looking very hard to see if anyone else is has experienced the same or similar problem and have found nothing useful.
    I would assume it has nothing to do with flash player as everything that the program needs should be self contained in the executable.
    Thanks

    The G4 is running OS 10.2.3.
    I created a test Mac projector in Director then tested it on the same Mac and the .classic and .osx files ran ok.
    Do you think it is an issue with Captivate .app files not being compatible with early version of OS?, or something more fundamental with the .app files and the OS.
    I guess there is no realistic way to convert the Captivate .app file directory to a .osx file?, as there may well be occasions when the package will be used on older Mac OS systems.
    I will try and get it tested on a  later OS System.
    Many Thanks

  • Photoshop/Premiere Elements 10 installed but won't run past Welcome screen

    I bought and downloaded Photoshop Elements 10 and Premiere Elements 10 for Windows 7 - 64 bit on Dec.31/11.  There were no error messages in the download, although the Akamai downloader screen didn't seem to show 100% before proceeding to the next step.  Everything appeared to install correctly (it's  a long process!). 
    At first, clicking on the desktop icons or the Start Menu list would bring up the Welcome splash screen, where the broad options (Organize, Edit, New Project) were shown.  However, clicking on these options had no effect at all.  Eventually even the Welcome screen wouldn't appear. I checked the Windows task manager and no applications were running.
    I checked the shortcut properties and noticed that there was a separate executable in the target directory (eg. existing link was to "Adobe Premiere Elements 10.exe", but there was also a file called "Adobe Premiere Elements.exe"), which did run...however, I couldn't launch the Organizer from that program, and the "Home" link to the Welcome screen didn't function either.
    With thousands of these programs being downloaded, I'm surprised that this serious glitch hasn't surfaced before.  Any ideas?
    Thanks!

    There are three different programs -- Photoshop Elements (PSE) which is for editing bitmaps, Premiere Elements which is for video editing, and the PSE Organizer which is for cataloging your media.
    I don't like the sound of that Akamai downloader not registering 100%.
    Uninstall all the Adobe products, reboot, and download the installation package again.  Check the Properties on that downloaded file and "Unblock" it if Windows has flagged it as "possibley harmful and coming from another computer" before starting the installation.
    Ken

  • What did I do wrong? I used to have iTunes installed on this computer and lost it when it crashed. No I can't get past a certain point in the installation point. I keep getting an error message stating that I need to verify that I have access to this file

    Help!! What's going wrong here. I used to have iTunes installed on this computer but lost it when it crashed. I've tried re-installing it numerous times but I keep getting the same error message. "Error writing to file: C:\ProgramFiles\iTunes.Resources\es.lproj\iPadLicense.rtf. Verify that you have access to that directory." I know I have access to that directory because on a different computer I can sync my iPad and iPhone. What am I doing wrong? What do I need to go in and authorize or turn on? Any help greatly appreciated. Thank you.

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Post-Install Batch File Won't Run

    Ok here's the deal. I have created an application that needs a little "cleanup" after the installer finishes. To handle this operation, I created a batch file and told the LV installer to run it after the installation. This works fine on every computer I have tried it on ---
    Except One
    Thinking that there might be a problem related to the commands themseloves, I added echos to a log file to save any errors that might occur and to save basic information like paths. However on that ONE computer I don't get the log file even being created, which says to me that the batch is not being executed. However, If I go to the installation direcctory and run it manually, it runs, it does what it is supposed to do and it  stops.
    The computer this happens on is a corporate laptop that is configured interms of security and permissions like every other corporate laptop. 
    I am officially confused. Any ideas? WAGs? Suggestions? Recommendations? 
    Mike...

    I remember years ago when this feature first came out I tried it with a batch file and I thought it didn't work, and that it only supported running an EXE not thing else.  Since then they apparently fixed that.  So my only suggestion is maybe to try to run an EXE instead of a batch file?  Of course it sounds like it is working on other machines so I doubt that is it.
    What about UAC?  You say it is a corporate machine so I doubt you can, but maybe lower the UAC to nothing and see if it works.  Of course if it doesn't that probably isn't a good solution.
    Anti-virus running?  Some have a log of the things it blocks, and it might list the fact that it prevented a batch file from running.
    The only time I ever used this feature on an EXE I don't remember it not running on the dozen or so PCs I used it on.

Maybe you are looking for

  • Dock and finder bar problem

    A game I play used to run in full screen mode as of last night.  But when i got home tonight the game will not go into full screen.  The dock and finder bar are still in view.  Anyone know how to fix this?

  • Will not boot after disabling onboard sound

    I am trying to install an SB Audigy2 ZS sound card but each time I disable the onboard sound card, I cannot boot my system. It will not boot to CD either.  I have tried disabling with SB Audigy2 ZS card installed and without the card installed. I am

  • How can i email a document from numbers?

    Im trying to e mail a document I created in numbers, when I go to mail to pdf. doest go thru

  • Problems with MySQL in Slave mode

    Hi erverybody!!! I have a problem with my IDM and mysql. This is my envioroment: I have installed one IDM and has a Database on Mysql. I have a DRP and i have other server of IDM an his database. The databases of mysql are replicated and are configur

  • Can I convert a Flash .fla file to html in Photoshop CS6?

    My website is done in Flash and that might as well be ancient Greek in today's world. Can Photoshop CS6 do anything to/with an old Flash FLA file?