How can I add three binary numbers and then convert to string (Hex format)?

Hi All,
I have my problem "half" resolved, but need some assistance on the final piece.  Overall, I need to take three string values (hex format), convert them to binary, add them and then convert back to a string (hex format).  If that doesn't make sense maybe this will:
Final Result (My target) = 0xCC
 = 0x03 + 0x01 + 0x04
          = 0x03; 0011b
          = 0x01; 0001b
          = 0x04; 0100b
For my app, we are dropping "masking" some of the bits so that we get 1 byte:
          = 0x03; 11b
          = 0x01; 001b
          = 0x04; 100b
So...
11001100b = 0xCC
In my VI, I am taking each initial string [0x03,0x01 and 0x04] type casting them to U8.  Next I need to "mask" the binary values as shown above and then add them.  I am not sure how to do this in LV??
Thanks for the help,
Bryan

Hi Bryan,
there's a conversion palette in the string palette, ever looked at those functions?
The rest is pure simple math:
It's the straight-forward way, there are other possibilities too!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • How can i add a new user and change user'password with javamail?

    how can i add a new user and change user'password from a mailserver with javamail?
    email:[email protected]

    Well user creation and updation is a system property..U need to go through that part...as it depends on the system you are hosting pout your application...
    if it is linux...u have to use some shell programming\
    bye for now let me know if this guides you or if you need some more stuff.
    bye

  • HT5312 I've forgot security question and answer, how can I add rescue mail address and how can I reset my security question and answer?

    I've forgot security question and answer, how can I add rescue mail address and how can I reset my security question and answer?

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105466)

  • How can i change my ipads numbers and calender to english not arabic?

    how can i change my ipads numbers and calender to english not arabic?

    I am a Canadian and I purchased myPad in Mexico everything was in Espania/Spanish I went into settings and changed location to Canada, English and this pretty much fixed everything for me,I however still get some websites in Spanish for eg: when I google search.I resolved this problem with resetting google search to my location in Canada.

  • How can i add an custom attribute and assign it to an existing custom object class in sun ds

    I need to add an attribute to sun ds schema and assign it to an existing custom object class.
    I know how to add an attribute but how can i add the attribute to an existing custom object class.
    Please help.
    Thanks

    The objectclasses attribute is multi-valued, so you can add several values to it as long as they are unique.
    For instance, I think you can add several declaration of the same objectclass as below (note the difference is the number of spaces in the value) howewer, from a schema perspective, only 1 will be taken into account:
    objectclasses: ( 2.5.6.6 NAME 'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256' )
    objectclasses: ( 2.5.6.6 NAME   'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword $ CustomAttr) X-ORIGIN 'RFC 2256    ' )
    That's the reason why it is safe to delete previous value if you want to update an existing objectclass. No problem to add a new objectclass (new oid and new name) to the schema.
    -Sylvain

  • How can I add the file numbers to each photo as a batch in photoshop on a mac?

    Can anyone tell me how I can add the file numbers of each individual photo to the picture and do it as a batch?

    Have a look here http://www.dmxzone.com/go?12067
    Gramps

  • How can I add a log in and password protected page on my website

    I would like to add a "register now" and login page to my website.  Can anyone help with a SIMPLE solution?  I've tried to follow the 'secure area' info on BC but not having any success.
    I would like to have a 'register/login' button in order for visitors to get to a secure page. How can I make it happen on Muse?
    THANK YOU!!

    Hi
    You may want to refer to discussion here : Adding a Secure Zone to my Muse site
    As mentioned, you need to create a secure zone in your Business catalyst site and have a landing page set there only. This cannot be managed from Muse only. 
    For more details on how to create secure zones and achieve this, you may want to refer to some useful article as mentioned below:
    Business Catalyst Help | Add a secure area to your site
    http://www.bcgurus.com/tutorials/using-bc-secure-zones-with-adobe-muse
    I hope this helps.

  • How can i "add file to library" and have it be considered to be a Podcast?

    I went to a web site and downloaded a file to my C drive (MP3 format) that is not music. It is spoken, and is what i would call a 'Podcast', although i did not access it via iTunes as an official podcast. I then use iTunes "add file to library" function. But, it considers it to be music. I thought maybe drag/drop would work to let me add it to Podcasts, but it does not.
    How can i get this file which i have imported into iTunes to be treated as a Podcast? First, i'd like it to appear on my iPod with 'Podcasts'. But, more importantly, if i stop listening in the middle, i'd like it to restart from that point the next time i start it again. Now, it is treated by the iPod like music, and so it starts at the beginning each time.
    Thanks for your help! Tom.
      Windows XP  

    Is there a way that you can "subscribe" to something that is not in iTunes store? This is just a file on a site that is available for download.
    If not -- does anybody else know if there is a way to do what the original question posed, to have a file that you downloaded, treated as a Podcast instead of as music?
    Thanks, tom.
    Windows XP

  • How can i add three values of DM

    Hi all, i got this problem, i am loading an ODS with Flat file (Survey project), this one brings this records, all are MD:
    Customer -  Question - Answer
    001      -      1          -   5
    001      -      2          -   2
    001      -      3          -   5
    I need save in a InfoObject the add of the value of the answer , in this case = 12.
    How can i do this? Help

    Hi ,
    Please load the data in a DSO first in additive mode and then load the data from DSO to the info object.
    This will solve your problem.
    -Vikram

  • I have completed a iphoto book, but the back cover and flap have vanished. How can I add a back cover and flap.

    My girlfriend has completed a iphoto book using my Mac. She completed it and sent it off for printing, but we received an email from Apple advising that clipped text had been found in the order.
    We looked at the book again and noticed that there did not seem to be a back cover and flap to the book, the last page had been duplicated and one of the photo's had gone across some of the text. ( the front cover and flap were there.)
    We have attempted to add a page, looked the the layout options etc, but there is no option to add a back cover and flap.
    Please can you advise how we can add a back cover.
    Regards

    Try cohnfamilly's solution posted in this topic: Cover Page Disappeared: Apple Support Communities
    OT

  • How can I add to page size and add crop marks?

    I have a 50 page pdf file, A4, RGB. There are no crop marks. I need to add 1/2" to each dimension on each page (centering the image, of course), add crop marks for A4 size, convert to CMYK, to make press ready. I'm having trouble with each aspect of this. When I expand the page size then try to crop to A4, Acrobat tells me that the crop marks may overlap the art and I should consider cropping. I click okay, get the crop window, and that doesn't seem to work either. I'd love to create an action to do this but I can't even perform any of the pieces of it!
    I am working on a PC, running Windows 7, Acrobat XI Pro CC.
    Thanks,
    Peggy B

    Hi IMThreNachoMan,
    >>Just to confirm, I can have the ribbon run a normal macro (Sub Blah()) but not if it tries to reference the ribbon (Sub Blah(c as IRibbonControl))?<<
    I've tested it on managed project, it works as expected, but it seems the *.OfficeUI file makes the VBA as an expectation.
    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated. Sorry for any inconvenience and have a nice day!
    Regards & Fei
    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.
    Click
    HERE to participate the survey.

  • On sites with forums how can I add type in bold and/or italics?

    When posting on a websites forum how can I post words in bold or italics.

    Depends upon the forum. Here you have the '''B''' and '''''i''''' buttons in the Post a Reply area. Other forum software may allow HTML or BBCode.
    https://addons.mozilla.org/en-US/firefox/addon/bbcomposer/?src=search <br />
    https://addons.mozilla.org/en-US/firefox/addon/text-formatting-toolbar/?src=search <br />
    https://addons.mozilla.org/en-US/firefox/addon/bbcodextra/?src=search

  • How can i add bizarre corners in and InDesign shape

    Hi guys,
    I am doing a poster with two images. One is the main color photo and the other is a rounded image to write text on it.
    Here is the idea
    http://www.pixentral.com/show.php?picture=17QyMumlIqTfBYafmsKejFuF0SOKp
    How can i trim the image with this bizarre corners shape? so the both will fit right.
    Thanks for any help ;-)
    Sebs
    Mensaje editado por: Sebastian Villalonga

    You're right that is bizarre, but that's besides the point ;-) You could approach this a couple of different ways. I would suggest drawing a square filled with paper. Then draw a circle on top of the square with the same width and height. Select both the circle and the square, and choose Window > Object and Layout > Pathfinder. Click the subtract button. Then with the object still selected, choose Object > Paths > Release Compound Path and remove the corners that you don't need. Now just position the shape where you want it to appear.

  • How can I detect an external trigger and then generate an event or occurance

    I have a PXIe-1065 chassis with a PXIe8030 controller, PXI-6653 timing module, PXI-6542 Digital IO, and PXI-6259 DAQ board, running LabView 8.5. I need to detect a trigger (100 ns TTL pulse) from an external device then start a process on a GPIB device. Is there a way for me to detect this trigger and then generate an event, or an occurance ? Can I do this without polling a device? Can any of this hardware generate an interrupt that LabView can detect?

    My screenshot was only an example how you can approach the issue. I wasnt saying that you should try it with AI....
    Just take a closer look into the DAQmx Events and you will discover something like this:
    hope this helps,
    NorbertMessage Edited by Norbert B on 10-05-2007 02:35 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.
    Attachments:
    DAQmxEvent.PNG ‏11 KB

  • How can I load movie on (onPress) and then check if the invoked has not been called by any other members before? Thx

    Hello Everyone,
    I would highly appreciate your wisdom and advice on this
    functionality. Lets say I have two
    movieclips on the stage(ClipA, ClipB). I would like user to
    be able to click on any of them and, this click
    will invode a createclip function which pretty much creates a
    dynamic movieclip and loads
    whatever I assign to it such other existing clips within the
    library. The only problem I have
    makeing the functionality work is that I would like to limit
    the function call to one at a time.
    So if the user clicks on ClipA, function createclip would get
    invoke and will attach the assigned
    movie clip. And when user clicks on ClipB, I would like to
    end the function call that was invoked
    by the ClipA and then then allow ClipB to invoke the
    function.
    Pretty much it would a logic like:
    if(createClip = true)
    end it;
    else
    createClip();
    When a movie is attached, can it be unloaded or unattached?
    I don't know how to write a function that would check if
    function createClip() has
    already been invoked. I would highly appreciate any direction
    in this.

    If the objective is just to get a unique list of authors based on your key, you could use the REPLACE statement in MySQL which functions as an "insert on duplicate key update" type of construct.
    [http://dev.mysql.com/doc/refman/5.0/en/replace.html|http://dev.mysql.com/doc/refman/5.0/en/replace.html]
    Catching an exception to detect dupes is functional but not very elegant. If you use REPLACE then you know your statements will always work. The drawback is that the statement is not portable across databases.

Maybe you are looking for

  • How to create secure EJB web service in Oc4J using JDeveloper?

    We are going to develop a EJB web service running in OC4J using JDeveloper 10.1.3.3. By using the JDeveloper feature, we can simply create the web service by using the "Web Service Endpoint Interface" in the session bean. However, unlike the web serv

  • Install error #1620 PrPro Windows Vista Home Premium

    Install error 1620  when attempting to install CS4 "This installation package could not be opened"  (for each component of the software package).   Windows Vista Home Premium 32 bit, Intel i7 processor.   Unable to install any components of PrPro.  T

  • Mac desktop manager and 3rd party apps????

    Will BB desktop manager for Mac sync 3rd party apps? My PC version did but I cannot figure out how to get the Mac version to do it? I want to sync Ascendo DataVAult from my BB to my MacBook?? HELP!

  • BootCamp Windows7 and second Monitor display issues

    I'm running BootCamp Windows7 on a 2010 15in MacBookPro. While my OSX side recognizes & displays to my ASUS VS238H-P monitor, the Windows7 won't output an image. The monitor is connected by a HDMI Cable.I have used http://forums.civfanatics.com/showt

  • Suggestions for a gaming laptop

    So I am curious about buying a laptop that can handle games, even if it is at the lowest available setting. The sims 3 would a great game to base the requirements off of. I am willing to spend up to about 1000$ but would really like to go cheaper tha