How to capture motor position periodically? Time interval not position related

I am working on a project which needs to capture positon of 3 motors every 20--100 microseconds. Is there any way to do that? What is the highest rate? I am considering using a while loop to locate motor. But it seems that the highest rate is 1 milliseconde.
I am using PCI7344 cotroller, software -- labview.
Thanks

On the 7344 the fastest rate at which you can do this is 100 hz. The method you should use is the high speed capture. Basically a hardware trigger that, when activated, stores the position where it happened into a registry which you can later retrieve. Our high end 7350 series controllers can do this into a buffer at a rate of up to 3Khz. You can find an example of using high speed capture here:
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=C04F7F32E01F0274E034080020E74861&p_node=DZ52480&p_submitted=N&p_rank=&p_answer=&p_source=External

Similar Messages

  • How to capture the date and time of  a background job

    Hi experts,
    How to capture the date and time of  a background job?
    How to find whether it is runned succesfully or not?
    If it is not successful how to put error message?
    ASAP
    Thanx in advance,
    Sudha

    To Display the STATUS of the JOB which is exectued in background
      CLEAR : wa_jobsteplist.
      REFRESH : i_jobsteplist.
      WRITE:/ 'DISPLAYING JOB STATUS'.
      CALL FUNCTION 'BP_JOB_READ'
        EXPORTING
          job_read_jobcount           = w_jobcount
          job_read_jobname            = w_jobname
          job_read_opcode             = '20'
        JOB_STEP_NUMBER             =
       IMPORTING
         job_read_jobhead            = wa_jobhead
       TABLES
         job_read_steplist           = i_jobsteplist
    CHANGING
       RET                         =
       EXCEPTIONS
         invalid_opcode              = 1
         job_doesnt_exist            = 2
         job_doesnt_have_steps       = 3
         OTHERS                      = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    To Display the status text as per the status type
      CASE wa_jobhead-status.
        WHEN 'S'. WRITE: / 'Scheduled'.
        WHEN 'R'. WRITE: / 'Released'.
        WHEN 'F'. WRITE: / 'Completed'.
        WHEN 'A'. WRITE: / 'Cancelled'.
        WHEN OTHERS.
      ENDCASE.

  • How to set olite auto sync time interval

    Hi all,
    How to set the auto sync time interval for a publication item, publication or to a user.
    Can anyone tell me, which one is best among setting the auto syncing and syncing with the code.
    I am searching for the code to sync in java only upload or download and both. I tried with some code but it is giving me oracle.lite.mSync.SyncException: AES encryption error.
    Thanks in advance,
    Khadaree

    Bonjour,
    Même demande ;-)

  • How can you set the ctxsvr time interval ?

    I would like to know how can i set the time
    inteval between each update of the Intermadia
    indexes.
    Thanks.

    stop and restart ctxsrv on specified intervals.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Lombar vincent ([email protected]):
    I'd like to use the ctxsrv utility, because i want automatic index rebuild.
    But Is it possible to set the time interval
    between each update?<HR></BLOCKQUOTE>
    null

  • How to capture SOAP fault when using "Do not use SOAP envelope" parameter

    Hi,
    we have a synchronous  RFC -> XI -> Web Service scenario. The Web Service requires some custom SOAP header elements for user authorization which forced us create the entire SOAP message in a message mapping and to set the "Do not use SOAP envelope" parameter in the receiving SOAP adapter.
    In order to capture the SOAP fault message from the Web Service we have created a message interface with a fault message and also created an interface mapping with a fault message mapping.
    Our problem is that the fault message is not populated when we get a SOAP fault message back from the Web Service. Is this due to the fact that we have set the  "Do not use SOAP envelope" parameter?
    Thanks in advance!
    Stefan
    Message was edited by:
            Stefan Nilsson

    Hi Bhavesh,
    I have exaactly same scenario. But the only difference is that the Successful payload is also not coming into PI.
    The request is successfully hittng the webservice.
    Please guide me on how to capture the paylod.
    I am using the WSDL provided by the thirdparty but sill the message is not coming into PI.

  • How to capture the job start time

    Hi,
    how do i capture the time the job start running and the time the job end? when i query this
    SQL> select * from user_jobs;no column are showing when the job start time (only last_sec and next_sec). I want to copy user_jobs view into ajob_history table, like this:
    Job history table
    Job_start Job_end
    (?)     (last_sec)

    Why not add a log time into the job call itself? That way, you can collect the information yourself for the jobs you're interested in.
    So instead of the "what" parameter being "my_proc(p1, p2....)", change it to something like:
    declare
      v_start_time TIMESTAMP;
      v_end_time  TIMESTAMP;
    begin
      v_start_time := systimestamp;
      my_proc(p1, p2....);
      v_end_time := systimestamp;
      log_job_time('Unique identifier', v_start_time, v_end_time);
    end;and have the log_job_time process insert a row into a logging table that captures the name of the job and it's start and end time.
    That's if you can't include the timings in your procedure, of course.

  • How to capture to minimize encoding time?

    I'm capturing video from some old family VHS tapes before all of our VCRs die. I'd like to put the captured video on a playable DVD. My first one has been encoding for about 24 hours, which seems longer than it ought to be.
    The video is coming in from a Canopus ADVC-100 converter box over FireWire into the Mac. I've been using QT Pro to capture.
    Are there any capture settings or other methods that would give a significant reduction in iDVD encoding time?
    Thanks in advance!

    You must be a very patient person...... But why not do what i did? .... since I had over fifty Mini DV, VHS, and SVHS T120 tapes to quickly burn to DVD-R. I bought one of these:
    DVD Recorder with Digital inputs
    Went to Fry's Electronics here in San Marcos, CA and purchased a Daewoo DVR07 DVD-Player / Recorder (I think I paid under $80 after rebates) with FW inputs and connected the minidv camcorder directly to the recorder or VCR which then records in real time. No long waiting for encoding to take place. Does it on the fly complete with Menu, interval chapters, etc. which you set with the remote and it even records in sessions as opposed to write at once.
    It's much faster and it actually looks pretty good (but it does not have all the fancy menus and higher quality / pro settings you'll find in iDvd'08).
    A second option (EyeTV3 from Elgato) is on the following link:
    http://discussions.apple.com/thread.jspa?messageID=8559403&#8559403
    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in this topic. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information above at your own discretion.

  • Hi, I would like to ask about how to capture data from real time loop.

    Hi,
    Here is some overvier of my project:
    I have done real time control using labview 9.0. I used PID controller.
    In order to optimise this controller, I need to capture data from my sensor(input) and actuator (output).
    1. For example while real time control is running. I need to capture 1000 sample data (sensor(input) and actuator (output)).
    Then I will used these data for PID optimisation on the other loop without intefere my real time loop.
    2. When PID optimisation is completed, I will sent its PID parameter to real time control loop.
    3. These operation is done in parallel.
    Anybody can help me to solve these. Your idea may solve my problem.
    TQ

    Typically you will have to use RT FIFO or Queue communication to avoid any impact to your time critical loop.
    Best regards
    Christian

  • How can make PIR in period of adjustment not visible in MD04

    Dear guru ,
    I have defined a period of adjustment for planned independent requirements.
    These pir are visible in MD04 but they arenu2019t influent for mrp.
    I want to make these pir not visible in MD04 
    I donu2019t want to delete the pir because I want to maintain history of planned and withdrawn quantity.
    How can I do that ?
    Thanks is advance.

    Hi,
    A suggestion:
    Split the requirements into 2 lines (i.e. 2 versions), one line which is active, but does not contain the requirement which you do not want & the other which is not active & contains the reqmt which you do not want in MD04.
    Regards,
    Vivek

  • Capturing data of the previous time interval with Oracle Stream(HotLog)

    I read from 10g Oracle manual that Oracle Steam can capture data within specified time interval with begin_data and end_data options.
    For example :
    BEGIN
    DBMS_CDC_PUBLISH.CREATE_CHANGE_SET(
    change_set_name => 'set_cns',
    description => 'set_cns...',
    change_source_name => 'HOTLOG_SOURCE',
    stop_on_ddl => 'y',
    begin_date => sysdate,
    end_date => sysdate + 1);
    END;
    However if I set begin_date to previous time from now, Oracle doesn't caputre data anymore in this case.(HotLog method)
    (I set begin_date => sysdate - 1/24
    end_date => sysdate + 1/24.)
    Does anybody know to capture the previous time interval with Oracle Stream?

    Change C2 to:
    cursor c2(passing_date IN date) IS
      SELECT MONITOR_ID, SAMPLE_ID,
                   COLL_TIME, DEW_POINT
        FROM ARCHIVE_DATA
        WHERE COLL_TIME < passing_date
        ORDER BY COLL_TIME desc;And rather than populating a table with the three records, you could just select the three records using: where COLL_TIME between Prev3_time and Prev1_time

  • Capturing cursor position in edittext

    Hello everyone,
    Anyone who knows how to capture cursor position in edittext in SAP b1 (similar to TextBox.SelectionStart in c sharp)? Please help.

    Hi Taganya,
    I think its not possible
    Refer This......
    Link: [url] Find out Cursorposition in TextEdit
    Link: [url] How to insert text at cursor position in edit text of SAP B1 UIAPI
    Thanks
    Shafi

  • Want to reduce Log switch time interval !!!

    Friends ,
    I know that the standard LOG SWITCH TIme interval is 20/30 minutes , i.e., every time it is better switch redolog 1 to redolog 2 (or redolog2 to redolog3) within 20/30 minutes.
    But in my production server , Logfile switches within every 60 minutes every time in the peak hour . Now my question , How I can make a situation where my logfile should switch to another logfile between 20/30 minutes .
    Here my database configuration is :
    Oracle database 10g (10.2.0.1.0 version) in AIX 5.3 server
    AND
    SQL> show parameter fast_start_mttr_target
    NAME TYPE VALUE
    fast_start_mttr_target integer 600
    My every redolog file size is = 50 MB
    In this situation , give me advice plz how I can reduce my logswitch time interval ?

    You could either
    a. Recreate your RedoLog files with a smaller size --- which action I would not recommend
    OR
    b. Set the instance parameter ARCHIVE_LAG_TARGET to 1800
    ARCHIVE_LAG_TARGET specifies (in seconds) the duration at which a log switch would be forced, if it hasn't been done so by the online redo log file being full.
    You should be able to use ALTER SYSTEM to change this value.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Modify the AWR snapshot time interval

    Hi,
    on 10g R2 how to Modify the AWR snapshot time interval to two hours ?
    Thanks.

    Hi,
    Please see the below link to modify AWR snapshot time interval through command prompt and EM Datbase/Grid Control
    http://www.dba-oracle.com/art_dbazine_freeman_database_advisors_p1.htm
    Hope this helps.
    Regards
    Satishbabu Gunukula
    http://oracleracexpert.blogspot.com
    [Click here to lean Delete Archive logs using RMAN|http://oracleracexpert.blogspot.com/2009/08/delete-archive-logs-using-rman.html]

  • OM Notable able to capture Approver Rejected comments from the Note field in WF

    Hi,
    Could you see attached image, I need to capture the comments from Approver if it is rejected.
    Any these comments must flow to (Notification from AR).
    Could you let me know how to capture Rejected comments.
    Approver has Note field for providing Rejected comments.
    Thanks

    hi,
    If you want to use digital signatures for each status do the following procedure
    1) Define signature strategy for each status
    2) Select status detail and assign signature strategy
    3) Under 'Attributes' select 'Content version'
    4) Select the 'Status type' as 'Locked'
    Assign a signature strategy to the document status.
    Also the required settings are made under Document Management >> Control data >> Define document type >> Define document status. (You can select any status for which you want digital signature for approval)
    Assign a signature strategy to the document status.
    Save the changes.
    Create DIR
    Once the Document is reached to that particular status it will ask for digital signature. Choose Digital signature (Double click on Enter key).
    if everything is right 
    The Digital Signature dialog box appears. Enter your comment upto 200 words in the text field. Select the individual signature strategy is assigned to you DIR. Put the login id and password.Thus the Digital signature process has been completed.
    If this answer is useful donu2019t forget to award points,
    Thxu2026

  • Step motor control with a time interval

    Hi all,
    I am trying to control a step motor to move in vertical direction by Labview2010. The specific Labview function blocks are created by the manufacturer of the step motor. Now the axis can move properly but my question is that I want it to move with a time interval. For example, we set the desired position to 10mm and waiting time 1s. When I click on the start button once only the axis moves 1mm and wait 1s. Then axis moves another 1mm and wait 1s. This action will obviously repeat 10 times until the axis reaches 10mm position.
    I will be very thankful if someone could give me some hints.
    Best regards,
    Nicky

    You're welcome
    You should some more to the code so that it's more reliable. There might be some miscalculation between the travel distance and the resolution, i.e. 5mm travel and 2mm resolution will give the forloop 2,5. This should be either 2 or 3. I'm not quite sure how the for loop handles this. I think it will round to nearest. You should anyways check it out. Also avoid using 0mm.
    Good look with your project 
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

