cancel
Showing results for 
Search instead for 
Did you mean: 

DMA to camera memory via pointer

Ray.R
Knight of NI

DMA to camera memory via pointer

Message contains an image

Is it possible to read the memory contents directly from the camera's memory?  In other words, If the Invoke Node can provide the pointer to the active memory, can we access the memory location directly from the camera instead of using the CopyToArray function?

 

The reason for asking is because a client needs to read the image faster than 4ms/MB that it takes the function to read the image data and write it to an array.  Below is an image of what is implemented and what is desired. 

 

Below is what is desired. 

 

Below is what is currently implemented. (I did not have the Vision toolkit installed on this PC).

 

Tags (1)
15 REPLIES 15
Ray.R
Knight of NI

Re: DMA to camera memory via pointer

LabVIEW communicates to camera over GigE Ethernet network.  Current max transfer rate is approx 250 MB/sec.

TheEngineeringBear
Active Participant

Re: DMA to camera memory via pointer

Hey Ray,

 

There currently isn't a way for LabVIEW to access those memory spaces on the camera.  It can only go through the driver that handles that.  With that being said, is this a critical point in the project?  

 

Great pictures/question btw.

 

Bear

Regards,

Ben Johnson
ʕง•ᴥ•ʔง
Ray.R
Knight of NI

Re: DMA to camera memory via pointer

Hi Bear,

 

Thanks for the feedback.  We have a potential client are are looking at various ways of achieving their requirements for H-Def, speed, etc.  It is not critical at this time as they are still investigating and deciding upon the approaches that were suggested.

 

Thanks,


RayR

TheEngineeringBear
Active Participant

Re: DMA to camera memory via pointer

Could always go all out with FPGA with FlexRIO.  Good luck with the project.  Feel free to reach out if you have any other questions.

 

-Bear

Regards,

Ben Johnson
ʕง•ᴥ•ʔง
Ray.R
Knight of NI

Re: DMA to camera memory via pointer

I will keep that in mind, thanks...  Smiley Happy

 

The only trouble is that the client is looking for a cheap solution.. Smiley Sad

rolfk
Knight of NI

Re: DMA to camera memory via pointer

That's a big contradiction:

 

cheap solution ≠ high speed image acquisition

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Ray.R
Knight of NI

Re: DMA to camera memory via pointer

Totally agree...

 

It's more of the "broken record" syndrome..  How can people in this age still think that cheap = good (or fast)...  How do people get programmed this way???  It's not that I see it often... I see it all the time..  People expect to pay the cost of a Fiat and drive away with a Ferrari.

 

- SIGH -

Highlighted
Intaris
Proven Zealot

Re: DMA to camera memory via pointer


@Ray.R wrote:

LabVIEW communicates to camera over GigE Ethernet network.  Current max transfer rate is approx 250 MB/sec.


Maybe I misunderstand something but doesn't GigE have a theoretical maximum throughput of 125 MB/sec?

Ray.R
Knight of NI

Re: DMA to camera memory via pointer

I would need to check into that.

 

Smiley Happy