Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

how to reset counter faster?

btw: I just checked the help, and it said the DAQmx is March 2004 Edition. Hope this help.

Best regards,

Xiaowei

0 Kudos
Message 11 of 18
(2,674 Views)
Apparently I was mistaken.  It appears that for this mode you must use the property nodes.  And it's a bug (which I've reported) that you can't use the write VI for this. The version of DAQmx you are using should have this functionality.  What was the problem when you tried using the property nodes?
0 Kudos
Message 12 of 18
(2,672 Views)

Actually, I also encounter problem when I am using property node. It gave me an error "-200557", which said this property can not be set when the task is running. I am wondering whether it is because I am using generating retriggerable pulse mode? I once saw that in generating continuous pulse mode, you could change the high/low ticks when it is still running. If that's the case, is there any other alternatives to change the high/low ticks settings as fast as possible?

Best regards,

Xiaowei

0 Kudos
Message 13 of 18
(2,663 Views)

Can you post the example code that you are using for this property node method?  It may be that updating your version of NI-DAQ might fix your issue.  You can check to see what version of NI-DAQ you have by opening MAX and looking at NI-DAQmx under the software tab.

gus....

0 Kudos
Message 14 of 18
(2,655 Views)

Dear gus,

        Please see the test.vi I built in the attachment. Actually, it is about the same as the previous test.vi I posted, just replace the write counter with the property node. And the DAQmx version is 7.2 of 0. Could you please help me to check whether one could change the timing settings while the task is running under this version? If not, and then a higher version will surely do the job, I will upgrade. But I just hope to be sure that the DAQmx version is definitely the problem.

Best regards,

Xiaowei

0 Kudos
Message 15 of 18
(2,656 Views)

Yes, you need to upgrade your version of NI-DAQmx.  NI-DAQmx 7.3 or later supports updating these values at runtime. You can get the latest version of NI-DAQmx (8.1) from this link.

I hope this helps.
gus....

Message 16 of 18
(2,648 Views)

Dear Gus,

        Thanks a lot for your help. I am just downloading the installation file from the link you gave me. BTW: does my current version of labview (7.1) support the latest version of DAQmx? or I also need to upgrade my labview system? Cheers.

Best regards,

Xiaowei

 

0 Kudos
Message 17 of 18
(2,645 Views)

Hi

 

Yes the latest version of DAQmx ( 8.1 ) (8.1 contains compact DAQ where as 8 doesn’t)  will support LabVIEW 7.1 but more impotently it also supports your PCI 6602 as long as you are running windows XP or 2000

 

Regards

 

Tim

 

AE NI UK and Ireland technical support

0 Kudos
Message 18 of 18
(2,632 Views)