LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

6602, error 10137, please help me !!!

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

0 Kudos
Message 1 of 5
(3,003 Views)

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.

0 Kudos
Message 2 of 5
(2,981 Views)

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?

David
Applications Engineer
National Instruments


Digital Multimeters
0 Kudos
Message 3 of 5
(2,945 Views)

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

0 Kudos
Message 4 of 5
(2,936 Views)

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?

David
Applications Engineer
National Instruments


Digital Multimeters
0 Kudos
Message 5 of 5
(2,922 Views)