I have a small task I need to try to accomplish. Circumstances here have left us with no real programmer so I need to try to find a solution.
I need to figure out how to take camera data from a frame grabber and write it to disk.
Code:
'Acquire multiple images into the frame buffer
Call frmMain.DTAFGMON1.AcquireMem(0, 2, ContinuousAsync)
This seems to be where data is put into a buffer. I just need to write it to the HDD.
Since this is a continuous stream, I would need it to write to disk until the acquisition is manually stopped.
It seems that the DTAFGMON1 object is where the feed is displayed onscreen. So I think all I need to do is somehow take that data and write it disk. Would it be something like:
If you post a zip instead of a rar You'll get more help.
I need to figure out how to take camera data from a frame grabber and write it to disk.
Yip, this is the ''DTAFGMON1'' Acquiring multiple images into the frame buffer
'Acquire multiple images into the frame buffer
Call frmMain.DTAFGMON1.AcquireMem(0, 2, ContinuousAsync)
and this is Saving image to bitmap file
Code:
'Save image to bitmap file.
Dim FrameBuffer As DTBuffer
Set FrameBuffer = frmMain.DTAFGMON1.GetBuffer(0)
Call FrameBuffer.SaveImage(frmCommonDialog.CommonDialog1.FileName, Bitmap)
You can easily incorporate video capture capabilities into your application by using the AVICap window class. AVICap provides applications with a simple, message-based interface to access video and waveform-audio acquisition hardware and to control the process of streaming video capture to disk.
The answer to your question is Here
And here
C:\Program Files\Microsoft Visual Studio\MSDN98\98VSa\1033\SAMPLES\VB98
Please go to the "Thread Tools" menu at the top of this Thread, and click "Mark Thread Resolved" when you have your answer.
So I can fine the answer when I need it.
So please install VB6 service pack 6 as its the latest and last supported service pack MS will ever make. http://support.microsoft.com/kb/q198880/ I'm sure this will fix your issue
The only reason some people get lost in thought is because it’s unfamiliar territory. —Paul Fix
You can easily incorporate video capture capabilities into your application by using the AVICap window class. AVICap provides applications with a simple, message-based interface to access video and waveform-audio acquisition hardware and to control the process of streaming video capture to disk.