Your answer is correct, I'd like to have more speed.
I have Vision toolkit, Sony DXC-390 PAL and PCI-1409.
I use the BNC Connector(NOT the other connector).
To Snap image:
1. IMAQ Init, stillcolor Mode, channel 0, Color Repre
2. IMAQ Create (RGB, border=2)
3. To define my image size.
I use the CIN from IMAQ rectToCoor.VI.
(new image, x res=748; y res=566; output:image)
4. call IMAQ Getpixel ptr (input:image, map pixel ptr,
output:pixel ptr out, linewidth)
I assume this is a pointer in memory for snapping
5. call low level ImgSnap area(in: image,sessionID,
buffer= pixel ptr out,top, left, bottom, right,
rowbytes = linewidth)
'output assuming image is in memory area
6. ColorimagetoArra
y
7. Flatten pixmap
8. Draw flatten pixmap
9. IMAQ write jpg file.
Please comment on my step, I take about two seconds per image, that is slooow.