06-06-2009 01:54 AM
Hi!
I am using Labview 7.0 with DAQ traditional with PCI-6602.
I received an error as shown in the attachment : the pulse period is invalid.
I am using the ordinary "Generating pulse train.vi", with following parameters input:
Number of pulse = 100000
frequency = 10Hz
duty cycle = 0.5
However if I lower the number of pulse, say to 100, it works again, but I dont know what is the boundary of it to avoid error.
Could anyone tell me what is going on? I couldn't find any reference nor seen any specification stating the maximum number of pulse. I have tried for many hours..
Raymond
06-06-2009 01:35 PM
Hi! Could anyone please help me... I found the problem occur if the ratio of "No. of pulse" to "frequency" is greater than 167.5
I did one amendment to the "Generating pulse train.vi", that is to constraint it to use counter 6 as the gating of the pulsing counter (here in my case it is 0). I implement this constraint by replacing the "counter -1" to "6" so it wont use the supposed counter -1 (that should be 1) for the gating source.
Please ... anyone please help me.
06-08-2009 05:34 PM
Hi vgbraymond,
This KnowledgeBase addresses the issue. If you don't apply your amendment to the example vi, do you see the same "number of pulses" to "frequency" ratio?
06-08-2009 10:32 PM
I cannot open the link to the database..
For the ratio, I calculated it by myself... when I tried to figure out what is going wrong.
Raymond
06-09-2009 02:44 PM
Hi Raymond,
Sorry for the bad link! Here is the KnowledgeBase, again. With regard to my previous question, if you run the generating pulse train.vi without your amendment do you still calculate the same number of pulses to frequency ratio, or is it only when you implement your amendment?