10-04-2013 05:14 PM
I have a small program that waits for a digital trigger and then reads from a channel. Using an NI-USB-6212. Everything works fine, except sometimes the program will fail to start. On debugging I see that the first line that interacts with the DAQ hangs. In this case it is 'DaqSystem.Local.GetPhysicalChannels(PhysicalChannelTypes.AI, PhysicalChannelAccess.External)'. Recently I was able to get the above error in Visual Studio. The only solution appears to be restarting the computer. This is obviously not ideal. Any ideas?
Thanks,
-Matt
			
    
	
		
		
		10-07-2013
	
		
		06:24 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		10-06-2025
	
		
		02:40 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
Hello Matt,
Please go ahead and download the following example from our website.
This example program shows you how to continuously acquire data (a waveform) using an internal clock and a digital start and reference trigger.
Please use it as a reference.
Regards