Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6602: How do I ensure that it is functioning properly??

Hi!

 

I have installed a PCI-6602 into my system.

 

I have ran a "Self-Test" on the board and it says it passed.

 

We are trying to generate a pulse through PFI36 cntr0. For some reason, it is not generating the signal from the software we recieved from another company.

 

Is it possible that a NI-DAQmx version difference could be driving this problem? We have a 8.8.0f2 and they have 8.7.1f3.

 

Are there any other "Self-Tests" we can run on this board to ensure that the NI board is functioning properly?

 

What other problems could we be looking at?

 

Thanks for your time!

0 Kudos
Message 1 of 5
(6,854 Views)

Hi kjosh,

 

There are a few steps you can take to troubleshoot your board.  If you right click on your device in MAX and select Test Panels, you will be able to generate a low level pulse with your selected counter.  Try using a few of the other counters and see if you can generate a pulse.  This will be a good starting point for troubleshooting, let me know what you see from your board.

 

Concerning the DAQmx driver difference, it should not be a concern, especially since your driver version is the more recent version.  Our DAQmx drivers are backwards compatible with each other, so there is no need to downgrade the driver.

Message Edited by Kyle A. on 05-05-2010 09:51 AM
Kyle A.
National Instruments
Senior Applications Engineer
0 Kudos
Message 2 of 5
(6,835 Views)

I have met the same problem today.

I used Gen Dig Pulse.vi and knew  Measure Pulse Width.vi could be used to verify the pulse.

so I run these two examples togethere ,but an error occurred. Error code is 50103.The specified resource is reserved. The operation could not be completed as specified.

I search the Net,put these two vis in one block diagram. It runs well,but no pulse width is displayde.

So i wonder how to self test my 6602. can i generate a pulse and observe the result with labview instead of an oscilloscope?

thank you for your help

0 Kudos
Message 3 of 5
(6,625 Views)

Hello,

 

You can do this:  Set up a slow pulse train for CTR0 (1Hz).  Set up a continuous digital channel read for Port 0 Line 0 on your card.  Hook up CTR0 output (pin 5) to P0.0 (pin 10).  Start your program to do the counter output pulse train and continuous read.  You should see your digital line transition from high to low over time.  The examples you can use to set this up are Gen Dig Pulse Train-Continuous.vi and Cont Read Dig Chan-Int Clk.vi.  For Cont Read Dig Chan-Int Clk.vi, remove the DAQmx Timing VI to make it software timed, and connect the task handle and error wires accordingly. They can be ran from separate VI's as they don't use the same resources. 

 

To be exact on the verbage used, you can perform a self-test on the device by right clicking the device in Measurement and Automation Explorer (MAX) and select Self-Test.  As for testing the device manually, go with what I described above. 

Kyle A.
National Instruments
Senior Applications Engineer
0 Kudos
Message 4 of 5
(6,601 Views)

thank you so much for your help.

0 Kudos
Message 5 of 5
(6,581 Views)