Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI 6115 Calibration Procedure Counter Output

I am creating calibration software in LabView using the manual calibration
procedure for the PCI 6115 DAQ card. The Analog Input and Output tests are
finished and working properly however the counter verification test will not
work. There is no signal output from the DAQ when I run the procedure given in
the manual. I am using a new Keysight 53230A Frequency Counter as well as a
Tektronix 4104 Oscilloscope to receive the signal out of the DAQ but neither
receive anything.

To verify that there was no hardware issue I used the test panel in MAX for my
device to output a 5MHz signal as stated in the test to the 53230A Counter and
the signal showed up with no issues. Therefore I am certain my problem is
software however I have hit a wall in troubleshooting due to the fact that my
LabView procedure is identical to the one specified in the NI manual. Attached
is a snapshot of my code for the counter verification.

0 Kudos
Message 1 of 2
(3,477 Views)

It appears in that in your code you are not waiting for the task to be finished before stopping the task.  This could then be causing no data to actually end up being written before the stop task is called.  To get around this you can implement a something similiar to the Generate Data while loop found in the shipping example titled "Counter - Finite Output".  This should allow for your data to be written properly.

 

Ryan

Appliactions Engineer

Ryan
Group Manager
FlexLogger
NI R&D
Message 2 of 2
(3,441 Views)