Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI 6602 interrupts

I cannot configure a PXI-6602 counter to use Interrupts"

"I am trying to collect data on 4 channels. Each channel uses a counter of the NI-DAQ PXI-6602.

For the first three channels I use DMA by default.


I have added this line of code for the fourth channel which uses counter 3, before I PREPARE & ARM this counter:

Set_DAQ_Device_Info (device,
ND_DATA_XFER_MODE_GPCTR3,
ND_INTERRUPTS);

but I always become a SetupError (-10600)

I've tried several different things, also:

GPCTR_Change_Parameter(device, ND_TRANSFER_MODE, ND_INTERRUPTS);

but it does not work.

I am obviously not setting the last channel to use interrupts correctly. Am I supposed to do something else besides Set_Device_Info? Is ND_PROGRAM initializing
the counter back to use DMA?


Any help?
0 Kudos
Message 1 of 3
(3,258 Views)
There is a KnowledgeBase Entry that discusses the problem:
http://digital.ni.com/public.nsf/websearch/540B236C81310B6F862569B5007D5DDC?OpenDocument

So I would recommend to download and install the latest NI-DAQ driver. After that it should work.
0 Kudos
Message 2 of 3
(3,258 Views)
thank you for your answer.
today I have installed NI-DAQ Version 7.3...
I have the same problem again
0 Kudos
Message 3 of 3
(3,258 Views)