11-25-2010 10:23 AM
Dear sasko,
I reproduced your system and I have a similar problem. The thing is, the loop is software timed. It takes some time for the task to close and start again.
If you want to control the timing in a safe way, you can for example use the continuous generation I mentioned before, but with a pause trigger.
An example can be found here:
http://decibel.ni.com/content/docs/DOC-12163
If you then use a second counter to detect how many pulses have been generated, you will be able to pause the first counter and perform measurement.
Below are some examples you may find useful:
http://decibel.ni.com/content/docs/DOC-2095
http://decibel.ni.com/content/docs/DOC-11412
http://decibel.ni.com/content/docs/DOC-11451
If you still have some problems, please create a new thread so that other users having similar problems in the future can find the solution.
Regards,
11-26-2010 03:37 AM
Hello,
I gave up from burst generator and found also this example with digital trigger which is faster.
Unfortunetly I don't have any avalaible input port for now, or I have to order new card as USB-6218.
I have new idea to use one counter for controll my step motor and the same counter divided internaly (??) as sample clock for AI.
In this way I will send continously 50pulse and measure analog value every 50th time.
I start a new thread at
http://forums.ni.com/t5/LabVIEW/divide-internal-counter/m-p/1322019
Regards