Help with look up table


Results 1 to 8 of 8

Threaded View

  1. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: Help with look up table

    Not sure if it's better, but the title was about a LOOKUP table ...

    Code:
    Idx      VAR BYTE
    
    Get_Pressure:
        LOOKDOWN2 datax,<=[322,325,328,331,336,339,342,346,351,355,360,364,370,375,379,389,65535],Idx
        LOOKUP2       Idx,[999,  0, 25, 50, 75,100,120,140,160,180,200,220,240,260,280,300,  999],pressure
    RETURN
    Last edited by Darrel Taylor; - 11th April 2012 at 02:14.
    DT

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts