 tugce
		
			tugce
		
		
		
		
		
		
		
		
	
			04-16-2016 09:46 AM
Hi all
I am new to Labview, just started with the basics but I guess I have more advanced problem than my current knowlege. I am currently acquiring images with ~300fps which is not the max of the camera I am using. I am doing real time processing with Labview so cannot acheive the max fps with the my current program. I guess generally this can be done using buffers but I have no idea if it is possible for my case. Could you give some advice on this or an idea about where to start??
Thanks in advance
 mikeporter
		
			mikeporter
		
		
		 
		
		
		
		
		
	
			04-16-2016 11:11 AM
 Bob_Schor
		
			Bob_Schor
		
		
		 
		
		
		
		
		
	
			04-16-2016 02:58 PM
As Mike says, don't get hung up on the details. To answer the question of whether LabVIEW + Your PC + Your Cabling + Your Camera can handle taking images at 300fps, use MAX (you do know about MAX, don't you? The Measurement and Automation eXplorer that should have appeared as an icon on your desktop when you installed the LabVIEW Drivers?) to "Grab" videos from your camera at 300 fps and see if you can view them. If MAX can view them, a LabVIEW program can acquire them. It's up to you to decide what you want to do with them, then design algorithms to do that.
As Mike points out, a Producer/Consumer Design is usually advisable. The images from your Camera will be arriving at a very steady rate of 300 images/second, whether or not you are ready to process them. You don't want to spend more than about 3 msec with each image (well, 3.333 msec), on average, but P/C will allow you some "wiggle room" when processing.
If you want more detailed help, you need to attach code (that means VIs, not JPeg images of parts of the Block Diagram -- we can't "peek under the covers" or test code modifications with pictures). You also should explain what you want to do, what you tried to do, and what errors or problems you are having.
But start with MAX, and get back to us.
Bob Schor
04-18-2016 09:29 AM
That was a very good starting point . Now I am looking into this Producer-Consumer Loop and the ways to implement it for my case. I think I first should try to figure it out on my own. But sure I will be back with questions soon.
Thanks a lot for the help!
04-18-2016 09:32 AM
Hi! Thanks for the help. I have already checked with MAX and I know I can reach higher frame rates. Just like you said I need to structure my code properly (I am checking this Producer-Consumer structure now).