How to send trigger pulse for every 0.25 sec until user stops the task?

Hi All,
Iam using NI_DAQ PCI 6221 Card for the Data Acquisition.
Can any body please tell me how to send trigger pulse for every 0.25 sec until the user stop the task??
Please suggest me the methods I should use to meet this requirement.
Thanks In Advance,
Sindhu

Hi Sindhu,
Am I correct in thinking that you do not want to use your 6221 to output a digital pulse, but that you are getting a digital pulse from somewhere else that you want to use as a trigger for the analog input?  And you will have more than one trigger?  If this is the case, then it can be accomplished by doing a retriggerable operation.  The way that this works is you use the counter on your board to generate the sample clock for your analog input because analog input cannot do retriggerable operations with its own sample clock.  You can modify the example GenDigPulseTrainContinuous_DigStart that is in the same location as the example I referenced before to be retriggerable by using the property DAQmxSetStartTrigRetriggerable.
After doing that and testing to make sure that it works, you can setup an analog input task like the example ContAcqVoltageSamples_IntClk but specify the source of the sample clock to be the internal output of the counter you used in the counter portion of your program.  If you need help with the terminal names (You will need to use Ctr0InternalOutput for example), you can reference the NI-DAQmx C Reference Help at Start >> Programs >> National Instruments >> NI-DAQ.  After doing this, you will acquire the same number of samples as the number of pulses you choose to generate in the counter portion of your code every time a trigger is received.
Also, I have come across an example that does retriggerable analog input using the counter as a sample clock in C++.  Either by using this example or modifying the shipping examples as I stated above you should be able to achieve what you are trying to do.
Let us know if you have any questions.
Thanks,
Laura