Maybe you are looking for

  • Setting up Free Goods in CRM 5.0 Standalone

    Dear Friends, We are trying to set up Free Goods in our CRM 5.0 standalone environment. What we want to realize is that, if customer buys product A, product B will be added to the order automatically as free of charge. So far we have no idea how to g

  • ADF Application and Oracle Portal Login Page

    We have developed ADF application and deployed it in Oracle AS 10.1.2 along with the custom JAAS module, which is working fine with the application custom login page. As a next page, I want to use Oracle Portal login page for the authentication and a

  • Create Usercontrol for SharePoint 2013

    Hi Can any one explain step by step process for developing and deploying a User control to a master page. I did the following steps. 1.) Created a new solution using visual studio 2012 2.) Added a user control to the project and added some HTML page

  • Multiple Libraries on iTunes

    Is it possible to have multiple libraries on iTunes? How do I set them up. I have a library with about 26,000 songs and want to add out holiday music. I'd like to have a seperate library just for the holiday music and be able to switch between them.

  • Unable to edit boilerplate text in layout

    After a recent dev 1.6.1 upgrade, I am unable to edit boilerplate text in the layout editor- my OS - solaris 2.8 reports version : 2.5.7.17.0 DB version : 7.3.4.4.0 It works with Solaris 7. Your help is appreciated.