Characters in String : Unicode 16-bit to custom 32-bit

I understand that internally in Java, characters in Strings are actually Unicode characters, with each character represented with 16 bits.
So, character �L� in Unicode is 0x004C
which is also 0000 0000 0100 1100
Now, I wish to encode each of the 4 bits above into individual ASCII characters:
= 0 0 4 C
= 0x30 0x30 0x34 0x43
= 00110000 00110000 00110100 01000011
So, from the original 16-bit character in Java, I want a final 32-bit.
Eventually, I�ll need to send the final result over the network, via OutputStream/writer and socket.
Can someone help me on this ? Or give me some ideas... Thanks.

trick: prepend the number with 1 and use substring... like int charWith1 = c + 0x10000. That'll make charWith1 to be of the format 0x1XXXX. Then call hexstring on that, you get a string like "1XXXX." Then you can drop the 1 with a call to substring.
of course there are methods that use only bit operations and additions to do it, making it a bit faster.. like this:
byte byte0 = (byte) ((c & 0x000F) + '0');
byte byte1 = (byte) (((c & 0x00F0) >> 4) + '0');
...

Similar Messages

  • How to store text in AD attributes of type String(Unicode)

    In our company, we store the name of the building in which an employee works in one of the ActiveDirectory attributes named extensionAttribute# where # represents a number form 1-15.  I want to be able to store the names of buildings in the AD
    attribute named "buildingName". According to the
    buildingName attribute in the MSDN library, the syntax is "String(Unicode)".
    When I try something that seems simple to write some text into this attribute such as
    Set-QADUser jdoe -ObjectAttributes @{buildingName="My Building Name"}
    I get an error that says "Set-QADUser : The requested operation did not satisfy one or more constraints associated with the class of the object."
    I have been searching forums and code libraries for a solution to this issue, but I do not understand why I can't store string data into this attribute. I did try the following code snippets to try to convert the string to Unicode (and UTF-8) before I wrote
    to the buildingNameAttribute, but I still get the same error.
    $text = "My Building Name"
    $enc = [System.Text.Encoding]::Unicode
    # $enc = [System.Text.Encoding]::UTF8
    $encText = $enc.GetBytes($text)
    $encText
    Set-QADUser jdoe -ObjectAttributes @{buildingName=$encText}
    Has anyone else had this issue or know how to overcome it? I can, of course, continue to use the extensionAttribute in which I currently have the data stored, but I really want to free it up and use the "buildingName" attribute.
    Gardner Rowe Systems Analyst III UT MD Anderson Cancer Center - Making Cancer History

    From your link:
    buildingName attribute
    The name of the building where an organization or organizational unit is based.
    IOW, it is an attribute of organization or organizational unit class of object not a user object, so you can't set it for a user.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Removing non-numeric characters from string

    Hi there,
    I need to have the ability to remove non-numeric characters from a string and I do not know how to do this.
    Does any one know a way?
    Example:
    Present String: (02)-2345-4607
    Required String: 0223454607
    Thanks in advance

    Dear NickM
    Try this this will work...........
    create or replace function char2num(mstring in varchar2) return integer
    is
    -- Function to remove Special characters and alphebets from phone no. string field
    -- Author - Valid Bharde.(India-Mumbai)
    -- Date :- 20 Sept 2006.
    -- This Function will return numeric representation.
    -- The Folowing program is gifted to NickM with respect to his post on oracle site regarding Removing non-numeric characters from string on the said date
    mstatus number :=0;
    mnum number:=0;
    mrefstring varchar2(50);
    begin
    mnum := length(mstring);
    for x in 1..mnum loop
    if (ASCII(substr(upper(mstring),x,1)) >= 48 and ASCII(substr(upper(mstring),x,1)) <= 57) then
    mrefstring := mrefstring || substr(mstring,x,1);
    end if;
    end loop;
    return mrefstring;
    end;
    copy the above program and use it at function for example
    SQL> select char2num('(022)-453452781') from dual;
    CHAR2NUM('(022)-453452781')
    22453452781
    Chao!!!

  • Number of repeated characters in string array

    Hi,
    I m trying to get number of repeated characters in string array. I couldnt figure out where am i doing mistake.
    thank you,
    For example: count({"alpha, beta,"}, 'a')
    a is repeated 3
    l is repeated 1 etc.
    public class Test
    public static int count(String[] stringArray, char c)
    public String [] str = new String [2];
    int count = 0;
    str[0]
    str[1]
    for(int i = 0; i<str.length(); i++)
    if (str.charAt(i)
    count++;
    return count;

    There is a difference between a String and a String [].
    A String [] is an array of String class objects:/*  Traverse_Array_Of_Strings_1.java */
    public class Traverse_Array_Of_Strings_1
      public static void main(String [] argv)
        /* here is an array of Strings */
        String [] s = { "hello", "how", "are", "you" };
        int i, j;
        System.out.println("s.length = "+ s.length );
        for (i= 0; i < s.length; i++)
          System.out.println("s= <"+ s[i] +">");
          for (j= 0; j < s.length(); j++)
    System.out.print(s[i].charAt(j) +", ");
    System.out.println("\n-----");
    }output:java> javac Traverse_Array_Of_Strings_1.java
    java> java Traverse_Array_Of_Strings_1
    s.length = 4
    s= <hello>
    h, e, l, l, o,
    s= <how>
    h, o, w,
    s= <are>
    a, r, e,
    s= <you>
    y, o, u,
    Edited by: vim_no1 on Jul 15, 2010 7:43 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Replace special characters in String

    Dear Guru ,
    Does SAP provide the standard function that can replace the special characters in String ?
    For example :
    I have one template string : " & & & & & output(s) have not been processed yet ! " and five parameters : "P1" , "P2" , "P3" , "P4" , "P5" .
    And i would like to apply all parameters into the string to replace the "&" character . Is it possibile ?
    My idea is sourcing from the Message String that in tcode : SE91 .
    Thanks .
    Best Regards,
    Carlos Zhang

    Hi Carlos,
    I think instead of a standard FM you can write a one line command to do this job.
    E.g. 
    constant: str1 type string value 'output(s) have not been processed yet ! '.
    data: var1 type c,
             var2 type c,
             var3 type c,
             var4 type c,
             str    type string.
    concatenate var1 var2 var3 var4 str1 into str separated by space.
    So str will have the final value.
    Thanks,
    Mainak

  • Flash Player 11.2.202.235, IE9 64-bit, Windows 7 64-bit, HP laptop - objects do not display-seevideo

    Flash Player 11.2.202.235, Internet Explorer 9 64-bit, Windows 7 64-bit, HP laptop - Flash objects do not display properly in browser; right-click Settings window does not display properly either; i have to scroll down and back up to see parts of the Flash object but it disappears anyway when i mouse over.
    I took video of the issue and have now linked to it.  In the video, I show two browser tabs - one from this site and one from a Bank of America (BoA) site with a flash object.  You can see how the BoA flash object disappears when I make that tab active.
    Please help!
    Link to video:
    http://www.youtube.com/watch?v=PCLJcxmzPkI&feature=youtu.be
    Message was edited by: Jleon21612012

    Thanks for the reply and the link.  The driver update did not work because it says I have the latest one installed - even though the driver date is 10/8/2009.  It's the Intel(R) Graphics Media Accelerator HD, version 8.15.10.1968.
    Can you believe that...the latest is from 2009?!  I tried to install an updated version anyway - first by going to the Intel site.  I found a driver update from Jan 2012 that matches my system, but the install aborts with the error message "A customized computer manufacturer driver is installed on your computer. The Intel Driver Update Utility is not able to update the driver."
    So, I searched through the HP support site and finally found a link to my computer:
    http://h10025.www1.hp.com/ewfrf/wc/product?product=4121236&lc=en&cc=us&dlc=en&task=&lang=e n&cc=us
    And I downloaded and installed the "same" driver anyway:
    Intel Graphics Media Accelerator HD Driver ►
    2009-12-04 , Version:8.15.10.1968 B, 29.91M
    This package contains the driver for the Intel Graphics Media Accelerator HD in the supported notebook/laptop models.
    But it does not correct the problem.
    Maybe this problem is because of an old graphics driver - but this is apparently a dead end for me.
    Is there any possibility it is caused by something else?

  • MySQL 5.0.77 (64 bit) and unixODBC 2.2.11 (32-bit) on Linux 64-bit

    Hello All,
    Is MySQL 5.0.77 (64 bit) compatible with unixODBC 2.2 (32-bit) on Linux 64-bit server ?
    I am facing problem of inconsistent connection to MySQL through the unixODBC driver manager.
    I am also using mysql-connector-odbc 3.51.27 which is also 32-bit....
    Any help is appreciated...
    Bhushan

    <div class="DownloadDate">"Release date : 3 Jul 09<div class="DownloadShortDesc">This?download is a?driver providing Microsoft? Windows?7, Windows Vista? and Windows XP support for Creative Sound Blaster? Audigy? series of audio devices. For more details, read the rest of this web release note."?
    Right where do I start...... I got the latest drivers installed, "What You Hear" was working for about oh four recordings then stopped and back to choppy recorded sound, I went through alll options and nada. So I downloaded Audacity to see if this was a problem with Wavelab and re-tried. Well same thing choppy sound and even rebooting did not help. So I will be taking EVERYTHING!!!!!! CREATIVE off my machine, if these idiots cannot be bothered to release drivers that work then I'm going elsewhere. My music creating will have to be put on hold, my 22m will still have to sit in it's box.
    Creative you are all a bunch of ?$"?%$%" idiots period. You have ALWAYS (till now in my case anyway) had good drivers. Even though Windows 7 has been in RC for ages you (absolutely missed that boat, hell you didn't even get up to try to catch it) cannot be bothered to write drivers that work and your idiotic half cooked attempts at customer service to give your bread and butter (that's right your customers who keep you in business) solid drivers are an absolute joke. YOU CAN KISS MY SHINY METAL HINEY!!!!! (thanks Bender lol). I am going to my onboard drivers. Thanks Creative (the name "creative" is kind of contradiction in itself, you should look up the meaning of the word lol). Oh and I will be advising EVERYONe who thinks of upgrading to Windows7 to avoid Creative hardware.
    :angry::angry::angry::angry::angry::angry::angry:: angry::angry::angry::angry::angry::angry::angry::a ngry::angry:
    Question for forum users: what is the best way to get rid of every bit of drivers?

  • Install new Dialog Instance on 64-bit Server with 32-bit database

    I need to set up a new Application Server for our current ECC 5.0 32-bit Oracle 9.2.0.7 Non Unicode Database.  The new server is x64-bit and will have Windows 2003 64-bit OS.  I am reading SAP notes 785888 and 814834 and need help understanding how exactly to do this.  The database server is 32-bit Windows 2003 and so is all the other application servers.  Do I use the Oracle 9.2.0 client for 32-bit Oracle and do I use the SAP ECC X64 Install Master in setting up the dialog instance or do I use the 32-bit Install master?  Has anyone done this type of setup before?  Thanks.

    Hi,
    all basic information is provide in note 785888.
    you want to install dialog install on 64bit windows for 32 bit central instance for that you should consider following.
    -> file system is accessible from both host  vice a versa for that you can create one use sapinst on 64 bit host with administrator authorization. and create same user on central instance with administrator authorization and same password.
    -> perform dialog instance installation using this user  ( i.e sapinst)
    -> if you want to use  dialog instance on 64 bit host with 64 bit kernel, install oracle client 10.2 for 64 bit on 64 bit host of windows. for media information check note 949116.
    ->use  non unicode kernel because central instance use non unicode kernel.
    -> most important 64 bit dialog instance required 64 bit kernel, SAPinst installation screen ABAP System > Instance Directories, where you are asked for the "Location of SAP System Executable", you choose "Yes, locate executables on central instance host", before choosing "Next". The executables for the dialog instance are installed to
    <sapglobalhost>\sapmnt\<sapsid>\SYS\exe\<nuc\uc>\NT<AMD64|IA64|I386>*
    so when you want to apply kernel patch you have to uncar the kernel package to this location.
    -> maintain the kernel patch level same on both host.
    regards,
    kaushal

  • Conn problem SQl Server 64 Bit to Oracle 32 bit using SSIS packages

    Hi,
    I am facing the problem with connection SQL(64 bit) to Oracle(32 bit).
    Please give me the solution/guide in right direction.
    Environment is
    S1-----> DBServer : 64 bit Windows Server 2003 Enterprise Edition, 64 Bit SQl Server EE, 64 Bit Oracle 10g Client
    S2----->.AppServer :32 bit Windows Server 2003 Enterprise Edition, IIS, 32 Bit Oracle 10g Client & Server DB
    I have doubt like....
    1.Can i install 32 bit oracle also at (S1) 64 bit SQL Server(SSIS)
    or only 64 bit oracle?
    2.Running command line for SSIS packages at S1
    i am unable to connect S1---->S2 using SSIS packages?
    How can i solve this problem? pl give steps for going right direction.
    Thanks
    JOHN
    [email protected]

    Fabio D'Alfonso wrote:
    Hi,
    I was setting up VMware vCenter 4.1 (probably the only well known and largely used product with this lethal mix) and needed to setup an ODBC access to Oracle on the 32 bit side of Windows to setup the Update Manager server component, which is still a 32 bit application)
    The problem with Oracle configuration is that in no way I found a 32 bit ODBC registered driver after the setup (of the 32 bit client and the 64 database server). I tried some third party driver for oracle (e.g. easysoft).They registered in the 32 bit ODBC manager but they never got a successful connection.
    Also if this vCenter requirement is questionable (more questionable considering that the setup of this 32 component is not allowed on a 32 separate OS, not because it is separate but because is a 32 bit OS) I would get it working.
    Could suggest a way to get this working?
    Thanks
    Fabio D'AlfonsoWhen you install the Oracle client software on Windows (which is necessary to support ODBC, as the Oracle ODBC driver sits on top of the native client software) the ODBC driver is NOT installed by default. You have to go back and do a "custom" install and select the "Windows components".

  • Need conversion mechanism for converting 24 bit image to 16 bit

    In my java project I need to convert 24 bit image to 16 bit image. I don't have any clue. Please provide me the option to implement it.
    Thanks,
    jai

    That doesn't tell me much, and I know what you're talking about. I doubt that it tells the OP anything useful whatsoever.Sorry EJP, it was a mouthful I know. Maybe this will help instead, a ColorConversionOps class to work on *32 bit > 16 bit > 32 bit colors*. To help clarify where the 16 bit color input and output goes, some of the methods return or require parameters of type short. Also take notice the bitmask for variables of type short vs the bitmasks for int. AND pay particular attention to the unsigned right bit-shifting of the most-significant-digit.
    public class ColorConversionOps
      public static short convert32_16(int rgb) {
        int a = ((rgb & 0xF0000000) >>> 16);
        int r = ((rgb & 0x00F00000) >>  12);
        int g = ((rgb & 0x0000F000) >>   8);
        int b = ((rgb & 0x000000F0) >>   4);
        return (short)( a | r | g | b);
      public static int convert16_32(short rgb) {
        int a = ((rgb & 0xF000) << 16);
        int r = ((rgb & 0x0F00) << 12);
        int g = ((rgb & 0x00F0) <<  8);
        int b = ((rgb & 0x000F) <<  4);
        return (a | r | g | b);
      public static void printRGB_32(int rgb) {
        System.out.println("a="+((rgb & 0xFF000000) >>> 24));
        System.out.println("r="+((rgb & 0x00FF0000) >>  16));
        System.out.println("g="+((rgb & 0x0000FF00) >>  8));
        System.out.println("b="+ (rgb & 0x000000FF));
        System.out.println();
      public static void printRGB_16(short rgb) {
        System.out.println("a="+((rgb & 0xF000) >>> 12));
        System.out.println("r="+((rgb & 0x0F00) >>  8));
        System.out.println("g="+((rgb & 0x00F0) >>  4));
        System.out.println("b="+ (rgb & 0x000F));
        System.out.println();
    }Now to make the conversion from 32 bit color to 16 bit color and back. NOTICE there willl be a loss of precision -- just like someone else has already said.
    public class Test
      public static void main(String[] args)
        int rgb = 0xFFFFFFFF;
        ColorConversionOps.printRGB_32(rgb);
        //a=255
        //r=255
        //g=255
        //b=255
        rgb = ColorConversionOps.convert32_16(rgb);
        ColorConversionOps.printRGB_16((short)rgb);
        //a=15
        //r=15
        //g=15
        //b=15
        rgb = ColorConversionOps.convert16_32((short)rgb);
        ColorConversionOps.printRGB_32(rgb);
        //a=240
        //r=240
        //g=240
        //b=240
    }And now we see, the reason 16bit color is so unpopular to the rest of the world, but not for us here!

  • 10g migration from 32 bit linux to 64 bit-synchronizing appsutil

    I am currently attempting to migrate my TEST instance from a 32 bit Linux server to a 64 bit Linux server. In a nutshell, I have prepared the new 64 bit Linux host for running the Oracle database. I have also already run adpreclone.pl on source instance apps and db tiers. I am following a number of documents, mostly from Oracle but a few from different blogs.
    In following http://levicorp.com/2010/04/08/migration-oracle-10g-db-from-linux-32bit-to-linux-64bit/
    I will list the first 5 steps. I am stuck on step 5.
    The steps are :
    1. Backup source datafile of the database.
    2. Copy the backup datafile to destination server.
    3. Install the Oracle Software in destination server.
    4. Install patchset 10.2.0.4.0 for Linux 64 bit (Patch# 6810189)
    5. Do Cloning database, create control file
    The new 64 bit Linux server has the 10g database software only. So, on the target server I looked to run adcfgclone.pl , but I noticed that in the new $ORACLE_HOME there was no appsutil folder. What I did next was copy that directory from the source database server over to the target server. I have been unable to run adcfgclone.pl on target server against the db tier. Fails with:
    java.lang.NullPointerException
         at java.util.Hashtable.put(Unknown Source)
         at oracle.apps.ad.clone.util.CloneCleanser.doMigrate(CloneCleanser.java:98)
         at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:710)
         at oracle.apps.ad.context.CloneContext.main(CloneContext.java:5093)
    RC-50004: Error occurred in CloneContext:
    So I can't help but wonder, was even supposed to do that - copy from one server to another? Is the appsutil directory and its contents somewhat custom relative to the host it's on?

    Please post the details of the application release, database version and OS.
    Are you migrating the database only?
    If this is an EBS database then the supported ways are using export/import of transportable tablespaces.
    If you are on 11i with 10gR2 database please refer to:
    10g Release 2 Export/Import Process for Oracle Applications Release 11i [ID 362205.1]
    Cross Platform Transportable Tablespaces on 11i with 10gR2 [ID 454574.1]
    If you are on R12 with 10gR2 database please refer to:
    Export/Import Process for Oracle E-Business Suite Release 12 using 10gR2 [ID 454616.1]
    Using Transportable Database to migrate E-Business Suite R12 Using Oracle Database 10gR2 or 11g [ID 734763.1]
    Migrating Oracle E-Business Suite R12 from Linux 32-bit to Linux 64-bit [ID 471566.1]
    Thanks,
    Hussein

  • WLS (40-bit) to WLS (128 bit) installation

    Hopefully this will help shed some light on the subject.
    Terry
    If you receive the following warning:
    <I> <Security> WARNING: Exportable (weak) WebLogic Server build running and
    domestic (full) strength SSL license detected. Only exportable strength SSL
    connections will be accepted.
    This indicates that you have a full strength certificate but a weak strength
    build of the server. For full strength encryption there is a different WLS
    build. The generally-available (weak/40-bit) version of WLS 5. 1 supports
    512-bit certificates and 40-bit bulk data encryption. The full strength
    (128-bit) WLS 5.1 build supports 768-bit and 1024-bit certificates and
    128-bit bulk data encryption. Your sales contact can provide the required
    forms and a special URL to download the full strength build of WebLogic.
    The installation for the 128-bit version is the same as the installation for
    the 40-bit version. When converting to the 128-bit version a complete
    re-installation is necessary. If you are installing service packs, please
    note that although Service Packs 1-5 are the same for both the 40-bit and
    128-bit versions, SP6 for the 128-bit version is a controlled release. In
    order to obtain SP6 for WLS 5.1 (128-bit), you will need to contact your
    sales representative who will be able to provide a URL where it can be
    downloaded.
    Some other notes concerning the 128-bit installation. First, ensure that
    you are using the permanent license that has been updated with the 128-bit
    key. Second, for information on setting up WLS SSL (i.e. installing
    1024-bit security certificates), please see the documentation at:
    http://www.weblogic.com/docs51/classdocs/API_secure.html.
    It is my understanding that the difference between the 40-bit and 128-bit
    versions of WLS 5.1 is in the encryption/decryption module. Since the
    difference is limited to this particular module, transitioning from the
    40-bit to the 128-bit version should be transparent as far as WLCS (3.1.1
    SP1 & 2.01 SP2) is concerned. This is supported by the fact that there is a
    single version of WLCS for both domestic use and export use.
    A couple of general notes concerning WLCS 3.1.1/2.0.1 installations running
    on top of WLS 5.1 (40-bit or 128-bit) SP6:
    WLCS 3.1.1: To date, support cases have not been received with a WLCS
    3.1.1 installation running on top of WLS
    5.1 (40-bit/128-bit) SP6 where SP6 has been determined to be the
    problem.
    WLCS 2.0.1: With one minor exception (see Solution S-05838 below),
    support cases have not been received with a
    WLCS 2.0.1 installation running on top of WLS 5.1 (40-bit/128-bit) SP6
    where SP6 has been determined to be the
    problem.
    A couple of general notes concerning WLCS 2.01 and WLS 5.01 (40- or 128-bit)
    Service Packs 1-6:
    - There have been problems when using SP1, SP2 and SP3 for WLS 5.
    - Therefore, SP4 (minimum) is required.
    - To date, support cases have not been received where SP5 has been
    determined to be a problem.
    - There is one small issue related to SP6 (see Solution S-05838 below).
    Otherwise, support cases have not been
    received where SP6 has been determined to be a problem.
    - Following the SP6 installation, all the JSPs will need to be
    recompiled. Due to the custom tags used in WLCS 2.0.1,
    the JSPs cannot be pre-compiled. Therefore, recompiling will occur as
    the pages are accessed.
    Please see the release notes that accompany each service pack downloads for
    issues that are resolved with each particular
    service pack.
    Solution S-05838
    A better solution to the problem: WLCS 2.0.1 only: DataLoader script causes
    ASCClientException with WLS 5.1 SP6
    Old Solution:
    Use WLS 5.1 SP5 to run the DataLoader, THEN upgrade to SP6.
    New Solution:
    You can run the DataLoader without exceptions for WLCS 2.0.1 SP2 and WLS 5.1
    SP6 if you modify the script to use t3 socket connections instead of http.
    Open the DataLoader script for editing and change the two appearances of
    "http://" to "t3://".

    You need to contact your sales rep and get the domestic strength version of
    WLS.
    Michael Girdley
    Product Manager, WebLogic Server
    BEA Systems Inc.
    Ravi Kumar.T <[email protected]> wrote in message
    news:8945ju$lu8$[email protected]..
    Where to specify the no of bits for encryption for SSL. Is it depend on
    verisign certificates installed!!
    We are using we weblogic 4.5.1 on Solaris. and my site is having following
    encryption
    SSL 3.0, RC4 with 40 bit encryption (Low); RSA with 512 bit exchange
    and I have seen some other sites are having
    SSL 3.0, RC4 with 128 bit encryption (High); RSA with 1024 bit exchange
    thanks..
    ravi

  • How to install 64-bit version on 64-bit OS

    I am trying to install Labview 2011 SP1 Evaluation on Windows 7 64-bit OS. When I go to choose the isntallation directory it automaticaly points me to the 32-bit compaibility folder "Program Files (x86)". I believe this isntall the 32-bit version of Labview. I want to install the 64-bit version. How can I do this?
    Solved!
    Go to Solution.

    hounddog wrote:
    I had a 64 bit and a 32 bit version installed after the first version because there were some tools that I wanted to install that would not install on the 64 bit version.  There seem to be 2 different program file directories now: Program Files and Program Files (x86) so I'm assuming that they are for the two different versions of LabVIEW.  In the Program Files / National Instruments / LabVIEW 2011 directory there is a LabVIEW.exe file, but in the similar (x86) directory there is no LabVIEW.exe file.  It seems like there is no 64 bit LabVIEW version still installed in this computer. When I downloaded the CAN device drivers and installed the package, the sub VIs did not show up in the tool bar when I ran LabVIEW. However, when I look in the (x86) version files I see the CAN folder installed in the 64 bit program files directory!  Should I uninstall the current version and reinstall the 64 bit verson to fix this CAN problem, or is there another way to fix this
    You got it mixed up here. Microsoft decided that Program Files is always meant to mean the native version, which means that for Windows 64 bit, any 64 Bit applications get installed there. Program Files (x86) is for 32 Bit applications that will run inside the Win32 subsystem in Win64. Most NI Toolkit and driver installers only install into 32 Bit. So if you use LabVIEW 64 Bit you will usually have to copy the files from the Program Files (x86) directory into the according Program Files directory, making sure you maintain the same hierarchy.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Migrating an SAP 4.7x110 system on W2003 32-bit to a 64-bit host (x86_64)

    We want to migrate an SAP 4.7x110 system on Windows Server 2003 32-bit to a 64-bit host (x86_64). Afterwards we want to upgrade the system to ECC 6.0.
    According to PAM, 4.7x110 is not supported on Windows 64-bit.
    According to note 960769,
    "After the migration to the 64-bit hardware, your SAP system may have a status that is not supported by SAP for productive use (see Note 814834). You may need to upgrade to a new SAP release. In this exceptional circumstance, SAP offers support for the duration of the upgrade.  Note that SAP does not support a longer, more productive use of such a system for the period after the migration and before the upgrade....
    ...We generally recommend to use SQL Server 2005 (64-bit) for the productive use on x86_64. However, the 32-bit operation of SQL Server 2000 on Windows x86_64 64-Bit (supported by Microsoft) is also supported by SAP...
    ...The following table illustrates which OS/DB combination supports each SAP release in the target system.
    Source System   Target System (Kernel, DB Software)     Support Comment
    3.1I   3.1I 32-bit, MSSQL 2000 32-bit    only for upgrade (a,c)
    4.0B   4.0B 32-bit, MSSQL 2000 32-bit    only for upgrade (c)
    4.5B    4.5B 32-bit, MSSQL 2000 32-bit    only for upgrade (c)
    4.6C   4.6D 32-bit, MSSQL 2005 64-bit     productive (b)
    620   640 64-bit,  MSSQL 2005 64-bit    productive (b)
    640   640 64-bit,  MSSQL 2005 64-bit    productive (b)
    700   700 64-bit,  MSSQL 2005 64-bit    productive (b) "
    According to note 814834,
    "SAP supports the x86_64 platform on Windows 2003 Server SP1 x64 for kernel 4.6D and kernel 6.40 and higher. ... For product versions based on kernel 6.40 and higher, only 64-bit operation is supported."
    According to note 905634, about SQL Server 2005 support (where a mention to R3E 4.7 x110 is missing)
    "Supported SAP products based on SAP_BASIS 6.20 and SAP_BASIS 6.40
    Product Windows platforms
    BW 3.10 x86, IA-64
    SCM 4.0 x86, IA-64
    EBP/CRM 4.0 x86, IA-64
    ECC 5.0 SR1 x86, IA-64, x64
    NetWeaver'04 SR1 x86, IA-64, x64
    SCM 4.1 x86, IA-64, x64
    SRM 4.0 SR1 x86, IA-64, x64
    CRM 4.0 SR1 x86, IA-64, x64
    R3E 4.7 x200 SR1 x86, IA-64, x64
    SolMan 3.2 SR1 x86, IA-64, x64 "
    +//////////////////////+//
    According to all this information, may I move our 4.7x110 system onto a Windows Server 2003 SP1 64-bit, SQL Server 2005 64-bit, and after that we would upgrade to ECC 6.0?
    Thanks !!!
    Eva
    Edited by: Eva Verdaguer on Jul 25, 2008 12:41 PM

    Sorry, I forgot posting the SAP answer, which is also "Yes":
    30.07.2008 - 16:19:00 CET - Respuesta by SAP     
    Dear Eva,
    Yes, you can move to the 64 bit platform with SQL Server 2005 according
    to note 960769.
    Information in note 905634 means there is no installation DVD for
    release 47x110 for SQL Server 2005. So it is not possible to do a fresh
    installation of 47x110 except if you follow the workaround of note
    899111 (for x64).
    Best Regards,
    Manuel García Guardiola
    SAP Active Global Support - Netweaver Web Application Server
    ****************************************************************+
    Thanks very much for your message, anyway.
    Regards !!
    Eva

  • Windows 7 64 bit, Access 2010 32 bit, Oracle 10G client 32 bit, Oracle database 10.2.0.4 64 bit

    I am trying to connect to an Oracle 10.2.0.4 database from Windows 7 OS - 64 bit using
    Access 2010 32 bit and Oracle 32 bit client version 10.2.0.1 installed on PC.
    My user requires a 64 bit Windows 7 OS for other needs.
    Oracle ODBC driver is 32 bit from Oracle 32 bit client.
    In Windows 7 OS 64 bit, ODBC DSN setup software is located in:
    C:\Windows\system32\odbcad32.exe for 64 bit drivers - all DSN types setup and
    C:\Windows\syswow64\odbcad32.exe for 32 bit drivers - USER DSN setup
    When I run the ODBC Data Source Administrator, I see the Version number is 6.1.7601.17632
    I setup a User DSN using the 32 bit odbcad32.exe with a 32 bit ODBC driver.
    Our Oracle TNSnames.ora file has our standard entries which have worked for years
    (Windows 7 OS 32 bit and everything 32 bit has connected for years too)
    So when I configure an ODBC User DSN and leave all the default settings and press the TEST Connection button, it says it works.
    But when I open the existng Access 2010 database (which does connect to Oracle in a Windows 7 32 bit PC environment),
    1. I go to Access External Data ribbon tab / Link to the Data Source by creating a linked table / press OK
    2. I select the Machine Data source = to the USER DSN name / press OK
    3. The Oracle ODBC Driver Connect Window opens with Service Name = USER DSN and User Name and it wants a Password
    4. I enter the correct password and I get the following error message:
    ODBC call failed
    [Oracle][ODBC]{Ora]ORA-12154: TNS: could not resolve the connect identifier specified
    (#12154) [Microsoft][ODBC Driver manager] Driver's SQLSetConnectAttr failed IM006 0
             [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (#0)
    I have tried a quite a number of fixes:
    I have gone into the PC registry and cleaned out most or all off the Oracle client keys and
    reinstalled the Oracle 32 bit 10g client. It didn't fix the error.
    I read about the Oracle instantclient-basic-win32-10.2.0.4.zip with ODBC modules but I have Windows 7 64 bit.
    Anyone experienced a problem like this and have a fix?

    Thank you for your reply.
    I did not get to try it because after I entered my question, I did a lot more internet Googling.
    I found this small comment:
    “There's a known issue where you get a 12154 error message running 32 bit software on a 64 bit OS using client 10201, and
    It should be resolved by patching the client to 10204, which you do by applying the 10204 database patch to it.”
    I searched around for the 10.2.0.4 patch for 10.2.0.1 Oracle 32 bit client.
    When I contacted my Oracle DBA to ask if he had that patch, he said that I should try the 11g 32 bit client on the Win 7 64 bit PC.
    We have a 10.2.0.4 Oracle database but he said the 11g client should work fine.
    I tried it and it solved the problem!
    With so many settings, configurations and permissions involved in ODBC, I am inclined to think that I missed a setting but
    it was a bug in the 32 bit client 10.2.0.1.
    Solved.

Maybe you are looking for

  • SUBMIT program VIA JOB and SET/GET parameter

    Hi All I need to pass the content of a variable from the program 'A' to program 'B'. Program A uses JOB_OPEN , SUBMIT program VIA JOB jobname NUMBER jobnumber AND return, JOB_CLOSE. I tried to use import/export memory but it didn't work. Then I am tr

  • I need to measure the frequency of a signal on Pin 39 (PFI 15) of a PXIe-6361 module.

    I need to measure the frequency of a signal on pin 39 (PFI 15) of a PXIe-6361 module.  All of the digital I/O pins are already assigned and in use.  The signal frequency range is 50KHz to 500KHz.  I have tried all of the sample programs for DAQmx Cou

  • BlackBerry Z10/Q10 - contacts stop synching or updating (both ways from device and MS Outlook)

    Hi folks, Hopefully somebody can shed some light on this issue we are starting to see more and more at work. Are users are connected to the BDS10 server.   When they activate the device they are using the Work Account option. The issues are everythin

  • Variable MESSAGECFID is undefined.

    Hi Everyone, I developed a site long time ago in Coldfusion MX. I am trying Coldfusion 8 with 30 days trial. I am constantly getting an error message "Variable MESSAGECFID is undefined. " on one of my file (attached : community.cfm) where I never use

  • Add exposure info to ea shot in contact sheet

    Is there a way in Bridge to add exposure info., I would like to add focal length, aperture, shutter speed, ISO and lens used,  below the image in a contact sheet, in addition to the image name, into a Bridge contact sheet? I see no way to do it now i