Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in stopping task in continuous data acquisition using DAQMx C API

Solved!
Go to solution

I'm trying to do the continuous data acquisition in PCIe-6536 using DAQMx C API. But whenever I try to clear the task and terminate my application, program halts and it is not terminated even by the task manager  and task killer applications. Can anybody help me in this regard?

Sameer 
0 Kudos
Message 1 of 3
(3,054 Views)

Hi Sameer,

 

Are you running one of the shipping examples?  If so, which one?  If not, could you try running the following example:

 

Start >> All Programs >> National Instruments >>  NI DAQ >> Text-Based Code >> ANSI C Examples >>Digital >> Read Values >> Cont Read Dig Chan-Ext Clk

 

If using the on-board clock, you can change the clock source to the internal clock.

 

 

Also, which version of DAQmx do you have installed, and which development environment are you using?

 

-John

John Passiak
0 Kudos
Message 2 of 3
(3,029 Views)
Solution
Accepted by topic author Sameer78

Hi John,

          thanx for your concerns. the shipped example was also creating the same problem. Then I run the self test of device in MAX and it failed. Then I realized that there is something wrong with installation. I simply unistalled the card, and installed it on other PCI-e slot. This time self test was passed and so did my application.

Hence my problem was solved 🙂

Once again thanking you for your early response.

 

Sameer 

 

0 Kudos
Message 3 of 3
(3,019 Views)