 PelleGarching
		
			PelleGarching
		
		
		
		
		
		
		
		
	
			10-11-2012 10:53 AM
Hi all together,
I am trying to get old software using the traditional Daq running on windows 7 with DAQmx version 9.5.1 .
As far as I understand I need to substitute the old .vi´s by the new DAQmx vi´s. Especially I would like to substitute
Counter control.vi
Counter Get Attribute.vi
Counter Group configure.vi
Counter Set Attribute.vi
Do you know what could be the corresponding vi´s in the DAQmx version 9.5.1.? Is it necessary to reprogramm or can simply substitute the old vi´s by the new ones in my costum vi?
Thanks a lot for answers in advance!
 Dennis_Knutson
		
			Dennis_Knutson
		
		
		
		
		
		
		
		
	
			10-11-2012 11:09 AM
 Kevin_Price
		
			Kevin_Price
		
		
		
		
		
		
		
		
	
			10-11-2012 02:11 PM
Dennis is right (as usual), but I'd add that if you understand the functional behavior you need to produce, there's a good chance you can find a DAQmx-based example that'll at least get you really close.
My foggy memory of counter programming in trad NI-DAQ makes me suspect you might have a simple edge-counting task, possibly from a non-default input terminal. I'm guessing that "Counter Control" is called to start the task and "Counter Get Attribute" is called to read the count. I think I recall that "Set Attribute" was only needed for non-default stuff, like specifying a different place to look for the edges (events) to count.
Am I close?
-Kevin P
 JÞB
		
			JÞB
		
		
		
		
		
		
		
		
	
			
			
    
	
		
		
		10-11-2012
	
		
		02:14 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		02-07-2025
	
		
		04:28 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
An overview of DAQmx and the Article on transitioning from Legacy DAQ to DAQmx