Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            //if (m_nNumDetectDevices > 0)
            //{
            //    textBox1.Text = getIDString(1);
            //}


            //-----------------------------------------
            //DIASDAQ.DDAQ_SET_TEMPPRECISION();

            //DIASDAQ.DDAQ_IRDX_OBJECT_SET_EMISSIVITY();
            //DIASDAQ.DDAQ_IRDX_OBJECT_SET_TRANSMISSION();
            //DIASDAQ.DDAQ_IRDX_PALLET_SET_BAR();
            //DIASDAQ.DDAQ_IRDX_SCALE_SET_MINMAX();
            //DIASDAQ.DDAQ_IRDX_PALLET_SET_ISOTHERM();

            //DIASDAQ.DDAQ_IRDX_FILE_GET_NUMDATASETS();
            //DIASDAQ.DDAQ_IRDX_FILE_GET_CURDATASET();
            //DIASDAQ.DDAQ_IRDX_DEVICE_GET_IDSTRING();
            //DIASDAQ.DDAQ_IRDX_DEVICE_GET_ID();
            //DIASDAQ.DDAQ_IRDX_DEVICE_GET_DETECTORTEMP();
            //DIASDAQ.DDAQ_IRDX_DEVICE_GET_CAMERATEMP();
            //DIASDAQ.DDAQ_IRDX_PIXEL_GET_SIZE();
            //DIASDAQ.DDAQ_IRDX_ACQUISITION_GET_TIMESTAMP();
            //DIASDAQ.DDAQ_IRDX_DEVICE_GET_MRANGEMINMAX();
            //DIASDAQ.DDAQ_IRDX_DEVICE_GET_INTERNALFPS();
            //DIASDAQ.DDAQ_IRDX_ACQUISITION_GET_AVERAGING();


            //-----------------------------------------



            DIASDAQ.DDAQ_ERROR error = DIASDAQ.DDAQ_DEVICE_DO_UPDATEDATA(m_nNumDetectDevices);

            if (error != DIASDAQ.DDAQ_ERROR.NO_ERROR)
            {
                return;
            }

            if (DIASDAQ.DDAQ_IRDX_PIXEL_GET_DATA(hIRDX, ref pFrameBuffer, bufSize) != 0)
            {
                Bitmap bmp = GET_BITMAP(hIRDX);
                //bmp = new Bitmap((Image)bmp, new Size(picBox.Width, picBox.Height));
                pictureBox1.Image = (Image)bmp;
            }
        }
Beispiel #2
0
 private void button1_Click_1(object sender, EventArgs e)
 {
     DIASDAQ.DDAQ_ERROR error = DIASDAQ.DDAQ_IRDX_FILE_SET_CURDATASET(hIRDX, img_step);
     img_step++;
 }