How does CRC 16 with lookup table work?

I have been try to get CRC16 with a lookup table to work but it does not match the CRC for a device I am trying to simulate.  I have attached the code any help would be great.
Attachments:
Binary to Hex String.vi ‏37 KB

You can't just say you need a CRC-16.  There are way too many parameters involved: Polynomial, Initial CRC, Data Inversion.
When it comes to a CRC with a lookup table, it uses precalculated results based on a specific CRC implementation.  If you don't know which implementation it uses, it isn't really usable.
What instrument are you trying to simulate?  What is the exact CRC implementation does it use?
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • How does Creative Cloud for teams work with staff who work in two locations ie in the office/home

    How does Creative Cloud from teams work with staff who work in two locations i.e. in the office and home?

    There is no difference please be aware that each login is provided with two activations however.  If you wish to have a computer at both work and home activated though that is perfectly fine as long as your employer is ok with using company software at home.

  • I live in the country and there is no High speed available, How does Firefox for desk top work with Dial up ???

    I live in the country and there is no High speed available, How does Firefox for desk top work with Dial up ??? I have a great dell computer, Dimention 8400. Before I install firefox I want to know for no waste of time for either party..

    Unless you enabled Find My iPad on it before it was stolen then there isn't any way to locate it. If you did enable it then you could try locating it either via http://icloud.com on a computer or Find My iPhone on another device - but that will only work if it's connected to a network and the device hasn't already been wiped and/or Find My iPad disabled on it.
    If it was stolen then you should report it to the police. You should also change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc.
    If it was never registered to your account then it won't appear on your support profile : https://supportprofile.apple.com/
    The only other ways to find it that I know of (apart from on the actual device) are via the packaging, the backup on a computer's iTunes : http://support.apple.com/kb/HT4061

  • How does the LCM rollback feature work in theory?

    Hi
    How does the LCM rollback feature work in theory?
    Let's say
    1. I've Webi report 'x' in QA system
    2. I promote a modified version of webi report 'x' from DEV to QA using LCM. So now I've 'x1' in QA.
    3. I "rollback" this promotion job in LCM. Which means I've get back 'x' in QA system.
    So does this mean that LCM kept a "backup" copy of 'x' in QA (CMS+filestore file backup) before overwriting with the promoted 'x1' from DEV?
    If yes, does it clear the 'x' anytime from QA? (maybe after second iteration of 'x2'?)
    Thanks

    I highly recommend you read the following blog posts that contains straight answers to common questions about the automatic update feature:
    Hello, Adobe Flash Player Background Updater (Windows)!
    Adobe Flash Player Background Updater for Mac is live!

  • Problem with lookup-table and single quotes

    SOA Suite 10.1.3.3. I have an ESB project with an XSLT map that uses orcl:lookup-table to translate values. I use this instead of lookup-dvm because I want non-IT users to manage the mappings without having access to the ESB Console.
    According to the doco:-
    G.1.79 lookup-table
    orcl:lookup-table(table, inputColumn, key, outputColumn, datasource)
    This function returns a string based on the SQL query generated from the parameters.
    The string is obtained by executing:
    SELECT outputColumn FROM table WHERE inputColumn = key
    The problem I'm having is that it seems if "key" contains a single quote (i.e an apostrophe), then lookup-table fails to find the corresponding value - even though the value in table.inputColumn also contains the single quote.
    I've put the incoming into an XSL variable, but to no avail.
    <xsl:variable name="incoming">
    <xsl:value-of select="/obj1:DEV_MESSAGE_TYP/DATA1"/>
    </xsl:variable>
    <xsl:variable name="dvm-text">
    <xsl:value-of select="orcl:lookup-table('MYTABLE','INVAL',$incoming,'OUTVAL','ds/dev')"/>
    </xsl:variable>
    Are there any XSLT Gurus out there that have come across this or can think of ways around it?
    Thanks in advance...
    Regards,
    Greg

    Ok - the above was on the right track but wasn't 100% because it can't handle more than 1 single quote (apostrophe) in the input to lookup-table.
    I've since found a better solution - an XSLT re-usable template that operates recursively and so can replace multiple occurances of single quotes. I've modified it to handle a null input value, otherwise lookup-table will just return the value of the first row in the lookup table - doh! The way I've done it below, if null is passed in, then null will be returned.
    This goes at the top of your XSLT map file...
    <!-- reusable replace-string function -->
    <xsl:template name="replace-string">
    <xsl:param name="text"/>
    <xsl:param name="from"/>
    <xsl:param name="to"/>
    <xsl:choose>
    <xsl:when test="contains($text, $from)">
         <xsl:variable name="before" select="substring-before($text, $from)"/>
         <xsl:variable name="after" select="substring-after($text, $from)"/>
         <xsl:value-of select="$before"/>
         <xsl:value-of select="$to"/>
    <xsl:call-template name="replace-string">
    <xsl:with-param name="text" select="$after"/>
    <xsl:with-param name="from" select="$from"/>
    <xsl:with-param name="to" select="$to"/>
         </xsl:call-template>
    </xsl:when>
    <xsl:when test="$text=''">NULL</xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$text"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    Then you call it from within the XSLT map as follows:-
    <!-- if contains a single quote, replace with 2x single quotes. This makes lookup-table work! -->
    <xsl:variable name="incoming">
    <xsl:call-template name="replace-string">
    <xsl:with-param name="text" select="inp1:myinputfield"/>
    <xsl:with-param name="from">'</xsl:with-param>
    <xsl:with-param name="to" select="'&amp;apos;&amp;apos;'"/>
    </xsl:call-template>
    </xsl:variable>
    <xsl:variable name="dvm-text">
    <xsl:value-of select="orcl:lookup-table('MYLOOKUPTABLE','INVAL',$incoming,'OUTVAL','ds/dev')"/>
    </xsl:variable>
    <!-- lookup-table returns null if input value not found. Output original value instead -->
    <xsl:choose>
    <xsl:when test="$dvm-text=''">
    <xsl:value-of select="inp1:myinputfield"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$dvm-text"/>
    </xsl:otherwise>
    </xsl:choose>
    Much Thanks to everyone who shares information and methods on the Internet!
    Cheers,
    Greg

  • How does EXIT modules in DMEE work?

    Dear friends, how does EXIT modules in DMEE work?
    If I want to use this module DMEE_EXIT_DK_OCR_ACCOUNTNO to extract the account number of an OCR line, what should I do?
    And especially what do I put in the import parameters?
    /René

    The module called DMEE_EXIT_DK_OCR_ACCOUNTNO is a dummy module or template module if you like.
    The problem is that the module DMEE_EXIT_DK_OCR_ACCOUNTNO has a condition that never where fulfilled!
    I copied the module to Z_DMEE_EXIT_DK_OCR_ACCOUNTNO and changed the conditions u2013 and then everything was working with import and export parameters!
    Either is DMEE_EXIT_DK_OCR_ACCOUNTNO a serious mistake in standard SAP or just an undocumented template to be modified!
    /René

  • Does UIBackgroundModes with key "voiceip" working in air 3.4?

    does <UIBackgroundModes> with key "voiceip" working in air 3.4?
    setKeepAliveTimeout() available too?
    If it works, how to config it?  So, i can forget APNs, receive message from server and use a local notification instead.

    Nope. The Flash roadmap says 2013.

  • How does impdp handles external tables

    I am just done with schema import and one of the package is invalid because it is referring the External Table. I am getting the error " Table or View does not exist".
    How does impdp handles external tables ?
    Do we need to replicate the directories and files from the source to imported destination ?
    Thanks

    Hi,
    Yes...
    external table directory not available on imported destination operating system
    You need to create the directories and files from the source to imported destination
    Recompile the invalid package
    Thanks

  • How does new Label Management feature works in Aruba Central?

    Q: How does new Label Management feature works in Aruba Central?
    A: Central provides a standard web-based interface that allows you to configure and monitor multiple Aruba Wi-Fi networks.  
    With as many as devices that central could manage, searching a specific device or set of devices becomes difficult. This is where "Label management" feature of Aruba Central helps out.
    With "Label Management", administrator can create various labels in advance and use them to assign it to different IAPs or Switches as required.  Once the labels are assigned, user can use the label string to search a device or group of devices in central.
    Follow these steps create various set of labels in "Label Management":
    Login to Aruba Central and click on "All Groups"
    In the left-menu, under "Maintenance" select "Label Management"
    Click on "Create Label" button and create as many labels you require as per the environment and ease of use.

    for rating . you need to enable rating from List options and choose if it's going to be 5 star or like 
    to add like button to each page in a publishing site you can use the below script 
    function LikePage() {
    var aContextObject = new SP.ClientContext.get_current();
    EnsureScriptFunc('reputation.js', 'Microsoft.Office.Server.ReputationModel.Reputation', function () {
    Microsoft.Office.Server.ReputationModel.
    Reputation.setLike(aContextObject, _spPageContextInfo.pageListId, _spPageContextInfo.pageItemId;, true);
    aContextObject.executeQueryAsync(
    function () {
    alert('you liked the page'); //here you can update the likes count of the page
    }, function (sender, args) {
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • GRC - Role Expert v5.2: how does the Transaction Usage functionality work

    Hi All,
    re: GRC - Role Expert v5.2: how does the Transaction Usage functionality work
    We are implementing GRC suite v5.2, but specifically my question is regarding Role Expert:
    SAP documentation states that it is possible to use Role Expert to do the following: for roles allows you to see if, or how much, a transaction is being used, when it was last used, and who used it.
    My question is how without Audit Log or RBE?
    Let me know if you have ever used this functionality and if it requires the SAP Back-End Audit Log to be turned on or RBE.
    Thanks in advance!

    Hi Gary,
    You dont need a RBE tool activation to get the successful transaction usage log with Role Expert.
    Role Expert functionality allows you to log all the transactions that have been added/deleted to the role that is changed. Also when you create a new role via the Role Expert then automatically the transaction log starts.
    If you go the "History" tab in the Role Expert, then you can find all the last changes made to the role.
    Also you can go to the "Risk Analysis" tab to find the log of Risk Analysis performed with the added tcodes.
    Hope this helps.
    Thanks,
    Kiran Kandepalli.

  • How does SMB 3 Multipath actualy work?

    First of all, sorry if there is a better form to post this in, I didn't see a general networking or SMB forum.
    I've been trying to find anything about how SMB 3 Multipath actually works at a networking level (OSI Layer 2, Layer 3). I can't find anything that actually talks about how it achieves multipathing once it's out of its exit interface. Even how it actually chooses
    potential exit interfaces is still a mystery to me.
    How does the MAC address forwarding work? Does it somehow dynamically learn the available MACs on the destination and split the load between them? If that's the case does it work over layer 3 subnets if there are two available routes? How does it learn about
    multiple available paths and actually get the network equipment to use them? In other words if Server A and B have 4 NICs they have 4 MAC addresses or more, one or more IP addresses, teamed or not teamed. Layer 2 adjacency vs Layer 3. There are a lot of variables
    that it has to work with. Is DNS involved at all? If my connection attempt is the server.domain.local DNS might have more than one IP address that server is reachable from but if I connect to 192.168.1.1 then I'm specifying an IP and DNS doesn't come into
    play, does that affect SMB 3 Multipath?
    I know SMB 3 works when in a team and not in a team, I've tried it. But if it is in an LACP team then once it leaves the server NIC it's up to the switch to forward that to the destination based on the hash, for a single flow in normal situations the switch
    would pick the same interface but I get increased bandwidth so I know the switch is sending to both interfaces, so I assume there are multiple flows. That means something about the flows has to be different, I assume the destination MACs, but I haven't put
    a packet capture to look...yet...
    Does anyone know of any papers or details that talk about these issues they can point me to? Every blog post or video I've seen is super generic about how it actually works. It's not magic.

    Hi,
    With Multichannel, SMB will create multiple TCP/IP connections for that single session (at least one per interface or more if they are RSS-capable). This allows SMB to use
    the combined NIC bandwidth available and makes it possible for the SMB client to continue to work uninterrupted if a NIC fails.
    Although a team always provides fault tolerance, SMB without Multichannel will create only one TCP/IP connection per team, leading to limitations in both the number of CPU
    cores engaged and the use of the full team bandwidth.
    The related article:
    The basics of SMB Multichannel, a feature of Windows Server 2012 and SMB 3.0
    http://blogs.technet.com/b/josebda/archive/2012/06/28/the-basics-of-smb-multichannel-a-feature-of-windows-server-2012-and-smb-3-0.aspx
    More information:
    How much traffic needs to pass between the SMB Client and Server before Multichannel actually starts?
    http://blogs.technet.com/b/josebda/archive/2013/01/18/how-much-traffic-needs-to-pass-between-the-smb-client-and-server-before-multichannel-actually-starts.aspx
    Hope this helps.
    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.

  • How does the DAQmx read.vi work in producer/consumer mode

    Dear all,
    I have one question: how does the DAQmx read.vi work in producer/consumer mode ? 
    I mean if i set the acquisition samples quantity is 5000,(see the enclosed picture), how does the DAQmx read.vi acquire the samples ?
    5000 samples one time ?
    And how does the write. vi work ? Also 5000 samples one time ?
    Look forward to your reply.
    Thank you.
    Attachments:
    producer consumer mode.png ‏28 KB

    It will read 5000 samples per channel.
    The Write Measurement File just writes whatever you give it.  It you send it 5000 data points, it will write the 5000 data points.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How does the Mac App Store work?!

    Hey guys i recently posted this quesiton in a different area of the community but instead of being helped was just ridiculed for posting in the wrong place... +1 for helpfulness guys :/ lol Anyways... ive been told to ask in the development section.. I have a $9.99 app and it was sitting at 10th place in the top grossing apps a few weeks ago on the UK app store, now I noticed in the morning that it was ahead of an app which was 49.99 so i presumed that I must have sold at least 5 or 6 to be ahead of him (my idea of top grossing is quantity x price) but when itunesconnect released their reports in the afternoon it turned out that i'd only sold 1 copy.. so what im asking is basically how does the top grossing section work? and how regularly does it update? is it live? daily? etc
    Thanks in advance!

    Your rank is better than the other app because you've made a sale while they've made none. When you make a sale, you jump in the charts, and after that you slowly go down if you don't make another sale. In other words, the bottom of the charts has many apps that didn't make any sale recently. I've also noticed that if you make some sales in other countries than the current chart, that'll very slightly improve your rank.

  • I am getting problem with internal table & work area declaration.

    I am working with 'makt' table ..with the table makt i need to work with styles attributes ..so i declared like this
    TYPES : BEGIN OF ty_makt,
             matnr TYPE makt-matnr,
             spras TYPE makt-spras,
             maktx TYPE makt-maktx,
             maktg TYPE makt-maktg,
             celltab TYPE lvc_t_styl,
           END OF ty_makt.
    DATA : i_makt TYPE TABLE OF ty_makt.
    DATA : wa_makt TYPE ty_makt .
        But end of program i need to update dbtable "makt"...i am getting problem with internal table & work area declaration.
    i think makt table fields mapping and internal table/work area mapping is not correct. so please help me to get out from this.

    Hi Nagasankar,
    TYPES : BEGIN OF TY_MATNR,
                  MATNR TYPE MAKT-MATNR,
                  SPRAS TYPE MAKT-SPRAS,
                  MAKTX TYPE MAKT-MAKTX,
                  MAKTX TYPE MAKT-MAKTG,
                  CELLTAB TYPE LVC_T_STYL,  " Its Working perfectly fine..
                 END OF TY_MAKT.
    DATA: IT_MAKT TYPE STANDARD TABLE OF TY_MAKT,
              WA_MAKT TYPE TY_MAKT.
    Its working perfectly fine. if still you are facing any issue post your complete code.
    Thanks,
    Sandeep

  • How does oracle accesses v$ tables or views in mount state

    Hi All,
    I want to know how oracle accesses fixed tables/views while the database is in mount state.
    I did the following:
    1. Started the database in mount state.
    2. Query v$database ,v$datafile--Successful
    3. Queried dba_data_files.---ERROR
    SQL> select * from dba_data_files;
    select * from dba_data_files
    ERROR at line 1:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    As per my understanding goes,all these tables are a part of Data Dictionary which is stored physically on system tablespace.
    Now since the database is mounted ,it cannot access any part of system tablespace's data.Am I right??
    So how does it queries v$ tables and other fixed database tables in mount state???
    Thanks in advance
    Saket Bansal

    the v$(dynamic) view comes from instance
    the dba(static) views comes from dictionary
    but there is only one view can be look while instance is in nomount mode
    and that is
    v$instance ,,,
    BUT ONLY THING I DON KNOW IS WHY WE CAN STILL DESCRIBE THE V$ VIEWS WHILE INSTANCE IS IN NOMOUNT MODE,,,
    ORACLE instance shut down.
    SQL> startup nomount;
    ORACLE instance started.
    Total System Global Area 285212672 bytes
    Fixed Size 1248576 bytes
    Variable Size 75498176 bytes
    Database Buffers 205520896 bytes
    Redo Buffers 2945024 bytes
    SQL> desc v$datafile;
    Name Null? Type
    FILE# NUMBER
    CREATION_CHANGE# NUMBER
    CREATION_TIME DATE
    TS# NUMBER
    RFILE# NUMBER
    STATUS VARCHAR2(7)
    ENABLED VARCHAR2(10)
    CHECKPOINT_CHANGE# NUMBER
    CHECKPOINT_TIME DATE
    UNRECOVERABLE_CHANGE# NUMBER
    UNRECOVERABLE_TIME DATE
    LAST_CHANGE# NUMBER
    LAST_TIME DATE
    OFFLINE_CHANGE# NUMBER
    ONLINE_CHANGE# NUMBER
    ONLINE_TIME DATE
    BYTES NUMBER
    BLOCKS NUMBER
    CREATE_BYTES NUMBER
    BLOCK_SIZE NUMBER
    NAME VARCHAR2(513)
    PLUGGED_IN NUMBER
    BLOCK1_OFFSET NUMBER
    AUX_NAME VARCHAR2(513)
    FIRST_NONLOGGED_SCN NUMBER
    FIRST_NONLOGGED_TIME DATE
    SQL> desc v$tablespace;
    Name Null? Type
    TS# NUMBER
    NAME VARCHAR2(30)
    INCLUDED_IN_DATABASE_BACKUP VARCHAR2(3)
    BIGFILE VARCHAR2(3)
    FLASHBACK_ON VARCHAR2(3)
    ENCRYPT_IN_BACKUP VARCHAR2(3)
    HOW DOES THIS COME FROM ????
    Edited by: jignesh kankrecha on Jul 6, 2009 8:12 AM

Maybe you are looking for

  • Probook 4530s cpu upgrades

     I was wordering for an upgrade on my probook 4530s i would like to know some or all if able proccessors for this laptop.... can you tell me some??

  • Mm integration to fi-co

    in mm where we have to integrate fi-co

  • BIAplicationFrame in a WebDynpro set setItemParameter ?

    Hi, everybody I have a WebDynpro Java that calls a URL BI report, the UI Element is BIAplicationFrame, I need to set the parameter for execute BI report. Does anybody have idea?? I found this that is guide for the UI Elements!! BIMethods API: Access

  • Mail app not displaying any screens - Missing after reinstall

    I've had my MBP for a few months and just decided to try to use the Mail app but it won't display any screens or "windows" no matter what I choose in the menu bar. It's showing up as though it's running in the icon bar at the bottom and the menu bar

  • PLEASE HELP: movies converted to Mpeg-4 files won't sync to ipod

    hi, i created some movies in avi format, used quicktime to convert to mpeg-4 files, pulled them into itunes and they play fine. however, when i try to sync/transfer them to my ipod, it won't let me. i have taken all symbols except for alpha/numerical