Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

GPCtr_Watch equivalent in MX

Hi

I am doing a fairly simple port, converting software originally written for a NI6601 in Legacy NIDAQ to a USB 6210 in NIDAQmx. I am using the TwoEdgeSeparation task but I am having a problem finding an alternative to the GPCTR_Watch which I originally used to display progress to the operator. So originally I could tell from the counter contents if the counter had started (start pulse has arrived) . Detecting the arrival of the stop  or timeout seems easy enough by checking that the task has finished.It's detecting the start pulse ( which can be too short to detect by a simple digital read) which is giving me a problem.   Any ideas?

 

Regards

 

Martyn Eccles

0 Kudos
Message 1 of 3
(3,581 Views)
Hi Martyn

I know I have already discussed this with  you offline, for completeness I would just like to post an answer on this forum for everyone to see.

It has been highlighted that there is in fact no equivalent to the GPCtr_Watch function in DAQmx. The CI.Count property should give you this functionality but at the moment it does not. We are considering this to be bad behavour and a CAR has been filed to fix this for a future release of the DAQmx driver.

Regards

Rich
NI | UK
0 Kudos
Message 2 of 3
(3,549 Views)

 

Hi Rich,

 

I'm just coming back to look at another application similar to the previous one. Can you tell me if this problem has now been solved on the latest mx version?

 

best regards

 

Martyn

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