How to choose bits to a hexadecimal number?

I have a list of hexadecimal number (a single column with "n" lines). Leave the list to be named 'A '. Each hexadecimal number, after conversion to binary, I need to 9 bits, choose the right end (d0, d1, d2... D8) and label as X. Then the 9 consecutive following bits (d9, d10,... d17) and label Y. I want to do it for all the "n" elements has and put it to separate the columns X and Y. Can someone help me to do this? Thank you very much.

Example:

Suppose a = 11110000111100000111110000 is a binary form of the first item has. So, I want to choose the pieces that, X = 111110000 (bits from the right end of a) and Y = 111100000 (successive 9 bits). I don't like the rest of the bits to the left. A, I ' n number of elements (a1, a2, a3,... a). I want to do for all and make a list of X and Y (two columns).

Handling a bit will get it there.  The logical shift and AND functions are essential when dealing with this kind of problem.

Tags: NI Software

Similar Questions

  • Convert the string of 32 bits to a hexadecimal number of LV 7

    Hello!!

    I have a 32 bit string I need to convert a hexadecimal number, what program I can do?

    Can someone help me?

    Thank you

    Each character in a string is a BYTE.  So you tell each of these I8s are 0 or 1?  If this is the case, then why not just use Boolean values (TRUE or FALSE)?  An array of Boolean would do this very simple since you can simply use the primitive Boolean array of numbers to do the conversion for you.

  • How can I search for hexadecimal number of 32-bit in .csv file

    Hello

    How can I search for 32-bit in .csv file usinf labview 8.6.1 hexadecimal number

    Mathan,

    This post was not really a solution.  He just ordered Sandy to post in the appropriate forum, which we now know is LabVIEW 8.6.1 LV.

    Sandy,

    You want to read the text file, then use the search/Split String function to find the matching characters that make up your hexagonal pattern.

    What you ask is a little strange wordly since .csv files are text files, and you ask a "32-bit hexadecimal number.  Can you give an example of what you are looking for?  My response assumes you have a 8 string that consists of the characters 0-9, A - F for catch the 4 bytes.  Maybe you are dealing with just 4 bytes that present themselves as ASCII characters in a text file.  In which case you wouldn't have one. CSV file.

    If the response of research/Split String is not useful to you, you will need to provide details about what you are looking for and also an example of your. CSV file.

  • HP pavilion 15-e034tx: how to choose the right RAM for laptop

    How to choose the right RAM for my laptop (Pavilion 15-e034tx). I know I should buy DDR3 ram.

    Are there other factors should I consider when buying one? I got 2 slots for ram, which od these combos are possible?

    1-4 + 4 GB
    2-4 GB + 8 GB
    3-8 GB + 8 GB

    Thank you

    From the Manual:

    Two customer accessible/upgradable memory module slots

    Support for dual channel DDR3L (1600 MHz)

    Support 8192 MB RAM system in the following configurations:

    8192 MB (8192 MB × 1, × 4096 MB 2)

    Manual download link

    See page 53 for instructions. Memory access is easy via the service Panel. This is the part number for the approved 4 HP concert module:

    4 GB (PC3L, 12800, 1600 MHz) 691740-001

    http://www.Amazon.com/HP-691740-001-4GB-1600MHz-PC3L-12800/DP/B00CI08FX4/ref=sr_1_2?ie=UTF8 & qid = 1451655870 & SR = 8-2 & Keywords = 691740-001

    A 8 GB module is listed in the manual, and it's a 3rd generation of processor i5 I suspect 2 x 8 = 16 concerts would work, but strictly following the manual your only option is to add a 4 GB for a total of 8. Most users really not more 8 GB and adding a second identical module will allow two-channel operation, so you should see a noticeable jump in the overall performance.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • How do I know what the maximum number of agents I can put on a hyperic serv

    How do I know what the maximum number of agents I can put on a hyperic server. ?? IM using the built in database on a linux unbuntu 4 cpu system ' s2592 MHZ. 7GB of Ram. I assumed that the
    disk space can be the most important question? Any suggestions or any help to determine when to stop adding customers would be useful. We can use open source, but are also
    talk about the EE version. The Hyperic server type would make a difference in space etc.?

    Disk i/o is probably a bit more critical than the disk space that the DB generally is not larger than 10-15 concerts.

    Ability wise, your system is CPU/RAM.  Disk i/o will probably be your main bottleneck and the thing that will determine the maximum number of agents that can have on the server.

    Splitting of the DB from the HQ server would certainly help in the perspective of General load.  Definitely put the DB a system with several piles of discs (part of a San, fast raid) will help you in the disk i/o.

    If I was trying to answer the same question, I guess that I look at the Scriptures on disk on the DB as starting point, test the drive with systat/iostat or something to see what the drive is capable of in terms of read/write speeds and also look at postgres for slow queries, duration of execution of query, used memory and cpu.  Naturally, I would do the majority of "look at her" go to HQ itself :)

    Post edited by: ama

  • How to choose a particular directory in the connection to the FTP server window. He used to have she and her party?

    How to choose a particular directory in the connection to the FTP server window. He used to have she and her party?

    The user interface has changed a bit. The folder field is now in the screen that follows to connect to the FTP server.

    Adobe help Muse | Download a Site from Muse Adobe on a third-party hosting service

    Abhishek

  • How to choose an icon for a pinned tab?

    I created a two pinned tabs. We have a very generic icon and the other has no icon. How to choose an icon for the pinned tabs? Can it be done? Using a hack is fine too.

    You can probably do it with the code in the userChrome.css file.

    Here is an example that works for Gmail.

    Add code to the file userChrome.css below default @namespace.

    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    
    #tabbrowser-tabs .tabbrowser-tab[pinned][label^="Gmail"] .tab-icon-image {
     list-style-image: url("https://ssl.gstatic.com/ui/v1/icons/mail/images/favicon5.ico") !important;
    }
    

    The file userChrome.css (UI) customization and userContent.css (Web sites) are located in the folder of chrome in the Firefox profile folder.

  • How to identify a MacBook 2009 serial number?

    How to identify a MacBook 2009 serial number?

    The screen is broken and blue shows only the tasks after the start.

    There are a lot of numbers on the bottom of a MacBook 13 "striped rubber.

    Nothing says serial No.

    I thought to start target disc mode to get info, but the macbook doesn't have a firewire input.

    I have connected a monitor but only get a desk empty with no place to go to.

    I'm used with computer repair, thinking I'll replace it the display. But the owner of the child has no info

    of any kind.

    I would be grateful for your input on how to get the info I need and your thoughts on the display work.

    Thank you for your time and patience.

    There are several ways to find the serial number.

    Click here > How to find the serial number of your MacBook Pro - Apple Support

  • How to choose the display by default when you use two screens on my Mac Pro?

    How to choose the display by default when you use two screens on my Mac Pro?

    The default view when you have several is made that you drag the little icon in the menu bar in this pane:

    .

  • How can I get the 6 digit number to associate my watch.  It doesn't give me a 5-digit number?

    When I try to manually associate my watch it only gives me a 5 digit number, but not the number 6 to complete the pairing.  How can I get the 6 digit number?

    Hello

    When pairing manually, you must press the name of 5 digits on the screen of your iPhone (when he shows the same device name that is shown on your watch, after typed it on your watch's 'i'):

    Your watch then displays a six-digit code, you will then enter on your iPhone:

    More information:

    Set up your Apple Watch - Apple Support

  • How can I restore iTunes a large number of items currently in the Recycle Bin?

    How can I restore iTunes a large number of items currently in the Recycle Bin?

    See if the menu in iTunes to undo option is available.  If it is not, go to the Recycle Bin and drag the files into the folder automatically add to iTunes.  iTunes 9: understanding the "Automatically add to iTunes" folder - http://support.apple.com/kb/HT3832 - files placed in this folder are actually moved from this folder to the correct location in the iTunes Media folder.

  • When you export (share) a project, how to choose the thumbnail of the freeze frame which restores the clip?

    I just shared (exported) a project that is a simple take a clip for a friend who has downloaded on its website. The problem is that, when the video ends by playing on his site, he returned to a freeze frame that seems completely random and is not the image I want. How to choose the exact image that the video will return as "thumbnail by default?"

    Thank you

    Kevin

    Cannot set lla at the FCC. Many layout site Web apps will allow you to set the poster frame for the video files.

  • How to make a folder shows the number of files in there?

    How to make a folder shows the number of files in there?

    You have not indicated what OS you are using.

    Yosemite

    Action > View Options: Select to display the item of information

  • How to choose the download location? download automatically to the users in c drive folder. I want to change it... Please help me...

    How to choose the download location? download automatically to the users in c drive folder... I want to change my office... Please help me out...

    Tools-> Options-> save-> click on the Browse button and find the folder where you want to save the files.

  • Download a update, I get this message,"you don't have the appropriate permissions. Choose another directory for registration. How to choose another directory for registration?

    Trying to update from Mozilla, I get the error message following, "the file would be not saved because you do not have the appropriate permissions. Choose another directory for registration.

    How to choose another "directory" of record?

    Press Alt + E and then N to bring up your preferences. On the general tab, check the option "always ask me where to save files.

Maybe you are looking for

  • Check your email account

    IS legitimate email below?  From this e-mail address: Apple Store - [email protected] topic says: update your information-[Apple] 198678 they want press me on a link and connect to...  I DO NOT TRUST IT? Verify your account PleaseCheck your account info

  • scanning duplex hp officejet 8600

    Hello!  I was wasting a ton of time trying to figure out how to scan duplex using HP officejet 8600.  Is there a driver or software, I need?  Now when I go to my settings of the printer in the Control Panel, it only shows my printer and fax. I don't

  • Mapped DFS network file causes windows Explorer to hang

    Hello I have an environment running windows xp service Pack 3 and distributed file system (DFS) mapped network.The domain level is windows 2003 service pack 2 and server dfs are running in windows 2008 service pack 2. whenever a client machine connec

  • Windows Vista Ultimate - printer

    I have a brother MFC - 3220C. When I loaded vista on my computer, the printer stopped working. I called brother got the new vista download; There is, however, no. I'm doing everything I'm supposed to do, but when the program gets to the part where I

  • XPS 13, Black Screen, 5 flashes white, amber 2 flashes

    Hello I don't know if everything is connected, but here is the story complete. I bought my laptop when it comes out in November 2015 (8 GB, without contact). About 5 hours ago, the task bar/all windows did not fit my screen, but an update for one of