Similar Messages

  • How to get wage type for every time record

    Hi Pros,
          I am using DS 0CA_TS_IS_1, it includes report time type (0REPTT), but not have wage type. in CATSDB, I fied fields for attendance/absence type and wage type. but not every time record has wage type. can you please tell me how to get wage type for every time record? what is relation between reporting time type, attendance/absence type and wage typs?

    Hello,
    Can you talk to your HR/T&E functional consultant if they populate these values in CATSDB table using standard way or if there are custom fields that are in CATSDB OR any other table which can be used to meed the requirements
    Thanks
    Abhishek Shanbhigue

  • How to send a text message to a group of people and save the list for next time?

    how to send a text message to a group of people and save the list for next time from an iphone 4s?

    Hey there ipremacha,
    It sounds like you need to enable Text Message Forwarding on your iPhone for your iPad to send MMS/SMS messages through your phone.
    Connect your iPhone, iPad, iPod touch, and Mac using Continuity
    Go to Messages > Text Message Forwarding, and enable the device(s) you would like to forward messages to.
    Your Mac, iPad, or iPod touch will display a code. Enter this code on your iPhone to verify the SMS feature.
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    How to send my ipad for technical assistance? He fell to the floor but still binds despite problems in the system

    Here you go: http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipod
    Good luck!

  • How to execute a loop for every 15 minutes

    how to execute a loop for every 15 minutes or 30 minutes constantly...

    I need to insert a number into an array for every 15mins continuously..and the array need to hold all datas for example in 0th position i insert a value 10 by 10.00am, after that at 1st position i need to insert 11 by 10.15am, next at 2nd position i need to insert 12 by 10.30am and so on...how this can be done

  • How to set raw format for canon powershot a1100 is ? ,,according to the specs online it can.

    how to set raw format  for canon powershot  a1100 is ? ,,according to the specs online it can.

    It requires the Canon Hacker's Developement Kit (CHDK). It runs off of your SD card and does not harm your camera. Download a program called Stick-
    http://zenoshrdlu.com/stick/stick.html
    Follow the directions and you will be able to shoot in RAW along with some other deatures not available on your camera previously.

  • How to send a mail in workflow keeping 1 receiver in CC and the other in TO

    Hi,
    Can anybody tell me how to send a mail in workflow keeping 1 receiver in CC and the other in TO.
    I need to send a mail to an employee keeping his/her manager in CC through workflow.
    Regards,
    Lavanya

    Hi Lavanya,
    I dont think its possible using Send mail step type.
    But it can be done by using the FM SO_NEW_DOCUMENT_SEND_API1. Just create a method and Call this FM accordingly.
    Thanks,
    Viji.

  • How to  send ALV output data into Excel sheet format via Mail to the user?

    Hi friends,
    I have a doubt ie,
    How to  send ALV output data into Excel sheet format via Mail to the user?
    regards
    Moosa

    Hi,
    Provide the output internal table to the objbin in the below FM
    Send Message
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = i_docdata
                put_in_outbox              = c_x
           TABLES
                packing_list               = i_objpack
                object_header              = i_objhead
                contents_bin               = i_objbin
                contents_txt               = i_objtxt
                receivers                  = i_reclist
    and specify the document type
      i_objpack-doc_type   = 'XLS'.
    and try.
    Regards,
    Nandha

  • How can i delete apps for IOS 7.0.6 when i press the home key the "X" key doesnt appear

    how can i delete apps for IOS 7.0.6 when i press the home key the "X" key doesnt appear?

    Hi-
    This worked!. After updating to 7.0.6 a few days ago I was unable to delete apps. Called Apple support for help without success. I have NEVER entered a passcode to get in to restrictions so I know I didn't make this change (so I'm assuming that 7.0.6 did it for me). Apple wanted me to restore my iphone but thought I'd do more research first. Your advice solved the problem. THANKS!

  • Failed to send start signal for complete cluster, SLD may still be stopped.

    Hello,
    I am trying to create technical systems in the SLD on the portal (http://host:port/sld). It prompts me to start the SLD server by going to Administration.
    When I click the button "Start Server" under Administration, I get this following error message:
    "Failed to send start signal for complete cluster, SLD may still be stopped on other cluster nodes."
    Can you please tell me what has to be done to successfully start the SLD server so that I can go ahead and add technical systems.
    Thanks
    Srinivas

    Hi Siddarth,
    I checked MMC. There is only one instance running.
    Here is the structure in MMC.
    Database
    Instance 0
    Instance 1
    Instances are green and running.
    Here is log on the server:
    #28 12/12/2008 07:43:44.413 [SAPEngine_Application_Thread[impl:3]_15] FATAL com.sap.lcr.start.StartDirector: SLD start failure, unable to activate the SLD CIMOM. Check the log of the persistence medium for any errors. If the error is reproducible, please send a message to SAP. More...
    #27 12/12/2008 07:43:44.397 [SAPEngine_Application_Thread[impl:3]_15] FATAL com.sap.lcr.objmgr.core.TransactionContainerChangeBuffer: Storing changes to cache failed. Please restart the application to reinitialize the cache.(Error: CIM_ERR_FAILED: Failed to initialize cluster notification sender.) More...
    #26 12/12/2008 07:43:44.382 [SAPEngine_Application_Thread[impl:3]_15] ERROR com.sap.lcr.cimsrv.ClusterNotificationSender$JMSSender: Failed to initialize cluster notification sender. Please check your JNDI service and JMS provider for errors. More...
    #25 12/12/2008 07:43:44.288 [SAPEngine_Application_Thread[impl:3]_15] ERROR com.sap.lcr.webui.CimIO: Failed to send start signal for complete cluster, SLD may still be stopped on other cluster nodes.
    #24 12/12/2008 07:43:44.288 [SAPEngine_Application_Thread[impl:3]_15] ERROR com.sap.lcr.cimsrv.ClusterNotificationSender$JMSSender: Failed to initialize cluster notification sender. Please check your JNDI service and JMS provider for errors. More...
    What could be the problem.

  • How long it will take for apple to verify my info to get the new software for free?

    how long it will take for apple to verify my info to get the new software for free?
    i have submit my request since 6 hours, is that normal??

    from what i hear, it takes a minimum of 72 hours before you hear back from Apple.
    but because there are a lot of people are wanting to get their free upgrades, it might take even longer now.
    good luck - just be a little patient and your turn will come soon....

  • How do I stop the task panes from opening automatically when I open a PDF?

    How do I stop the task panes from opening automatically when I open a PDF?
    When I open some of my PDFs the task panes open too. I do not want them to as I have never used them in reader for any purpose. I use reader to READ PDFs. I don't need the task panes and don't want them opening when reader starts.

    Adobe seem to have decided that they are so important that you must see them. Perhaps because it is their chance to sell you stuff. It seems to vary between releases, are you on the latest? Curiously, many people have no idea how to open and close these panels.

  • Since yesterday my iphone 4 has started to freeze intermittently when unlocking.  When it happens nothing happens (left it for an hour last night) until I reset the phone, but it's done it 5 times today. Never had this prob before.   Any thoughts?

    Since yesterday my iphone 4 has started to freeze intermittently when unlocking.  When it happens nothing happens (left it for an hour last night) until I reset the phone, but it's done it 5 times today. Never had this prob before.   Any thoughts?

    I had the same problem (freezing iphone when trying to unlock) today.
    1) I made a backup of my iphone using itunes.
    2) Went to my service provider and made a sim swap. So, I think there was a problem with the nano simcard.
    Problem solved.

  • How do I program a NI 6602 card to send trigger pulses, one at each output port, triggered by an input trigger signal, using only one counter for each output port?

    Hello,
    I have managed to program a NI 6602 card in LabView to send pulses on three different output ports, one pulse on each output port (with individually chosen delays) for each input trigger pulse coming on a separate input port. It is the DAQmx Create Channel (CO-Pulse Generation-Time)-VI that I have used for this, see attached code. However, this VI controls both pulse delay and pulse width, and therefore uses two counters for each output port (although you only specify one counter in the VI input signals), as I understand.
    In my application though, I only need to have the delay chosen, the pulse width can be arbitrarily short, and thus I should only need one counter for each output port. How do I accomplish to program this in LabView?
    Best regards,
    Claes
    Attachments:
    Configure Side Camera Flash 1 Triggering.vi ‏47 KB

    Well you're welcome to do that--it will work just fine as long as you are configuring a start trigger.
    <rant>
    However, personally I really don't like putting multiple counter outputs in the same task.  I have seen so many people assume that the counter outputs would be synchronized due to having them in the same task when this is not the case (you need to configure a start trigger in order to synchronize the counter outputs even if they are in the same task).  This is the only case I can think of where multiple channels in a DAQmx task are not automatically synchronized.
    As an example:
    Running this on my PCIe X Series gives a measured 2 edge separation of 1 ms + {7.78 us - 10.11 us}.  This would likely be much worse on a bus with more latency (e.g. USB).
    The resulting output is close enough to what you might expect that it might go unnoticed, but really these counter outputs are not synchronized and it would be easy to glance at the code and not even think twice about it.  For the small amount of extra work on my end to create a separate task for each counter, it really clears up some ambiguity about what the counters are actually doing.  For me it's worth it.
    So again, for your case there really isn't a problem with having the counters in the same task since you are using an external start trigger anyway.  I have just gotten in the habit of avoiding doing this.
    </rant>
    Best Regards,
    John Passiak

  • How to send a report for particular job chain every hour regarding the job

    Hi Gerben/Anton
    We are running one jobchain for all billing jobs . Is any chance is there to send a report automatically to certain pupils for every one hour regarding the job status(excel format ) .
    Coudl you please help on this it should be good if i get any reply on this .
    Thanks
    Ramkumar

    Hi Ram,
    I need your help on getting mail alert with  log file.
    here is how i have provide the parameter valure for job definition: system_mail_sent.
    Step1 with one job1 and step2 with one job1
    In step2 , i have included the job definition to send mail. with below parameter.
    Relative Job: Step 1, Job 1
    Job File: step 1, job 1: step 1/log.txt
    Please let me  know if the above method is correct or not.
    NOTE: mail server and from address are configured.
    Thanks,
    Karthik

Maybe you are looking for