Is it possible to limit the output of a multi-turn encoder to match a single turn?

I am using a Heidenhain encoder with a Heidenhain EIB 741. The 741 takes the EnDat signals and converts them. I am using a LabView program from Heidenhain called Poll Positions. The outputs of the encoder are both Incremental and Absolute. The outputs keep counting after one revolution and I would like to return to 0. The program is using a 1 d array with quad 64 bit integer for the absolute value and a 1-d array of value 16 bit for the incremental values. I am trying to convert these to degrees. I have accomplished this except when it reaches 360 the count does not return to 0. Is there a way to make the position count return to 0 after the Bit count is complete?  Or is there a way to make the degrees return to 0? The degrees was output by taking the (Position/((2^26)/360)) which is Position/186413.51.
This is my first big LabView project I hope this is enough information.
Solved!
Go to Solution.

Hi msmith,
You could try using a property node in a case structure to change the value. For instance, when the "360" case is activated, the property node inside the case sets the value of degrees back to 0.

Similar Messages

  • Is it possible to limit the output of "show tech-support" to the data from a single switch in a cluster?

    I need to provide the output for one 3750x switch out of a cluster of 7.
    With all of the various stats, the entire log will be fairly large.

    From the master switch open a session to that switch and than run "sh tech-support"
    session 7
    sh tech
    HTH

  • Is it Possible to display the output of the ALV list as POP-UP

    Hi Experts,
                     Is it Possible to display the output of the ALV list as POP-UP, if yes then provide some ideas on it.
    thanking in advance,
    Samad.

    Hi samad, it is possible to display alv list as pop-up by using the FM " REUSE_ALV_POPUP_TO_SELECT"
    try this sample code
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
          EXPORTING
       I_TITLE                       =  P1_TITLE
           I_SELECTION                   = 'X'
           I_ZEBRA                       = 'X'
      I_CHECKBOX_FIELDNAME          =
      I_LINEMARK_FIELDNAME          =
      I_SCROLL_TO_SEL_LINE          = 'X'
            I_TABNAME                     = 'T_VBAP'
           I_STRUCTURE_NAME              =  'T_VBAP'
           IT_FIELDCAT                   =  T_FCAT2
           I_CALLBACK_PROGRAM            = 'ZTEST_ALV_POPUP'
       IMPORTING
           ES_SELFIELD                   = I_SELFIELD
           E_EXIT                        = W_EXIT
          TABLES
            T_OUTTAB                      = T_VBAP.
    i think it will solve your problem
    Regards,
    Vijay

  • Is it possible to limit the number of attachments

    Is is possible to limit the number of attachments that the mail server will receive in a message. For example if the email has 5 or more attachments reject it or through it in the bitbucket.
    The reason I ask is I have a remote site that is sending me 500+ email messages with 40 attachments in each. Well with virus scanning in the conversion channel it really backs things up.
    I have looked in the manual but have not been able to find anything.
    I am running ims5.2 patch 1.15 on HP-UX. Soon it will be patch 1.25 when school is out.
    Thanks,
    Gary

    Since each message is usually in a separate MIMEpart, you could use the conversion channel to do what you're asking, but . . .
    Routing every message through conversion will be a pretty big performance hit.
    How about simply blocking that particular site with an
    ORIG_SEND_ACCESS
    mapping entry in your mappings file?

  • Is it Possible to upload the output from Oracle reports To Access database

    Hi All,
    Wish you All a Very Happy New Year.
    I have a query.Is it possible to
    upload the output from the Oracle reports
    to the Access database???
    Any suggestions would be appreciated.
    TIA
    sg

    Hi sg,
    Research the DDE option.
    Dynamic Data Exchange (DDE) is a mechanism by which applications can communicate and exchange data in Windows.
    I have imported data into the excel spreadsheet using DDE built in functions. I am sure it can work with MS Acess as well. If not, then you need to create a 2 step process .. reports -> excel -> access.

  • IS IT POSSIBLE TO REDIRECT THE OUTPUT TO ANOTHER PAGE?

    Hi all,
    Is it possible to redirect the output when I excute my query in iSQL*plus to another predifined html page?
    If yes how do I do this?
    Thanks a mill

    You could do this..just read on..
    It would generate a html page for you...and..so on..!
    In addition to plain text output, the SQL*Plus command-line interface enables you to generate either a complete web page, or HTML output which can be embedded in a web page. You can use SQLPLUS -MARKUP "HTML ON" or SET MARKUP HTML ON SPOOL ON to produce complete HTML pages automatically encapsulated with <HTML> and <BODY> tags.
    By default, data retrieved with MARKUP HTML ON is output in HTML, though you can optionally direct output to the HTML <PRE> tag so that it displays in a web browser exactly as it appears in SQL*Plus. See the SQLPLUS MARKUP Options and the SET MARKUP command for more information about these commands.
    SQLPLUS -MARKUP "HTML ON" is useful when embedding SQL*Plus in program scripts. On starting, it outputs the HTML and BODY tags before executing any commands. All subsequent output is in HTML until SQL*Plus terminates.
    The -SILENT and -RESTRICT command-line options may be effectively used with -MARKUP to suppress the display of SQL*Plus prompt and banner information, and to restrict the use of some commands.
    SET MARKUP HTML ON SPOOL ON generates an HTML page for each subsequently spooled file. The HTML tags in a spool file are closed when SPOOL OFF is executed or SQL*Plus exits.
    You can use SET MARKUP HTML ON SPOOL OFF to generate HTML output suitable for embedding in an existing web page. HTML output generated this way has no <HTML> or <BODY> tags.

  • Airport extreme - is it possible to limit the range of access? I am wondering if I could limit the range to a few rooms downstairs of where it sits. It is not our main connection to the internet but an extending device.

    airport extreme - is it possible to limit the range of access?

    Sorry, you would need a 5.x version of AirPort Utility to limit the Transmit Power of the AirPort Extreme.......AND.....you would need to have an AirPort Extreme version that is flat, square shaped.
    The newer version of the AirPort Extreme looks like a tower.  Like the picture below. The Transmit Power can NOT be adjusted on that model:
    I would not recommend that you "update" to Yosemite. Too many bugs.
    It is possible to limit that times each day that a wireless device will be allowed to connect to the wireless network, so that might be a possibility.  Example, you could limit Junior's iPad to the hours of 5 PM to 9 PM each day.  He would not be able to connect to the network at any other time.
    Unfortunately, it won't take him long to find another network, or if its an iPhone, he can use 3G or 4G.

  • Is it possible to limit the user to one session?

    Hi
    We have Oracle apps R 12.0.6, single node installation. Because of performance issues, i want to restrict the user to have only one session. Is it possible to limit the user to one session?
    Regards
    Arizuddin

    Ateeq,
    I tried to load the event and subscription according to metalink document id
    About the oracle.apps.icx.security.session.created business event. [ID 304209.1]. it says file does not exist.How to resolve this?Could you please post the command along with the complete error?
    Regards,
    Hussein

  • Is it possible to get the output of a text container into Spool..?

    Hi
    I am trying to write a report for a standard transaction(SM65) in BDC and run thru background job so as to get the output in to Spool. Right now I am facing an issue to get the SM65(text container) tcode output into spool.
    FYI..I am using "CALL TRANSACTION 'SM65' USING BDCDATA MODE 'E'."
    Please provide tour valuable inputs.
    Thanks!
    Shiv

    Hi Shiv,
    Instead of writing BDC for T-code SM65 I would suggest you to use following function module to get the required data.
          CALL FUNCTION 'BPT_ANALYSE_START'
            EXPORTING
              server_name            = servername_tmp
              check_all_btc_servers  = sbpt1020-allsrvchk
              profile_check          = sbpt1020-profilechk
              xpgm_environment_check = sbpt1020-xpgmcheck
            TABLES
              protocol_tbl           = global_protocol_tbl
            EXCEPTIONS
              OTHERS                 = 99.
    Once you got the data into "global_protocol_tbl " you can create spool of it.

  • Is it possible to limit the number of returned Records by SQL ?

    Hello all together,
    i want to limit the number of records fetched by a sql-query
    to a fixed maximum for example 200.
    is there a way to do this like
    SELECT * FROM CUSTOMERS FETCH FIRST 200
    under 8.1.6 EE ?
    thx for any idea
    Lutz

    Use ROWNUM ...
    WHERE ROWNUM < 201
    There are a few "gotchas" with rownum, such as "rownum >
    20 and < 201" not working. Search the forum or see the
    documentation for more detail.

  • Is it possible to limit the number of remote panel connections to a vi?

    Hello,
    I have an application running on a RT PXI and I'm using remote panel to access it. My licence allows me to have multiple remote connections and it's ok as I sometimes need to open multiple remote panels at the same time.  However, I would like to limit the number of connections to 1 for a particular  VI.  Is it something that can be done?
    Regards,
    Patrick Lessnick 
    Solved!
    Go to Solution.

    Patrick:  If you right click on your target PXI system in the project exporer, select Properties>Web Server>Browser Access you can select who you let have access to your VIs.   Likewise, in the Visible VIs section of Web Services you can limit which of your VIs you want people to be able to see.
    If this isn't enough control, from your run time application on the PXI system you can write a startup VI (in parallel with your main application) to monitor the Remote Panel: Connections to Clients Property of the real time server.  Once this monitor application sees a connection you can take any number of actions to prevent more than one connection, deny access to specific IP ranges or what have you.
    I am assuming you are using LabVIEW 2009 and MAX 4.6.1 but it may apply to earlier editions.
    Hope this helps.
    Bill

  • How to limit the range of counter using rotary encoder

    Hello all!
    I'm new user of labview..
    I've problem to limit the range of counter by using rotary encoder..
    I use DAQmx 6024e in my project..
    Actually i am designing the controller for both dyno & throttle for engine testing..
    The idea is, i want to vary the output of 0-10V from ni card to control the dyno & throttle..
    I'm already manage to get the output from the analog output..
    The problem is due to my software..
    When i rotate the encoder shaft cw or ccw, it increase or decrease the voltage respectively just like i want..
    But, when the counter hit minimum (0 value) it jump to the maximum count which is 16.772M (for koyo encoder that i used)..
    In that case the output voltage is increase to 10V directly..
    So , the question is how can i limit the range of encoder so that it only count certain minimum or maximum value even the shaft is rotate cw or ccw over it standard limit which is 0 to 16.772M count..
    Tq

    You'll need to do a little software workaround on the values you read from your counter.   But first a little tutorial to explain *why*.
    The E-series boards use 24-bit counters.  When LabVIEW requests an integer count value, the count is returned in a 32-bit unsigned integer datatype, where the 24 lowest bits represent the value in the board's count register.  The upper 8 bits are *always* 0's.
    The count register can increment from 0 to 16 million plus (2^24 - 1), then it must "roll over" back to 0 again just like an odometer.  Similarly, when it decrements past 0, it next goes to the max value of 2^24 -1 as you observed.
    So we need a little software workaround that'll convert (2^24 -1) to (-1) and (2^24 -2) to (-2), etc.  The way to do it is to first detect whether the highest bit is a 1.  One way is to compare whether the count value is >= 2^23, making sure to use integers to do the comparison.  Whenever the value is >= 2^23, subtract 2^24 from it to create your new count value which will then decrement 3,2,1,0,-1,-2,-3, etc. as desired.
    Here's a link to a similar explanation.  Couple more notes too.  First, if this is a continuously rotating encoder, you may still encounter a discontinuity when the revised count value crosses the +/- 2^23 boundary.   Second, direct connection of a quadrature encoder to an E-series board isn't recommended because of unrepeatability when measureing direction changes.
    -Kevin P.

  • R12 limit the user privilage under multi-org situation

    Hi
    In R12, users needn't change the repsonsibilty to achieve the same transaction for multi-org.i.e. u can do the ou1,ou2....under the same AP responsibility.
    while if i want to limit users privilage under this situation, user1 is just limited to the ou1, user2 is just limited to the ou2....how can i relaize it?
    Any help will be preciated.
    Regards,
    Chelsea

    you can achieve this easily...I would suggest go through Documentation atleast once. This Subject is very new.
    Here is one senario how can it acheive for AP Invoice Entry
    Responsibility: Payables
    Navigation: Invoices:Entry > Invoices
    On the Invoice Workbench, you can select an Operating Unit, or enter another field, such as PO or Supplier Site, from which the system will default an OU. Your list of available OUs is determined by your multi-org security profile defined in Oracle HR and associated to their responsibility through the MO Security Profile profile option.
    How it works....once the application automatically provides the operating unit of new (uncommitted) invoices during entry. The following are methods by which the operating unit is derived:
    1)Default Operating Unit from “MO: Default Operating Unit” Profile Option
    2)Default Operating Unit from Invoice Batch Header
    >>When entering invoice batches, users have the option of establishing a default operating unit for the invoices entered in the batch. This can be overridden at the invoice level as with any other value (Payment Method, for example) entered in the Invoice Batches window.
    3)Derive Operating Unit from Transaction Attributes
    >>>Oracle Payables will derive the operating unit of an invoice based on certain user entered attributes. If the user chooses a PO (via PO Default or QuickMatch features) or supplier site when the Operating Unit field is empty, the Operating Unit corresponding to the selected value will be populated onto the invoice.
    4) Set Operating Unit from Single Operating Unit Security Profile
    >>>>> That mean when a user’s security profile contains only one operating unit, it can be said that the user’s operating unit context has been “set” to this operating unit. This value is automatically defaulted to all new invoices and it cannot be overridden.
    Hope this make sense.
    same is true for other activity like payment , period close.Let me know , in case if you are not clear.
    thanks

  • Is it possible to limit the size of a text box by word count?

    I know that it is possible to use a character limit but most users prefer a word limit as they feel it is a more meaningful restriction rather than punishing those that use long words!
    Is there some way to apply a word count limit on a text field in Designer?

    Thanks Elaine, I did find a a few scripts like this online but none of them were geared toward people using LCD to create forms.  The one you've posted is the simplest one I've seen and  I've adapted the script form the example you provided but have had a blank on how to call the script object using a click event on a button.
    So far I have
    function countWords()
                           form1.test.countText.rawValue = form1.test.enterText.rawValue.split(' ').length;

  • Possible to measure the output voltage of magsafe2 with a multimeter?

    As per subject, I have what i suspect to be a faulty 85w Magsafe 2 adaptor for my MBP Retina and I would like to determine if it is truly the adaptor that is faulty, or weather there is a fault with the MBP itself.
    Long story short, the MBP is no longer charging and the LED on the Magsafe 2 connector is no longer coming on, yet was a couple days ago.  I know the obvious answer is that if the MBP is not charging, the adaptor is faulty.  However would the LED come on if for instance, there was damage tio the logic board etc...?
    Although nothing has recently happened to either the MBP or adaptor, it did suffer a fall 18 months ago which resulted in a repair via an authroised repairer, although i am not entirely confident with the repairer but was forced to use them by my insurance company.  Admittedly the MBP has worked flawlessly since that repair (aside from a couple of dead pixels but thats another issue) but i cant help but worry that something else is amiss.

    I am aware of the pin layout of the connector but i had read that it will not output anything until activated to do so via the control pin (centre) and am unsure if it is possible to safely trigger this in order to get a reading.
    I might have tried the suggestion of checking the system information if the MBP was not now dead, but even so, it would not definatively tell me if the fault was in the adaptor or the logic board surely? I mean if it said "connected: no" all that would tell me is that it is not detecting the connection rather than the connection not being there and i am unclear on how the MBP detects this (other than the obvious i am getting power/i am not getting power).
    I dont mean to dismiss your help, but coming from an electrical engineering background my instinct is to determine if there is juice coming out of the adaptopr and if not i can take the whole thing in for reapir rather than wait for apple to send me a replacement magsafe adaptor which may or may not solve my problem.

Maybe you are looking for