Please post topics into this forum that relate to specific features introduced in LabVIEW 8.x.x. The post will be moved to the appropriate forum if it does not meet this requirement. Your post may also be moved if it's deemed that it would fit better in another forum regardless. For example: LabVIEW OOP topics should go to the GOOP forum.
![]() |
Jun 5 2008, 05:06 AM
Post
#1
|
|
|
2 more posts to go! Member Posts: 8 Joined: 5-June 08 Member No.: 11687 Using LabVIEW Since:2008 LV:8.5 ,. ,.
|
Hi,
I need to take images continuously at high frame rates (~60fps) and then save these images on hard disk. I have no prior knowledge of how many images i will eventually be needing and i dont want to save the images in AVI format, but rather PNG. I tried using buffers to store my images while the camera is still taking pics and then saving them on the hard disk when the camera has finished acquisition, however, the frame rate that the camera is acquiring images at seems to be always much lower than 60fps. Does any one have an idea about how to take pics at 60fps and at the same time save them in PNG format? PS: softwares im using are LABVIEW 8.5 and IMAQ. Basler Camera A302b PCI 1428 Thanks, Leen This post has been edited by dispossessed: Jun 5 2008, 05:15 AM Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Jun 5 2008, 05:06 AM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Jun 5 2008, 11:54 AM
Post
#2
|
|
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3644 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
...however, the frame rate that the camera is acquiring images at seems to be always much lower than 60fps. I've confirmed that your camera can acquire at 60fps. Can you please upload your code so we can see if there's anything in there that's causing the bottleneck? -------------------- ![]() Tags
This content has not been tagged yet
|
|
|
|
Jun 5 2008, 02:00 PM
Post
#3
|
|
|
2 more posts to go! Member Posts: 8 Joined: 5-June 08 Member No.: 11687 Using LabVIEW Since:2008 LV:8.5 ,. ,.
|
I've confirmed that your camera can acquire at 60fps. Can you please upload your code so we can see if there's anything in there that's causing the bottleneck? attached is the code that i was trying to modify. i found this code on one of the NI website pages. Thanks, Leen
Attached File(s)
Tags
This content has not been tagged yet
|
|
|
|
Jun 5 2008, 04:27 PM
Post
#4
|
|
|
More Active Member Posts: 44 Joined: 10-May 06 From: 8619 Member No.: 4985 Using LabVIEW Since:1993 LV:8.5 ,8.2.1 ,7.1.1
|
attached is the code that i was trying to modify. i found this code on one of the NI website pages. Thanks, Leen Although not the worst example I've seen, it certainly is not the best. Try looking at the LL Sequence.vi found in LabVIEW under the Help-->Find Examples... menu. Click the Browse tab, and select the Directory Structure option. Then find the IMAQ folder and under this is the IMAQ Low Level.llb where you'll find the LL Sequence.vi. Add to this VI the PNG saving portion of your example. As for not knowing how long you need to acquire, it is fairly difficult to allocate memory "on the fly" without losing frames and very complicated. The best thing to do it to is to allocate a lot of frames and then terminate the sequence by using the IMAQ Stop.vi (you'll have to have a parallel loop monitoring the abort button). In this parallel loop you can also monitor the progress by calling the IMAQ Status.vi to get the current frame. In a nutshell, what you are trying to do is fairly complicated and may take a lot of time to develop. Bruce This question is also in the NI Forums at: http://forums.ni.com/ni/board/message?boar...d=77174#M328986 Tags
This content has not been tagged yet
|
|
|
|
Jun 5 2008, 09:48 PM
Post
#5
|
|
![]() Very Active Premium Member ![]() Posts: 139 Joined: 1-November 04 From: Sydney Member No.: 941 Using LabVIEW Since:1995 LV:8.5.1 ,8.6 ,.
|
I need to take images continuously at high frame rates (~60fps) ...maybe you should look at GigE Vision: GigE Vision: Under the Hood Video [color="#800080"][/color] --Mikael -------------------- Tags
This content has not been tagged yet
|
|
|
|
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
4 | Jim Kring | 2231 | 28th October 2003 - 04:06 PM Last post by: Jim Kring |
|||
![]() |
2 | JackHamilton | 3961 | 16th December 2004 - 05:15 AM Last post by: aledain |
|||
![]() |
0 | Mike Ashe | 1634 | 23rd March 2004 - 03:06 PM Last post by: Michael Ashe |
|||
![]() |
13 | didierj | 4251 | 22nd June 2006 - 12:25 PM Last post by: Chris Davis |
|||
![]() ![]() |
| Time is now: 12th October 2008 - 08:58 AM |