Fit a line into a circle based on centrepoint and angle in degrees

Hi everyone,
I want to fit a line based on two values I got , the centre (x,y) and the angle in degrees from the top of the circle, is this possible? (see the attached picture for more clarification)
Solved!
Go to Solution.
Attachments:
Fit a line.jpg ‏25 KB

♜♖ LabView 8.6 - LabView 2014 ♖♜
Attachments:
2014--12-02_radians to degree.png ‏73 KB

Similar Messages

  • Can I run two DSL lines into my airport network?

    I have a 1.5M line from Qwest and can not get faster speed from anyoe else in my semi-rural community. Can I run two 1.5 DSL lines into one or two airport extremes and get the equivalent of a 3.0 line?

    If I have two DSL lines each connected to its own Actiontec modem with each modem connected via ethernet to its own airport extreme then it sounds like I need to have two wireless networks to take advantage of the second DSL connection. Correct? We have a lot of computers being used in the household so could put the kids on their own network.
    Apparently the airport extreme can not manage a network with two internet connections even if they are connected via separate airport extremes? I have worked at companies that have done this for internet connection redundancy purposes so there must be devices that can handle this.
    Message was edited by: David in Colorado
    Message was edited by: David in Colorado

  • I have a 2011 mini that won't power up. The apple on screen comes onn then turns into a circle with a line in it. Any way to fix it?

    I have a 2011 mini that won't power up. The apple on screen comes onn then turns into a circle with a line in it. Any way to fix it? It is running Mavericks on a 1T drive.

    First thing, see if it will boot into the Recovery Partition: Hold down Command R at restart.
    If it boots up there, then it's likely that the hard drive has failed, or simply doesn't have a working system.
    If it doesn't boot up there, then it's likely to be some other part of the hardware.
    If it is the hard drive, then this can be replaced. You can find videos showing you how to do this on sites like ifixit.com.
    Then you can just restore all your data from your backup. You do have a backup, right?

  • Line through a circle symbol, can't find a way around it! Help please!

    On start up of my MDD G4 I am getting a no entry symbol, a circle with a line through it.
    To give the full background of events, 2 evenings ago the Mac froze up for no reason, at the point I think where the screensaver would’ve activated due to inactivity. There was only mail and firefox running at the time, no videos or anything – this error, or at least the freezing of the Mac (no movement even from the mouse) repeated itself later on that night and yesterday evening as well, although the next evening the Mac wasn’t on long enough for the screensaver to start up. On those occasions the Mac restarted fine. Last night however I got the circle symbol but was able to hold down option key and select my previous drive to start up with, I ran Diskwarrior and it found a few faults with my main larger drive and repaired them and the Mac restarted with the larger drive as it’s startup drive absolutely fine. I put the Mac to sleep last thing at night, however this morning it failed to wake – note that the power lights on the Mac and Apple Monitor were glowing and fading fine as they should.
    When I restarted the Mac via the power button on the Mac it started up fine, I had the Mac symbol with the spinning icon (not sure how you describe it!) as normal, however the fans then slowed down as did the hard drive noise and that’s when the circle with the line through symbol appeared.
    So far I have tried disconnecting all peripherals from the Mac, resetting the PRAM, resetting the CUDA switch on the motherboard, starting up holding X and starting up from my Diskwarrior CD – unfortunately even the startup using the Diskwarrior CD fails to bring up a desktop of any sort and instead brings up the circle with a line through it.
    Can anyone shed anymore light on potential problems or more importantly solutions as I’m tearing my hair out on this one!!
    As further info, there are 2 other additional hard drives in my G4, one of which was my main startup drive for around the last year (a 500Gb drive connected via PCI card), which has worked flawlessly until now. I have tried starting up with this drive disconnected but to no avail.
    One more piece of information which may help is that if I hold down the option key at startup the Mac does see both OSX system on my original and additional hard drives (and Diskwarrior CD if inserted) – however no matter which one I select it goes no further than the line through a circle symbol.
    Many virtual drinks for anyone who can solve this!!!!!!!

    One of the Level 4's, the Hatter (I hope he stops by personally) gave me the following insight:
    The hatter wrote:
    A really badly corrupt directory can prevent booting from any drive or media, because they all look to see what other boot volumes are out there.
    With G4/5's the best way to clear corrupt nvram was to boot into Open Firmware and reset nvram and a good idea to do when swapping drives, memory, PCI cards.
    Try booting after removing or unplugging the hard drive. May need to pull it and put in FW case to recover anything.
    So what could have happened when you crashed is that there was disk damage, probably to the disk directory. If that happened say to a single HD, then according to the Hatter, you won't be able to boot from any drive since there's a kind of checking to see what other drives are boot volumes out. That check could be failing in your case because of the directory corruption.
    You have two HDs in your MDD, so either one or both could have suffered directory corruption.
    If I understood one of your posts, you disconnected the SATA drive, and still saw problems. If so, perhaps your old HD suffered corruption.
    So you might try disconnecting the old drive -- be sure to disconnect the data cable because your Mac will can cause fits if the data cable is connected to an unpowered HD. Then try to boot from the Install CD or even Diskwarrior. I'm pretty sure you can boot from the optical drive even if there aren't any HDs.
    If you can boot from CD with no HDs, then we've got it narrowed down to directory corruption. Thereafter, you might see if you attach only the SATA if you can boot to diagnose the just that drive. If you can, that's great because it would mean your backup HD suffered the damage and not your main drive.
    As indicated by the Hatter, if you've got damage to the SATA, it may mean your best chance is to connect it externally. That way you can boot, thereafter connect and diagnose.

  • Can ARD 3 be used for users who want to remote into a windows based server?

    I have a couple users at the company I work at who will need to be able to remote into our Windows Server. These users all have Macs and will have to go about remoting in differently. I have done some research on Apple Remote Desktop but i am unsure if it fits my users needs. If I have someone download and install this software on a mac, will they then be able to remote into a windows based server using an IP address? that is my goal in mind  could get some help on this one I'd appreciate it.
    Thanks,
    - Rich

    I'm referring to what windows can do via Remote Desktop connection.
    You open up the RDC dialog box, enter an external IP address (if working remotely) or a server name if working internally and connect right to the machine. Ideally i want my users to be able to log into our terminal server and be able to use a program remotely. they will have to log on to this server with company credentials. Basically from a mac, connecting up to a Windows Server and remotely logging into it to perform tasks.
    I'm really just trying to find an easy way to do this for my user's with MAC's since it is not as straightforward as in windows. I cannot test anything out at home since i do not own a mac so i come to the community to see if you guys have had the same kind of situation before.
    ARD was the first peice of software that looked like it might fit my needs but if it doesn't is there anything out there? is it for free or for a cost? any help is greatly appreciated. Thanks.
    - Rich

  • How to Split 1 Order into Multiple Deliveries based on Partner Function ?

    Hello,
    How can I split one Sales Order into multiple deliveries, based on the partner function "managed by" ?
    The requirement is that one order will be created for different "managed by".
    If partner function "managed by" is same at line item level in order, than the items having same "managed by" can be combined in one delivery, else delivery will split and multiple deliveries will be created from 1 Order.
    Jatin Mistry

    Hi,
    You need to create a new requirement in tcode VOFM for that, together with your ABAP consultant. This requirement will be used in copy contol.
    http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
    MdZ

  • Change the colour of the outer line of a circle

    Hello everyone,
    I drew up a circle with no fill inside, to show where the location of my highway storm culvert will be.
    I changed the thickness of the outer line of my circle shape by creating a stroke effect at layer → blending options → stroke; then I changed the thickness of the line by right clicking in stroke at the layers panel and then choosing "scale effect."
    But the problem I have is that the outer line is gray, and I want it to be black.
    The outer line was originally red though so I changed my image → mode to grayscale, because I couldn't find a way to change the colour while keeping my image in RGB colour.  So I've managed to make the outer line gray by changing the image mode but I still can't change the colour of the outer line to black.
    I'm sure there must be other ways of changing the outer line colour without having to change the image mode, but I'm clueless.
    Here is my drawing:
    The text next to the circle says «Obra de desagüe». That's spanish for "drainage construction site."
    You see, I can't change the colour because I have no clue at where the "change colour option" is. I tried going to layer → layer properties, but in there there's only 7 colours to choose from. I chose a random colour, just to see what happens and what truly changed colour was the layer, within the layers panel; not the shape contained within the layer.
    So I'm lost here, any help please?
    Unfortunately I'm still not an expert in Photoshop just yet.
    Thank you for reading my post.

    Set shape layer opacity 100% Fill 0% to make fill transparent or add an empty layer make a circular selection stroke it black.

  • How to adjust splitted lines into one line in Text file?

    Hi Guys,
    I have a text file with 3 fields(comma separated): GLCode (Number), Desc1 (Char), Desc2(Char) and need to load it into BW.
    My Text file looks like:
    1011.00,"Mejor PC Infrastructure","This line is ok."
    1012.00,"Telephone Equipment $","This line ends in next line.   
    1)Need to change the equipment immediately.
    2)Take immediate action"
    1013.00,"V1 Computer Server Infrastructure # Equip","For purchases
    of components that make up the company's network, such as servers, hubs, routers etc."
    1014.00,"Flash Drive","Need to provide all IT Developer"
    This is how file looks like. Now I need the followings:
    1. Need to remove the space and need to adjust the splitted line into one. Say here
    line/record 2 is splitted into 3 lines and need to adjust in 1 line.
    2. In Line 5 (Record 3) data splitted into 2 lines and need to make 1 line.
    3. Need to remove bad characters.
    Could someone help me please how to proceed ?
    Regards,

    Not quite correct by my testing.  Try:
    $i=0
    Get-Content .\test.txt | ForEach {
    If ($i%2){
    ("$Keep $($_)").Trim()
    }Else{
    $keep=$_
    }$i++
    Good catch!
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • How can I insert a widget slideshow into a template-based page in Dreamweaver

    HI, I Have a question that has been nagging me for the last three hours.
    I have been trying to insert a slideshow into a template based document using the insert widget function in Dreamweaver CS 5.5.  The problem is that I contine to get the error that
        "This widget requires code that must be inserted into the head of the current document.  Insertion cannot happen because the head of this document is read only."
    I have tried to edit the template file in order to make the head tag into an editable region.  I have tried to resolve the problem by eliminating the
    <!-- #BeginEditable "doctitle" --> function call and instead using the <!-- InstanceBeginEditable name="head" -->
    function, but all that does is grey out all the code on the page following the this function call.  The other side effect of using this method is that the child documents do not even have a header anymore.
    I do not know if this is just a lack of understanding how this works, or if there is a bug in Dreamweaver.
    Any help in this subject wold be appreciated. 
    The original HTML for the template in question is below.
    Header 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <html>
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Priental Solar, Solar, Photovoltaik, PV Anlagen</title>
    <!-- #EndEditable -->
    <META NAME="Title" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <META NAME="Author" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Publisher" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Copyright" CONTENT="printEFFECTS  GbR 2011">
    <META NAME="Revisit" CONTENT="After 14 days">
    <META NAME="Keywords" CONTENT="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <meta name="abstract" content="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <META NAME="Description" CONTENT="Hier können Sie kostenlos ein Angebot für eine PV Anlage (Photovoltaikanlage) anfordern. Priental Solar ist Ihr Partner für Planung und Installation von Photovoltaikanlagen">
    <META NAME="Abstract" CONTENT="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <meta name="classification" content="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="audience" CONTENT=" Alle ">
    <META NAME="Robots" CONTENT="INDEX,FOLLOW">
    <META NAME="Language" CONTENT="Deutsch">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <link rel="stylesheet" href="../style.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    </head>
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div class="back">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="100%" align="center">
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="10">
              <tr>
                <td height="10"></td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="142">
              <tr>
                <td>
                  <table width="900" border="0" cellspacing="0" cellpadding="0" height="142">
                    <tr>
                      <td width="645"><a href="../index.html"><img src="../images/top-1-2_01.jpg" width="645" height="142" border="0"></a></td>
                      <td width="255" background="../images/top-1-2_02.jpg"> </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="20" bgcolor="#CCCCCC">
              <tr>
                <td bgcolor="#003366">
                  <div align="right">   <a href="../kont_schreiben.php" class="linkGrey">Kontakt</a>     <span class="linkGrey">|</span>     <a href="../anfahrt.htm" class="linkGrey">Anfahrt</a>    <span class="linkGrey">|</span>     <a href="../Impressum.htm" class="linkGrey">Impressum</a>    </div>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="3" bgcolor="#99CC33">
              <tr>
                <td bgcolor="#99CC33"> </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="450">
              <tr>
                <td valign="top">
                  <table width="900" border="0" cellspacing="0" cellpadding="3">
                    <tr>
                      <td valign="top" width="180" bgcolor="#99CCCC">
                        <table width="180" border="0" cellpadding="10">
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../index.html" class="linkmmenu2">Startseite</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Solaranlagen.htm" class="linkmmenu2">Solaranlagen</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../BHKW.htm" class="linkmmenu2">BHKW</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../heimkraftwerk.htm" class="linkGrey"><span class="linkmmenu2">Priental Heimkraftwerk</span></a></div>
                            </td>
                          </tr>
                           <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../FAQ.html" class="linkGrey"><span class="linkmmenu2">Heimkraftwerk FAQ</span></a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Brandsicherung.htm" class="linkmmenu2">Brandsicherung</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Solar-Lexikon.htm" class="linkmmenu2">Solarlexikon</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../Team.htm" class="linkmmenu2">&Uuml;ber
                                uns / Team</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../1_Referenzen4_70KwP.htm" class="linkmmenu2">Referenzen</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../newsletter_anm.php" class="linkmmenu2">Anmeldung News</a></div>
                            </td>
                          </tr>
                          <tr>
                            <td bgcolor="99CC33">
                              <div align="left"><a href="../pdf/empfehlung_heimkraftwerk.pdf" target="_new" class="linkmmenu2">Empfehlungen</a></div>
                            </td>
                          </tr>
                        </table>
                      </td>
                      <td width="20" bgcolor="#99CCCC"> </td>
                      <td valign="top" width="660" align="left" bgcolor="#FFFFFF">
                        <table width="660" border="0" cellspacing="8" cellpadding="0" height="450" bordercolor="#999933" bgcolor="#F0F8FB" align="left">
                          <tr>
                            <td align="left"><!-- #BeginEditable "content" -->{content}<!-- #EndEditable --></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="5" height="25" bgcolor="#003366">
              <tr>
                <td height="10" align="left">     <span class="txtBottomSm">BERATUNG
                  | PLANUNG | KOMPLETTSERVICE</span></td>
              </tr>
            </table>
            <table width="900" border="0" cellspacing="0" cellpadding="0" height="60" bgcolor="99CC33">
              <tr>
                <td height="10">
                  <table width="860" border="0" cellspacing="0" cellpadding="20">
                    <tr>
                      <td align="left"><!-- #BeginEditable "bottom" -->{bottom}<!-- #EndEditable --></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </div>
    </body>
    </html>

    Thanks for the response.
    Unfortunately, I have tried it, but continue to recieve the same error message.  I have double checked the syntax and positioning of the editable regions, and they match yours completely.  In the child page everything is editable.  Do you have any other suggestions for this perplexing problem?  Thanks
    Here is the syntax of the header tag from the child page showing all of the editable regions:
    Header 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    <html><!-- #BeginTemplate "/Templates/comp.dwt" --><!-- DW6 -->
    <head>
    <!-- #BeginEditable "doctitle" -->
    <title>Priental Solar, Solar, Photovoltaik, PV Anlagen</title>
    <!-- #EndEditable -->
    <!-- #BeginEditable "meta" -->
    <META NAME="Title" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <META NAME="Author" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Publisher" CONTENT="Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="Copyright" CONTENT="printEFFECTS  GbR 2011">
    <META NAME="Revisit" CONTENT="After 14 days">
    <META NAME="Keywords" CONTENT="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <meta name="abstract" content="Sonnenenergie, Solar, Photovoltaik, Photovoltaik energie, solarmodul, solarmodule, solaranlagen, solarenergie, solaranlage, pv anlage, erneuerbare energie, pv anlagen, solarenergie photovoltaik">
    <META NAME="Description" CONTENT="Hier können Sie kostenlos ein Angebot für eine PV Anlage (Photovoltaikanlage) anfordern. Priental Solar ist Ihr Partner für Planung und Installation von Photovoltaikanlagen">
    <META NAME="Abstract" CONTENT="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen</">
    <meta name="classification" content="Priental Energiesysteme & Priental Solar, Solar, Photovoltaik, PV Anlagen">
    <META NAME="audience" CONTENT=" Alle ">
    <META NAME="Robots" CONTENT="INDEX,FOLLOW">
    <META NAME="Language" CONTENT="Deutsch">
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    <!-- #EndEditable -->
    <!-- #BeginEditable "head" -->
    <link rel="stylesheet" href="style.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <!-- #EndEditable -->
    </head>

  • Insert value into a column based on value of another column

    Hi,
    I am trying to insert a value into a record based on a column in
    the record, using a trigger. The complication arises because
    the new value is selected from the same table. For example:
    SELECT COL1, COL2, COL3, COL4 from TABLE1
    I want to set COL2 and COL3 based on the value of COL4. And to
    get the value of COL2 and COL3, I will go back to TABLE1 and set
    the condition to TABLE1.COL1 = :NEW.COL4
    I cannot seem to execute the trigger as I get the message "ORA-
    04091: table SYSTEM.TABLE1 is mutating, trigger/function may not
    see it" everytime.
    Is this the correct way to achieve what I wanted? Or is there
    another way?
    Appreciate your feedback. Thank you in advance.

    Hi,
    I am trying to insert a value into a record based on a column in
    the record, using a trigger. The complication arises because
    the new value is selected from the same table. For example:
    SELECT COL1, COL2, COL3, COL4 from TABLE1
    I want to set COL2 and COL3 based on the value of COL4. And to
    get the value of COL2 and COL3, I will go back to TABLE1 and set
    the condition to TABLE1.COL1 = :NEW.COL4
    I cannot seem to execute the trigger as I get the message "ORA-
    04091: table SYSTEM.TABLE1 is mutating, trigger/function may not
    see it" everytime.
    Is this the correct way to achieve what I wanted? Or is there
    another way?
    Appreciate your feedback. Thank you in advance. I'm not sure what you mean when you insert a value into a
    record, but if you are setting a value in a column of the same
    record using a trigger, then it's easy.
    :new.COL2 := ....:new.COL4...
    :new.COL3 := ....:new.COL4...
    The trigger must be 'INSERT or UPDATE' and 'FOR EACH RECORD'.
    If you are setting a different record in the same table, the
    solution is much more difficult.

  • Split PO Line into multiple shipments

    Hi ,
    I have following situation on our PO.
    We create a PO with line info as
    ITEM DATE PRICE QTY
    ABC 1-JUN-08 100 1000
    we provide this to supplier and after their assesment after a week or so supplier gives back tentive ship date
    1-JUN-08 300
    3-JUN-08 400
    5-JUN-08 300.
    we have a requirement based on this information. We need to split the PO line automatically using this information...so above line has be to split automatically as following
    ITEM DATE PRICE QTY
    ABC 1-JUN-08 100 300
    ABC 3-JUN-08 100 400
    ABC 5-JUN-08 100 300
    can we do this using PO Open Interface?
    I have checked PO_CHANGE_API1_S. This API allows to update the existing shipment. I need to know how to add a new shipment.
    We are using R12.
    Thanks.

    shipments can be added to the pO
    suppose u have 1000 qty on th epo line
    IF u go to the shipments tab, there would be one line there with 1000 qty , ship to and bill to
    edit the 1000 quantity to 300 and move to next line, the balnce of 700 would appear automatically..
    edit the 700 to 400 and move no next line..balance of 300 would appear automatically..u can alao entre needby dates ,ship to loc and bill to loc there
    Hope that helps

  • Drop the files into different directories based on the filename

    Hi,
    I had a reqiuirement based on the file name, i should drop the files in to different directories.
    I can get the filename through variable substitution in receiver file communication channel, now i want to drop the file into different folders based on conditions.
    suppose, if the file name is DDDX234
    i should do substring of filename0+(4), if the value is L then i should drop in X directory
    suppose, if the file name is DDDY234
    i should do substring of filename0+(4), if the value is L then i should drop in Y directory.
    How can i drop the file into differnent directories based on filename.
    Thanks
    Srinivas

    Thanks Michal,
    I mapped the directory and filename to the target header in the mapping
    Filename --> UDF --> Header(target)
    and in the receiver channel checked the ASMA and given * in the filename and directory name.
    But in runtime iam getting the error as
    Attempt to process file failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
    MY UDF is
    public String Directory(String a,Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key  = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "Directory");
    String FileName = conf.get(key);
    FileName = a;
    conf.put(key, FileName);
    %%%based on filename the directory should change
    String Directory = conf.get(key1);
    Directory = "/SAPInterface/XI/PPD/DHX/out";
    conf.put(key1, Directory);
    return "";
    Help me in correcting this error.
    Thanks
    Srinivas

  • How to calculate the circumference of a circle based on the following Circle class?

    I have the following sealed Cirlce class
    public sealed class Circle
    private double radius;
    public double Calculate(Func<double, double> op)
    return op(radius);
    I need to calculate the circumference of a (an arbitrary) circle based on this class without modifying the class.  Here is what I tried that is not working:
    Circle cir = new Circle();
    double circ = 2 * Math.PI * cir.Calculate(5, 5);
    How can I calculate a circumference of a circle based on this scenario?
    Rich P

    Ok, let's clarify:
    Facts:
    1. The radius-field is private, and you can't set it via a public member like a method/property.
    2. You don't want to change the class, but the radius
    That means in other words you want to change a private field from outside of the class, which is not nice, but possible:
    Circle cir = new Circle();
    var field = cir.GetType().GetField("radius",BindingFlags.Instance|BindingFlags.NonPublic);
    field.SetValue(cir, 5);
    double circ = cir.Calculate((radius) => 2 * Math.PI * radius);
    Ha, and now, did I manage to pass the skills test question? ;-)
    Thomas Claudius Huber
    "If you can't make your app run faster, make it at least look & feel extremly fast"
    My latest Pluralsight-course:
    Windows Store Apps - Data Binding in Depth
    twitter: @thomasclaudiush
    homepage: www.thomasclaudiushuber.com
    author of: ultimate Windows Store Apps handbook |
    ultimate WPF handbook |
    ultimate Silverlight handbook

  • Inserting paragraphs into a report based on a certain condition

    Hi, I need some advice on the best method to insert paragraphs of text into a report.
    I have +/- 100 paragraphs which are in text format, I need to insert these into the report based on certain conditions.
    I have tried entering them into the trailer section one after the other and using conditional formatting to display them if the the condition is met. This works well but I ran out of space in the trailer section.
    I then thought of saving the paragraphs somewhere on the server as seperate txt files and inserting them into the report using file links,
    or I could put these paragraphs into a table and then insert them from there, some of these paragraphs are longer than 4000 characters,
    Please advise on the best method
    Thank you
    Michael

    Hi,
    If the button and the textfield are on in the same subform then this code should work in the click event of the button
    (This is JavaScript code so make sure the code is set to JavaScript and Client on the drop downs in the script window)
    (assuming the name of the textfield is TextField1)
    TextField1.rawValue = "some value";
    If they are in different subforms then you have 2 options
    Please note in both these options it is easier if the subforms have names ( I am assuming this to keep samples simple)
    option 1 -
    use the parent object to move up the tree till you are at the same level as that of the subform that contains the textfield
    e.g. 
    (Click Event of the button)
    this.parent.subformname.TextField1.rawValue = "some value";
    option 2 -
    Use the resolve node to make your way down from the top level of the form
    xfa.resolveNode ("form1.subformname.TextField1").rawValue = "some value";
    Hope this helps
    Malcolm
    p.s. I am making assumptions as the image/file you attached did not appear for me.

  • Is it possible to place a video into a circle frame for export as interactive PDF?

    I've been trying to figure out how to embed video files into a circle shape frame for export as interactive pdf. Every time I export the document as interactive PDF, the video frame reverts back to a rectangle shape. Basically what I'm attempting to do is embed a .gif like animation of a face (saved as mp4 because it's my understanding that PDF can't support gif files) in a circle frame that plays on document load when exported as interactive pdf. Any suggestions, bypasses, solutions would be much appreciated. 

    Correct! Good solution!
    But you missed a couple steps in your directions:
    (1) Make a rectangle filled with Paper color.
    (2) Make a circle filled with None (this will be the mask for the movie).
    (3) Move the circle over the rectangle. Select both and choose Object > Path > Make Compound Path. This creates a paper-color rectangle with a hole.
    (4) Position the rectangle-with-hole object over the movie to position the mask.
    (5) Use the Buttons and Forms panel to make that object into a button. Give it an action of playing the movie.
    (6) Choose File > Export > PDF (Interactive).
    It works because the button (which has interactivity) is atop another object which has interactivity (the movie).
    Brilliant!

Maybe you are looking for

  • Lenovo Yoga 2 13 WLAN Karten Kompatiblität

    Hallo zusammen, scheinbar setzt Lenovo ja unverständlicherweise Bios Whitelists ein um die Anwender bei der Wahl ihrer Komponenten einzuschränken, jetzt stellt sich natürlich einerseits die Frage wieso und andererseits welche Karten kompatibel sind.

  • Delete pictures from photo stream in aperture

    Downloaded the new Aperture that allows you to delete pictures from Photo Stream.  I deleted photos but those photos remain on my iphone.  What did I do wrong?

  • UpperCase Convert Function

    Can anybody tell me how to write a function to convert inputtextbox data information to uppercase before save to the oracle 10g database? My working environment is JSF, ADF BC. I am new to jdeveloper and this is my first project. I am not able to fin

  • How to add these symbols to Photoshop

    Hi there, I am trying to add some texts to my picture in photoshop and I would like to add symbols like the ones I attached here. Does anyone know where to find and how to add them? thanks, Rose110ca

  • What happend to the Moderator?

    I am a Jr Oracle DBA, though I have several years of SYBASE experience my knowledge of Oracle is very minimal. With the large base of excellent Oracle masters and guru's, I rather remain a junior in this field because there is a lot to learn from eve