Custom sensor configuration for sensor mapping

Hi all,
I'm developing an application that performs sensor mapping of a STL model. I analyzed Sensor Mapping Express VI, it is very useful for development of my application.
But, my application requires to change sensore position or model or other settings at run time. Hence, I need to create a custom sensor configuration editor to define sensor positions, stl file path, and so on. (See attachment)
I don't understand how can I change sensors position at run time.
Thanks all.
Attachments:
sensorMapping.png ‏14 KB

Sorry, the reply above may have been a bit vague. I am trying to say that express vis are native labview code packed with an easy to use configuration front panel. You can access the underlying code by digging a bit deeper in to it.
1. Right click on the express vi and select Open Front Panel
2. Click OK to the warning message
3. Repeat Step1 on the resulting block.
4. Use Ctrl+M to view the vi in edit mode.
Then you would have access to all the inputs, in this case its a cluster with all the information. So with some more programming, you can add the extra customisation you would like.
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community.

Similar Messages

  • SSL and custom domain configuration for cloud service

    Hi,
    I am doing custom domain mapping and SSL configuration for a cloud service web role. Another important aspect is Cloud service web role uses ADFS in between for authentication.
    I have custom domain mapped, SSL uploaded on cloud services Certificates
    tab in management portal, certificate .pfx and chaining certs .CER are added as below -
    <Certificate name="UATCert" thumbprint="A" thumbprintAlgorithm="sha1" />
    <Certificate name="Certificate1" thumbprint="B" thumbprintAlgorithm="sha1" />
    <Certificate name="Certificate2" thumbprint="C" thumbprintAlgorithm="sha1" />
    I see these certificates getting added properly to Azure cloud service web role instance VM.
    The problem is, when I access the custom domain,
    https://mysite.com/default.aspx in the browser ultimately after ADFS login I see
    https://cloudservice.cloudapp.net/default.aspx. My understanding is, cloudapp.net should not be seen in the browser to the client. Also I keep getting error of certificates stating "There is
    a problem with this website’s security certificate" when browser shows cloudapp.net url.
    How can I avoid display of cloudapp.net in browser and show only custom domain Url. Also how can I avoid this certificate error ?
    Thoughts? 
    http://sanganakauthority.blogspot.com/

    Hi kunal,
    Based what you described, I understand that you want to use the custom domain for cloud service web role and apply azure active directory authentication to the web role application.
    >>>The problem is, when I access the custom domain,
    https://mysite.com/default.aspx in the browser ultimately after ADFS login I see
    https://cloudservice.cloudapp.net/default.aspx. 
    As for above issue, I think you should make sure you have registered the web application in azure AD both "SIGN-ON URL" and "Reply URL" are
     https://mysite.com/default.aspx 
    >>>Also I keep getting error of certificates stating "There is a problem with this website’s security certificate" when browser shows cloudapp.net url.
    Try to upload a valid certificate (provided by CA) to cloud service for your custom domain.
    Best Regards,
    Fuxiang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Configuration for JMS Adapter Sensor action and JMS Queue sensor action..!!

    Hi,
    Id like my BPEL process to send an XML message to JMS on Websphere,I was able to do this through a JMS adapter.But I would more like to add sensors into my process which would really do the same thing - send an XML message to JMS Q.
    Now I understand that there are two ways to do this,JMS Queue and JMS Adapter - thorugh bpel sensor action.
    I am able to use JMS Queue and it works fine , but adds its own xml tags to the message,Is there any way I could send only my xml payload as a message to the queue??
    Also could any1 tell me what is the configuration for JMS Adapter sensor action?
    Any suggestions how do I go about it??

    Hey Anirudh,
    Thanx for the response :-)
    All these hold good when I have an AQ adaptor right,But the thing is I want to send a message to a 'JMS' queue with out actually using an adapter configuration wizard and everythng..So I resolved to JMS queue Sensor action..Heres the xml snippet from the sensorAction.xml files which is generated..
    <actions targetNamespace="http://xmlns.oracle.com/Test_JMS_Logging" xmlns="http://xmlns.oracle.com/bpel/sensor" xmlns:tns="http://xmlns.oracle.com/Test_JMS_Logging" xmlns:pc="http://xmlns.oracle.com/bpel/sensor">
    <action name="JMS_LogEntry" publishName="" publishType="JMSQueue" enabled="true" filter="" publishTarget="jms/L_Queue">
    <property name="JMSConnectionFactory">jms/L_QueueCF</property>
    <sensorName>ActivitySensor_JMS</sensorName>
    </action>
    </actions>
    This works grt and adds messages to the queue..But adds its own header info according to the sensor.xsd loacted at the Oracle_home\bpel\system\xmllib\ folder.
    Right now the XML message added to the Queue is:-
    <actionData xmlns="http://xmlns.oracle.com/bpel/sensor">
    <header>
    <sensor sensorName="ActivitySensor_JMS" classname="oracle.tip.pc.services.reports.dca.agents.BpelActivitySensorAgent" kind="activity" target="AddLEntr
    y" xmlns:pc="http://xmlns.oracle.com/bpel/sensor" xmlns:ns2="http://www.ulrhome.com/2008/10/L_Entry" xmlns:tns="http://xmlns.oracle.com/Test_JMS">
    <activityConfig evalTime="completion">
    <variable outputDataType="string" outputNamespace="http://www.w3.org/2001/XMLSchema" target="$WriteL_Produce_Message_InputVariable/L_Entry/ns2:L_Entry/ns2:LCName"/>
    </activityConfig>
    </sensor>
    <instanceId>950016</instanceId>
    <processName>Test_JMS</processName>
    <processRevision>v2009_04_15__40833</processRevision>
    <domain>default</domain>
    <timestamp>2009-04-15T11:21:23.596-04:00</timestamp>
    <midTierInstance>app01.ulrhome.com:9700</midTierInstance>
    </header>
    <payload>
    <activityData>
    <activityType>scope</activityType>
    <evalPoint>completion</evalPoint>
    <durationInSeconds>0.011</durationInSeconds>
    <duration>PT0.011S</duration>
    </activityData>
    <variableData>
    <dataType>12</dataType>
    <data>
    <ns0:LCName xmlns:ns0="LC_Test1http://www.ulrhome.com/2008/10/L_Entry">LC_Test1</ns0:LCName>
    </data>
    <queryName/>
    <target>$WriteL_Produce_Message_InputVariable/L_Entry/ns2:L_Entry/ns2:LCName</target>
    <updaterName>AddL_Entry</updaterName>
    <updaterType>scope</updaterType>
    </variableData>
    </payload>
    </actionData>
    My requirement is that I need to add a sensor to the BPEL process which posts 'Only my payload message to the JMS queue'..
    What I would want the message in the Queue to be is : -
    <data>
    <ns0:LCName xmlns:ns0="LC_Test1http://www.ulrhome.com/2008/10/L_Entry">LC_Test1</ns0:LCName>
    </data>
    Also while creating a Sensor action I get another option as JMS Adaptor,I am not sure of what value to type in this wizard..Heres what I keyed in..M sure this is not right..Cos it dosnt work :-)
    <action name="SensorAction_JMS" publishName="" publishType="JMSAdapter" enabled="true" filter="" publishTarget="jms/LoggingQueue">
    <property name="JMSConnectionName">Log</property>
    </action>
    </actions>
    Could any 1 tel me what values are the right values..And does JMS Adapter mean that I have to create a JMS Apator in the project and give that connection name as a Value..
    I am not finding sufficiant Documentation for 'JMS Adapter' so M clueless and right now any help will be appriciated :-)
    Regards,
    Akshatha.

  • Sensors - Configuring JMS queue properties at runtime through console

    Hi,
    Kindly guide me with configuring of the JMS queue name at runtime for a JMS sensor configured on an activity in Jdeveloper's BPEL process. I have created a JMS sensor but i want to change the queue name at runtime without rebuilding i.e if possible through console. Does oracle 10g SOA suite gives ant such facility where by we can configure sensor related properties from console ??
    NOTE: i m creating NON-BAM JMS and custom sensors

    Hi,
    This is not supported at the moment but planned to be added soon.
    So right now, you have to redeploy the process in case of a sensor/
    sensor action modification.
    Regards,
    Ralf

  • I need help finding a replacement hard drive/IR sensor cable for my laptop.

    I have a 17" Macbook Pro from September 2009, and the hard drive cable has ripped at the junction where the hard drive cable and the IR sensor cable meet.
    My brother needed to use my comp to try to transfer stuff from the hard drive from his broken laptop to an external hard drive, and the cable ripped the second time he was fiddling with it.
    Here are some pics:
    http://i48.tinypic.com/2qmgjgx.jpg
    http://i48.tinypic.com/2i1gq5v.jpg
    http://i49.tinypic.com/wqx838.jpg
    http://i48.tinypic.com/f03xbb.jpg
    http://i48.tinypic.com/23r0j5t.jpg
    http://i47.tinypic.com/f4r6gh.jpg
    When searching for "macbook pro unibody 2009 17" hard drive/ir sensor cable" it doesn't come up with any for the 17" but it comes up with a bunch for 13" and 15" and it seems like the 15" ones would work for my computer.
    (Like the one in the picture on this page: http://www.ifixit.com/Guide/Installing+MacBook+Pro+15-Inch+Unibody+2.53+GHz+Mid+ 2009+Hard+Drive-IR+Sensor+Cable/1520/1)
    I'm having no success finding a cable that looks just like the one in my comp that's specifically for the 17" that goes to the hard drive AND the IR sensor. For example, all I've been able to find so far are things like this:
    http://www.ifixit.com/MacBook-Parts/MacBook-Pro-17-Inch-Unibody-Hard-Drive-Cable /IF162-015
    which does not appear to be the cable I need, as it doesn't seem as though I could attach the IR sensor cable to it.
    Any and all help would be greatly appreciated.
    ~Cass
    [I don't remember the exact OS I was at, but I'm pretty sure it's 10.6.something]

    The dv7 notebook Maintenence & Service guide has the information that you need. See the illustrated parts list for the part number.
    From the manual:
    Supports the following double hard drive
    configurations:
    ● 2 TB: (1 TB, 5400 rpm, 12.5 mm × 2)
    ● 1500 GB: (750 GB, 7200 rpm, 9.5 mm × 2)
    ● 1500 GB: (750 GB, 5400 rpm, 9.5 mm × 2)
    ● 1 TB: (500 GB, 5400 rpm, 9.5 mm × 2)
    Hard drive (2, 2.5-in, SATA, does not include bracket, connector cable, Mylar shield, or screws):
      1-TB, 5400-rpm, 12.7-mm 638974-001
    750-GB, 7200-rpm, 9.5-mm 633252-001
    750-GB, 5400-rpm, 9.5-mm 634250-001
    640-GB, 5400-rpm, 9.5-mm 603785-001
    500-GB, 7200-rpm, 9.5-mm 608218-001
    500-GB, 5400-rpm, 9.5-mm 634932-001
    320-GB, 7200-rpm, 9.5-mm 634862-001
    320-GB, 5400-rpm, 9.5-mm 622643-001
    Hard Drive Hardware Kit (not illustrated, includes bracket, connector cable, Mylar
    shield, and screws)             665597-001
    You can order the parts through the HP Parts Store online. You can save quite a bit of money by ordering the identical parts from another online vendor.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?

    What is the best way to zero a 'custom voltage with excitation' sensor from the front panel?
    Thanks for any help

    Hi Donavan,
    There are two options for zeroing with the NI-9237.  You can perform offset nulling and shunt calibration with a strain task, or if you use custom excitation you can use software compensation.
    See the Bridge Balancing, Offset Nulling section in  the Load, Force, and Torque Measurements tutorial. Take a measurement before the strain is applied and subtract this from all subsequent measurements.  See the above tutorial to consider the tradeoff in accuracy between these two options.
    Hope this helps,
    Jennifer O.
    Applications Engineer
    National Instruments

  • Where can I buy a new 3.5" SATA HDD with the extra thermal sensor port for my late 2009 imac?

    where can I buy a new 3.5" SATA HDD with the extra thermal sensor port for my late 2009 imac?

    Depends on the original drive. According to OWC, at least last time I checked some months ago, any current WD drive they sell (up to 2 TB?) will be able to be swapped directly. I am unable to confirm this personally. But, even so, that was a while back. You should check with them again on this. As for Seagates, that might not be so simple.
    This is the original article on this from them.
    http://blog.macsales.com/2751-proprietary-cable-can-put-the-brakes-on-upgrading- late-09-imacs
    If you find a drive that OWC sells and is certain will swap in directly, you can see if newegg.com has it for less.
    This one that OWC sells will swap in directly, according to them.
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822236339

  • Invoice Layout configuration for a specific customer within a sales org.

    Hi,
    I have a situation where the invoice layout need to be configured for one particular customer within a sales org in a different style from rest of the customers.
    Could someone let me know how to do it please.
    Thanks.
    Best regards,
    Srikrishhna

    By u201Cinvoice layoutu201D, I assume you mean layout of the print output.  If so, then
    u2022     Set up a new output type as a copy of your standard output type.  Assign an access sequence containing customer. 
    u2022     Add the new type to your active output determination procedure and assign an appropriate requirements routine (if any). 
    u2022     Assign a layout set (smartform, sapscript, adobe, etc.) that meets your customeru2019s requirements. 
    u2022     Maintain the condition record.
    And away you go.
    Regards,
    zKen

  • Is there any alternatives to Configurator for creating custom Photoshop panels?

    I've been using Configurator for quite some time now in order to improve my workflow; having custom panels is huge to me.
    So I was surprised that Adobe decided to stop supporting flash panels, starting with version CC 2014. I want to update Photoshop to CC 2014 but am unable to do so due to my custom panels (which DOES NOT work in said version!!): I would be handicapping myself by upgrading the software.
    I've looked around for alternatives, but so far I haven't found any decent replacement to Configurator for creating HTML5-based panels. I know about PsTools but it appears to be limited to Tools only, and I need to both create a custom toolbar as well as custom panels for my most used filters and selection -actions. Also I know there's an API for creating HTML5 panels now, but I'm a 3D Artist - not a C++ programmer.
    So what exactly are the alternative here?

    I've been using Configurator for quite some time now in order to improve my workflow; having custom panels is huge to me.
    So I was surprised that Adobe decided to stop supporting flash panels, starting with version CC 2014. I want to update Photoshop to CC 2014 but am unable to do so due to my custom panels (which DOES NOT work in said version!!): I would be handicapping myself by upgrading the software.
    I've looked around for alternatives, but so far I haven't found any decent replacement to Configurator for creating HTML5-based panels. I know about PsTools but it appears to be limited to Tools only, and I need to both create a custom toolbar as well as custom panels for my most used filters and selection -actions. Also I know there's an API for creating HTML5 panels now, but I'm a 3D Artist - not a C++ programmer.
    So what exactly are the alternative here?

  • Call App, Accelerometer and Sensor Games for Asha ...

    any app which support calling feature for asha 311 and from where i can download accelerometer & sensor games for asha 311
    Moderator's note: Appropriate subject provided. 

    Check the Nokia Store for the apps you desire, by typing in the relevant search terms. if there is nothing that fits, then unfortunately there are no apps that fit your needs.

  • Looking for a Maps program for Cloud for Customer

    Hello,
    I'm looking for a maps program like Microsoft Bing Maps for SAP ByDesign that is compatible with Cloud for Customer. In the process of finding this forum, I can see Cloud for Customer and Business by Design are related but are these program compatible?
    Is there any documentation confirming these programs are compatible? A how to for matching them up?
    Is there an alternative that I could use with Cloud for Customer to achieve the same thing?  
    Thanks,
    Gabriel

    "SAP has updated to HTML5 interface and now has Google Map integration and that we now have it enabled."
    It looks like this has worked out, thanks everyone.

  • Which type of V/A sensor suitable for the use of SCC -2345?

    Which type/brand of Voltage/current sensor suitable for the connection of SCC -2345?

    Hi TARC,
    There are a lot of options for measuring voltage or current in the National Instruments SCC series.  These are listed below, with the link to NI’s website where these modules can be found.
    SCC Analog Input Modules
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/10339
    2 Channel Voltage Input Module:
    ·         SCC-AI01, 2 Channel Isolated Analog Input (42V, 10 kHz)
    ·         SCC-AI02, 2 Channel Isolated Analog Input (20V, 10 kHz)
    ·         SCC-AI03, 2 Channel Isolated Analog Input (10V, 10 kHz)
    ·         SCC-AI04, 2-Channel Isolated Analog Input (5V, 10 kHz)
    ·         SCC-AI05, 2-Channel Isolated Analog Input (1V, 10 kHz)
    ·         SCC-AI06, 2 Channel Isolated Analog Input (100 mV, 10 kHz)
    ·         SCC-AI07, 2 Channel Isolated Analog Input (50 mV, 10 kHz)
    ·         SCC-AI13, 2 Channel Isolated Analog Input (10V, 4 Hz)
    ·         SCC-AI14, 2 Channel Isolated Analog Input (5V, 4 Hz)
    2 Channel Current Input Module
    ·         SCC-CI20 2-Channel Current Input Module, 0-20 mA
    2 Channel Voltage Attenuator Module
    ·         SCC-A10 2-Channel Attenuator Input Module, 10-to-1
    These modules will work with any standard transducer.
    Hope this helps!
    Ed Waxler | Applications Engineering |  National Instruments

  • Configure virtual path mapping for forms 11.1.2

    Hi
    How to configure virtual path mapping for "Oracle Fusion Middleware Forms and reports 11gR2 (11.1.2.0.0)" on my client?
    Configuration type = development.
    In forms 10g I configure it in "orion-web.xml".
    C:\oracle\ids\j2ee\DevSuite\application-deployments\forms\formsweb\orion-web.xml
    Regards
    Tobias

    If you use the development mode install in 11.1.2 I think you cannot use the "forms.conf" approach because you don't have an OHS installed.
    We've used the approach described in the following metalink document (solution no. 1) which works with deployment as well as development installations. Tested on 11.1.1.4 and 11.1.2.
    How to Create Virtual Mappings in Forms 11g [ID 1063043.1]
    (essentially you extend the WebLogic deployment plan for the formsapp to include the additional mappings and then redeploy the formsapp in WebLogic)
    Regards
    Andreas
    Edited by: Andreas Leidner on Dec 7, 2011 1:45 PM

  • Error in configuring Custom Error Pages for Faces Portlets

    According to
    http://e-docs.bea.com/wls/docs92/schemaref/controls-netuix/http.www.bea.com.servers.netuix.xsd.controls.netuix.1.0.0/element/facescontent.html
    you can specify an errorUri attribute on the facesContent object for the error page.
    <netuix:facesContent contentUri="/testList.jsp" errorUri="/error.jsp"/>
    WebLogic Workshop even allows setting this in the tool.
    However, the errorUri never gets picked up and the following error shows up.
    <BEA-423266> <No setter for property :: errorUri.>
    Anyone faced this problem. Is there any other alternative to specify a custom error page for JSF portlets.
    Please note that the errorUri works fine for the jspContent tag used for JSP Portlets.

    Hi Sanjeev,
    You need to check if you have access to AXF_CONFIGS table. Check if you have ran GRANT_ACCESS.sql script which has below grant commands.
    grant execute any type to apps;
    grant create type to AXF;
    grant select on AXF.AXF_CONFIGS to apps;
    v_formId AXF_CONFIGS.FORMID%TYPE; means tableName.columnName%type;
    so looks like when you are running AXF_EBS_SOLUTION_DATA.sql you are not able to access AXF_CONFIGS table.
    Hope this helps.
    Regards,
    Amol Gavali.

  • How to get digital signature for Google Map geocoding V3 in PL/SQL?

    Hi, Gurus:
        Could anyone provide me an example about how to generate digital signature for Google Maps service v3 in PL/SQL? We tried to upgrade our program using Google maps service from v2 to v3. We are using PL/SQl on background to send request to Google for geocoding. We found some sample code to register with digital signature, but none of them is based on PL/SQl. Notice I used Google business client ID "gme-XXX" and wallet.
    https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures
    Google Maps API - more URL signing samples
    Here is my code for V2. I notice in order to get signature, I need to use HMAC-SHA1 algorithm.
    procedure Get_Geocoding(P_s_Address in varchar2, P_s_Geocoding out varchar2, P_n_accuracy out number, P_b_success out boolean) is
      l_address varchar2(4000);
      l_url varchar2(32000);
      l_response varchar2(3200);
      n_first_comma number;
      n_second_comma number;
      n_level_length number;
    BEGIN
      /* TODO implementation required */
      l_address:=APEX_UTIL.URL_ENCODE(P_s_Address);
      l_address := replace(l_address,' ','+');
      l_url := 'http://maps.google.com/maps/geo?q='||l_address||'&'||'output=csv'||'&'||'client=gme-XXX';
    l_response := utl_http.request(l_url, APEX_APPLICATION.G_PROXY_SERVER, '/u02/app/oracle/admin/apexsb/wallet', 'XXXXXXXX');
      n_level_length:=0;
      n_first_comma:=instr(l_response,',',1,1);
      n_second_comma:=instr(l_response,',',1,2);
      n_level_length:=n_second_comma-n_first_comma-1;
      P_n_accuracy:=0;
      if n_level_length>0 then
      P_n_accuracy:=to_number(substr(l_response,n_first_comma+1, n_level_length));
      end if;
      l_response:=substr(l_response,instr(l_response,',',1,2)+1);
      --dbms_output.put_line('In function: l_response ='||l_response);
      P_s_Geocoding:=l_response;
      if (P_s_Geocoding<>'0,0') then
      P_b_success:=true;
      --dbms_output.put_line('true');
      else
      P_b_success:=false;
      --dbms_output.put_line('false');
      end if;
    END;
    Thanks!

    Hi, guys:
        I tried to generate digital signature for Google map service
         Maps for Business: Generating Valid Signatures - YouTube
        Generating an HMAC-SHA-1 Signature Using Only PL/SQL
          OAuth and the PL/SQL | Data Warehouse in the Cloud
       but I got error message from Google:
    Unable to authenticate the request. Provided 'signature' is not valid for the provided client ID. Learn more: https://developers.google.com/maps/documentation/business/webservices/auth
       I think there is something wrong with my code to generate signature, as if I remove the part regarding client and signature, it will work, can anyone help me on this problem?
    /*Procedure Get_Geocoding is used to get geocoding with accuracy level for V3 business account, you can find Google map digital signature descrirption from
    https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures
    if geocoding is 0,0, procedure returns false to indicate failure of get geocoding*/
    procedure Get_Geocoding2(P_s_Address in varchar2, P_s_Geocoding out varchar2, P_n_accuracy out number, P_b_success out boolean) is
      --private key for Google business account, this is provided by Google with client name.
      l_private_key_src varchar2(200):='xxxxxxxxxxxxxxxxxxx';
      l_private_key_b64_alter varchar2(200):= translate(l_private_key_src,'-_','+/');
      l_private_key_bin raw(2000);
      l_client_name varchar2(100):='gme-xxx';
      l_signature_mac raw(2000);
      l_signature_b64 varchar2(200);
      l_signature_b64_alter_back varchar2(200);
      l_Google_service_domain varchar2(200):='http://maps.googleapis.com';
      l_address varchar2(4000);
      l_url varchar2(32000);
      l_path varchar2(32000);
      l_response varchar2(32000);
      l_page UTL_HTTP.HTML_PIECES;
      n_actual_length number;
      json_obj json;
      json_tempobj json;
      jl_listOfValues json_list;
      json_geom_obj json;
      json_loc json;
      l_lat  VARCHAR2(40);
      l_lng  VARCHAR2(40);
      l_status VARCHAR2(255);
      json_accuracy json;
      --temp_string varchar2(10000);
      n_first_comma number;
      n_second_comma number;
      n_level_length number;
      BEGIN
    /* TODO implementation required */
    l_private_key_bin := utl_encode.base64_decode(UTL_I18N.string_to_raw(l_private_key_b64_alter, 'AL32UTF8'));
    l_address:=APEX_UTIL.URL_ENCODE(P_s_Address);
    --dbms_output.put_line(l_address);
    l_address := replace(l_address,' ','+');
    l_path := '/maps/api/geocode/json?address='||l_address||'&'||'sensor=true';
    dbms_output.put_line(l_path);
    l_signature_mac :=DBMS_CRYPTO.mac(UTL_I18N.string_to_raw(l_path, 'AL32UTF8'), DBMS_CRYPTO.hmac_sh1,l_private_key_bin);
    l_signature_b64:= UTL_RAW.cast_to_varchar2(UTL_ENCODE.base64_encode(l_signature_mac));
    l_signature_b64_alter_back:=translate(l_signature_b64,'+/','-_');
    dbms_output.put_line(l_signature_b64_alter_back);
    --get response from Google map service
    l_url:=l_Google_service_domain||l_path||'&client='||l_client_name||'&signature='||l_signature_b64_alter_back;
    --l_url:=l_Google_service_domain||l_path;
    dbms_output.put_line(l_url);
    l_page:=utl_http.request_pieces( l_url, 99999);
    for i in 1..l_page.count loop
    l_response:=l_response||l_page(i);
    end loop;
    n_actual_length:=length(l_response);
    dbms_output.put_line(n_actual_length);
    dbms_output.put_line(l_response);
    --parse JSON result
    json_obj:=new json(l_response);
    l_status := json_ext.get_string(json_obj, 'status');
    IF l_status = 'OK' then
    jl_listOfValues := json_list(json_obj.get('results'));
    json_tempobj := json(jl_listOfValues.get(1));
    json_geom_obj := json(json_tempobj.get(3));
    json_loc := json_ext.get_json(json_geom_obj, 'location');
    l_lat := to_char(json_ext.get_number(json_loc, 'lat'));
    l_lng := to_char(json_ext.get_number(json_loc, 'lng'));
    P_s_Geocoding:=l_lat||','||l_lng;
    dbms_output.put_line('##########'||P_s_Geocoding);
    case json_ext.get_string(json_geom_obj, 'location_type')
    when 'ROOFTOP' then P_n_accuracy:=9;
    when 'RANGE_INTERPOLATED' then P_n_accuracy:=7;
    when 'GEOMETRIC_CENTER' then P_n_accuracy:=5;
    else P_n_accuracy:=3;
    end case;
    P_b_success:=true;
    else
    P_b_success:=false;
    P_n_accuracy:=0;
    P_s_Geocoding:='0,0';
    end if;
      END;

Maybe you are looking for

  • 'SAP_WAPI_CREATE_EVENT' is not creating mail

    Hello All, I am currently working on a requirement in which a mail has to be sent using workflow to the initiator when the net value of a sales item is below a certain value. I have created a standard task for sending mail and I am calling this task

  • Logic for Dynamic Actions

    Can any one tell me the logic for implementing Dynamic Actions. Regards vamsi.

  • WUC-24: Error reading URL when running WeubUtil form in Linux

    We finally managed to successfully run a form (10g R2) to read from an Excel sheet in the Linux machine. Now issue is just as the form loads we get this error WUC-24: Error reading URL http://192.168.x.xx:7778/forms/webutil/testwebutil.dllJava consol

  • Is the "deadline" variable also set when the Due transition is used ?

    Hi, I needed to understand if the 'deadline' variable is also set when the due transition is used. The reason I am asking is because of the following scenario that we saw: 1. There is a Due transition form an interactive activity to an automatic 2. T

  • QT 7.3 will not allow me to move, rename or delete QT movies

    Hello, I just recently upgraded to Windows XP Service Pack 2 and QuickTime 7.3. I can watch QT movies, but I can't move, rename or delete them. I get a message saying that the file is being used by another program or user. I have shut down all QT pro