Click here to Skip to main content
15,880,392 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
"<pre lang="C#">


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:

C#
  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();
            }
Posted
Updated 21-Dec-16 20:52pm

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900