Hi MG83,
I will try to respond to your question:
I have done some minor modifications. First I have changed from frequency / duty cycle back to high time / low time control.
Further
I I tried to change the upper counter (actually counter 0) from the
"continous samples" mode to the "finite samples" mode, because I want
to produce only a finite number of pulses (e.g. 10), but then I get
exactly the same error as yesterday.
If you let the configuration like I made with your card number, you will not receive any error message.
If you want to generate 10 Pulses you must start the task again after each generation.
If you receive the same error as yesterday, you don't configure the counters correctly.
First try to generate pulses on the counter0 without counter1 and after that try to do the both simultaneously...
PS: Take care that you don't have the test panel open at the same time.
Is it possible that I simply do not have enough
hardware resources for this purpose on the PCI-6025E-Board? Or where is
the problem?No there is here no problem, I try with a 6025 and it work exactly as on my 6040...
Another question: You use the "is task done"-VI
for the lower counter. However this counter is cofigured to be
retriggerable, so I wonder, if the "is task done"-VI can ever return
TRUE? Or in other words: How should this task know, if there are no
further trigger events so that it is done?
It's te same method as in the example...You must hold the task open...and you use this function to chack if an error occure, if you don't use function in the loop, you don't check the errors and don't have informations...
Try first to use my example and if the a problem come, post your question with a screen shot of the error that you receive.
Please take care that the counter are right configured and that you did not open tasks on the same ressources...
Regards.
Matthieu