在点灰色相机中加载DLL文件 [英] Loading DLL files in point grey camera
本文介绍了在点灰色相机中加载DLL文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
"<pre lang="C#">
我试图通过软件触发器保存图像但保存几张图像后我面临以下错误::
FlyCaptureManagedd_v140.pdb未加载
FlyCaptureManagedd_v140.pdb包含调试查找模块源代码所需的信息FlyCaptureManagedd_v140.dll
我尝试过:
I am trying to save the image through software trigger but after saving few images I am facing the following error::
FlyCaptureManagedd_v140.pdb not loaded
FlyCaptureManagedd_v140.pdb contains the debug information required to find the source for the module FlyCaptureManagedd_v140.dll
What I have tried:
bool supported = false;
Format7Info fmt7Info = cam.GetFormat7Info(Format7Mode, ref supported);
// PrintFormat7Capabilities(fmt7Info);
if ((Format7PixelFormat & (PixelFormat)fmt7Info.pixelFormatBitField) == 0)
{
// MessageBox.Show("Pixel format is not supported");
return;
}
// Get embedded image info from camera
EmbeddedImageInfo embeddedInfo = cam.GetEmbeddedImageInfo();
// Enable timestamp collection
if (embeddedInfo.timestamp.available == true)
{
embeddedInfo.timestamp.onOff = true;
}
// Set embedded image info to camera
cam.SetEmbeddedImageInfo(embeddedInfo);
cam.StartCapture();
// Retrieve frame rate property
CameraProperty frmRate = cam.GetProperty(PropertyType.FrameRate);
using (ManagedImage rawImage = new ManagedImage())
{
cam.RetrieveBuffer(rawImage);
// Create a converted image
using (ManagedImage convertedImage = new ManagedImage())
{
// Convert the raw image
rawImage.Convert(PixelFormat.PixelFormatBgr, convertedImage);
// Create a unique filename
string file = DateTime.Now.ToString("HH.mm.ss");
string filename = String.Format(@"C:\\Users\\ITREAT\\Desktop\\" + file + "_" + count + ".jpg");
convertedImage.Save(filename);
}
count++;
GC.Collect();
}
Application.DoEvents();
Refresh();
if (count > 24)
{
stopcapture();
}
推荐答案
这些不是错误,而是信息性消息。
他们通知您没有PDB文件(程序数据库文件( C#,F#和Visual Basic) [ ^ ])对于上述模块,以便在调试时无法进入函数或检查此模块中包含的变量。
只需用第三方DLL忽略它们。
These are not errors but informational messages.
They inform yout that there is no PDB file (Program Database Files (C#, F#, and Visual Basic)[^]) for the mentioned module so that you can't step into functions or inspect variables contained in this module when debugging.
Just ignore them with a 3rd party DLL.
这篇关于在点灰色相机中加载DLL文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文