⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 1m21394x2camera.frm

📁 一块M21394图象采集卡两路同时采集程序
💻 FRM
字号:
VERSION 5.00
Object = "{A700DC51-04A2-11D3-BF87-00A024D24992}#8.0#0"; "MIL.ocx"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   7860
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   10125
   LinkTopic       =   "Form1"
   ScaleHeight     =   7860
   ScaleWidth      =   10125
   StartUpPosition =   3  'Windows Default
   Begin MIL.Application Application1 
      Height          =   480
      Left            =   240
      TabIndex        =   0
      Top             =   360
      Visible         =   0   'False
      Width           =   480
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   847
      _ExtentY        =   847
      _StockProps     =   0
      Name            =   "Application1"
   End
   Begin MIL.System System1 
      Height          =   480
      Left            =   360
      TabIndex        =   1
      Top             =   960
      Visible         =   0   'False
      Width           =   480
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   847
      _ExtentY        =   847
      _StockProps     =   0
      Name            =   "System1"
      SystemDescriptor=   "\\.\M_SYSTEM_METEOR_II_1394"
      DeviceNumber    =   0
      _SerialPorts.SerialPortCount=   0
   End
   Begin MIL.Digitizer Digitizer1 
      Height          =   480
      Left            =   1080
      TabIndex        =   2
      Top             =   960
      Visible         =   0   'False
      Width           =   480
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   847
      _ExtentY        =   847
      _StockProps     =   0
      Name            =   "Digitizer1"
      OwnerSystem     =   "System1"
      Image           =   "Image1"
      DeviceNumber    =   268435456
      _FormatNameArrayListSize=   21
      _FormatNameArray0=   "DEFAULT"
      _FormatNameArray1=   "320X240 YUV422 @1.875FPS"
      _FormatNameArray2=   "320X240 YUV422 @3.75FPS"
      _FormatNameArray3=   "320X240 YUV422 @7.5FPS"
      _FormatNameArray4=   "320X240 YUV422 @15FPS"
      _FormatNameArray5=   "320X240 YUV422 @30FPS"
      _FormatNameArray6=   "320X240 YUV422 @60FPS"
      _FormatNameArray7=   "640X480 YUV422 @1.875FPS"
      _FormatNameArray8=   "640X480 YUV422 @3.75FPS"
      _FormatNameArray9=   "640X480 YUV422 @7.5FPS"
      _FormatNameArray10=   "640X480 YUV422 @15FPS"
      _FormatNameArray11=   "640X480 YUV422 @30FPS"
      _FormatNameArray12=   "640X480 Y @1.875FPS"
      _FormatNameArray13=   "640X480 Y @3.75FPS"
      _FormatNameArray14=   "640X480 Y @7.5FPS"
      _FormatNameArray15=   "640X480 Y @15FPS"
      _FormatNameArray16=   "640X480 Y @30FPS"
      _FormatNameArray17=   "640X480 Y @60FPS"
      _FormatNameArray18=   "656X490 Y_FORMAT_7_0"
      _FormatNameArray19=   "656X490 YUV422_FORMAT_7_0"
      _FormatNameArray20=   "656X490 Y_FORMAT_7_1"
      _FormatArrayListSize=   21
      _FormatArray0   =   "M_DEFAULT"
      _FormatArray1   =   "M_320X240_YUV422@1.875FPS"
      _FormatArray2   =   "M_320X240_YUV422@3.75FPS"
      _FormatArray3   =   "M_320X240_YUV422@7.5FPS"
      _FormatArray4   =   "M_320X240_YUV422@15FPS"
      _FormatArray5   =   "M_320X240_YUV422@30FPS"
      _FormatArray6   =   "M_320X240_YUV422@60FPS"
      _FormatArray7   =   "M_640X480_YUV422@1.875FPS"
      _FormatArray8   =   "M_640X480_YUV422@3.75FPS"
      _FormatArray9   =   "M_640X480_YUV422@7.5FPS"
      _FormatArray10  =   "M_640X480_YUV422@15FPS"
      _FormatArray11  =   "M_640X480_YUV422@30FPS"
      _FormatArray12  =   "M_640X480_Y@1.875FPS"
      _FormatArray13  =   "M_640X480_Y@3.75FPS"
      _FormatArray14  =   "M_640X480_Y@7.5FPS"
      _FormatArray15  =   "M_640X480_Y@15FPS"
      _FormatArray16  =   "M_640X480_Y@30FPS"
      _FormatArray17  =   "M_640X480_Y@60FPS"
      _FormatArray18  =   "M_656X490_Y_FORMAT_7_0"
      _FormatArray19  =   "M_656X490_YUV422_FORMAT_7_0"
      _FormatArray20  =   "M_656X490_Y_FORMAT_7_1"
      Format          =   "640X480 Y @15FPS"
      _LUT.Data       =   "1M21394X2Camera.frx":0000
   End
   Begin MIL.Image Image1 
      Height          =   480
      Left            =   1920
      TabIndex        =   3
      Top             =   960
      Visible         =   0   'False
      Width           =   480
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   847
      _ExtentY        =   847
      _StockProps     =   0
      Name            =   "Image1"
      OwnerSystem     =   "System1"
      SizeX           =   268435456
      SizeY           =   268435456
      NumberOfBands   =   268435456
      _CanDisplay     =   -1  'True
      _CanGrab        =   -1  'True
      _LUT.Data       =   "1M21394X2Camera.frx":0132
      GammaCorrectionExponents(0)=   0
      GammaCorrectionExponents(1)=   0
   End
   Begin MIL.Display Display1 
      Height          =   5535
      Left            =   240
      TabIndex        =   4
      Top             =   1920
      Width           =   4695
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   8281
      _ExtentY        =   9763
      _StockProps     =   1
      Name            =   "Display1"
      OwnerSystem     =   "System1"
      Image           =   "Image1"
      DeviceNumber    =   0
      _FormatArrayListSize=   0
      _LUT.Data       =   "1M21394X2Camera.frx":0264
      _OverlayLUT.Data=   "1M21394X2Camera.frx":0396
   End
   Begin MIL.System System2 
      Height          =   480
      Left            =   5400
      TabIndex        =   5
      Top             =   1080
      Visible         =   0   'False
      Width           =   480
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   847
      _ExtentY        =   847
      _StockProps     =   0
      Name            =   "System2"
      SystemDescriptor=   "\\.\M_SYSTEM_METEOR_II_1394"
      DeviceNumber    =   1
      _SerialPorts.SerialPortCount=   0
   End
   Begin MIL.Digitizer Digitizer2 
      Height          =   480
      Left            =   6360
      TabIndex        =   6
      Top             =   1080
      Visible         =   0   'False
      Width           =   480
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   847
      _ExtentY        =   847
      _StockProps     =   0
      Name            =   "Digitizer2"
      OwnerSystem     =   "System2"
      Image           =   "Image2"
      DeviceNumber    =   1
      _FormatNameArrayListSize=   20
      _FormatNameArray0=   "DEFAULT"
      _FormatNameArray1=   "320X240 YUV422 @1.875FPS"
      _FormatNameArray2=   "320X240 YUV422 @3.75FPS"
      _FormatNameArray3=   "320X240 YUV422 @7.5FPS"
      _FormatNameArray4=   "320X240 YUV422 @15FPS"
      _FormatNameArray5=   "320X240 YUV422 @30FPS"
      _FormatNameArray6=   "640X480 Y @1.875FPS"
      _FormatNameArray7=   "640X480 Y @3.75FPS"
      _FormatNameArray8=   "640X480 Y @7.5FPS"
      _FormatNameArray9=   "640X480 Y @15FPS"
      _FormatNameArray10=   "640X480 Y @30FPS"
      _FormatNameArray11=   "640X480 Y @60FPS"
      _FormatNameArray12=   "640X480 MONO16 @1.875FPS"
      _FormatNameArray13=   "640X480 MONO16 @3.75FPS"
      _FormatNameArray14=   "640X480 MONO16 @7.5FPS"
      _FormatNameArray15=   "640X480 MONO16 @15FPS"
      _FormatNameArray16=   "640X480 MONO16 @30FPS"
      _FormatNameArray17=   "656X491 Y_FORMAT_7_0"
      _FormatNameArray18=   "656X491 MONO16_FORMAT_7_0"
      _FormatNameArray19=   "656X491 Y_FORMAT_7_3"
      _FormatArrayListSize=   20
      _FormatArray0   =   "M_DEFAULT"
      _FormatArray1   =   "M_320X240_YUV422@1.875FPS"
      _FormatArray2   =   "M_320X240_YUV422@3.75FPS"
      _FormatArray3   =   "M_320X240_YUV422@7.5FPS"
      _FormatArray4   =   "M_320X240_YUV422@15FPS"
      _FormatArray5   =   "M_320X240_YUV422@30FPS"
      _FormatArray6   =   "M_640X480_Y@1.875FPS"
      _FormatArray7   =   "M_640X480_Y@3.75FPS"
      _FormatArray8   =   "M_640X480_Y@7.5FPS"
      _FormatArray9   =   "M_640X480_Y@15FPS"
      _FormatArray10  =   "M_640X480_Y@30FPS"
      _FormatArray11  =   "M_640X480_Y@60FPS"
      _FormatArray12  =   "M_640X480_MONO16@1.875FPS"
      _FormatArray13  =   "M_640X480_MONO16@3.75FPS"
      _FormatArray14  =   "M_640X480_MONO16@7.5FPS"
      _FormatArray15  =   "M_640X480_MONO16@15FPS"
      _FormatArray16  =   "M_640X480_MONO16@30FPS"
      _FormatArray17  =   "M_656X491_Y_FORMAT_7_0"
      _FormatArray18  =   "M_656X491_MONO16_FORMAT_7_0"
      _FormatArray19  =   "M_656X491_Y_FORMAT_7_3"
      Format          =   "640X480 Y @15FPS"
      _LUT.Data       =   "1M21394X2Camera.frx":04C8
   End
   Begin MIL.Image Image2 
      Height          =   480
      Left            =   7200
      TabIndex        =   7
      Top             =   1080
      Visible         =   0   'False
      Width           =   480
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   847
      _ExtentY        =   847
      _StockProps     =   0
      Name            =   "Image2"
      OwnerSystem     =   "System2"
      SizeX           =   268435456
      SizeY           =   268435456
      NumberOfBands   =   268435456
      _CanDisplay     =   -1  'True
      _CanGrab        =   -1  'True
      _LUT.Data       =   "1M21394X2Camera.frx":05FA
      GammaCorrectionExponents(0)=   0
      GammaCorrectionExponents(1)=   0
   End
   Begin MIL.Display Display2 
      Height          =   5535
      Left            =   5520
      TabIndex        =   8
      Top             =   1920
      Width           =   4215
      _Version        =   524288
      _MinorStreamVersion=   14
      _ExtentX        =   7435
      _ExtentY        =   9763
      _StockProps     =   1
      Name            =   "Display2"
      OwnerSystem     =   "System2"
      Image           =   "Image2"
      DeviceNumber    =   1
      _FormatArrayListSize=   0
      _LUT.Data       =   "1M21394X2Camera.frx":072C
      _OverlayLUT.Data=   "1M21394X2Camera.frx":085E
   End
   Begin VB.CommandButton Command2 
      Caption         =   "Stop"
      Height          =   615
      Left            =   5280
      TabIndex        =   10
      Top             =   240
      Width           =   1455
   End
   Begin VB.CommandButton Command1 
      Caption         =   "GrabSeq"
      Height          =   495
      Left            =   3240
      TabIndex        =   9
      Top             =   240
      Width           =   1095
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Digitizer1.GrabContinuous
  Digitizer2.GrabContinuous
  
End Sub

Private Sub Command2_Click()
    Digitizer1.Halt
    
  Digitizer2.Halt
  
  
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -