Skip to content

Instantly share code, notes, and snippets.

@immengineer
Created August 7, 2017 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save immengineer/6a71e3bb7123ad9a513afe359760a0aa to your computer and use it in GitHub Desktop.
Save immengineer/6a71e3bb7123ad9a513afe359760a0aa to your computer and use it in GitHub Desktop.
JAISDK 画像データ取得 stopボタン
private void StopButton_Click(object sender, EventArgs e)
{
if (myCamera != null)
{
myCamera.StopImageAcquisition();
StartButton.Enabled = true;
StopButton.Enabled = false;
stretchCheckBox.Enabled = true;
myCamera.NewImageDelegate -= new Jai_FactoryWrapper.ImageCallBack(HandleImage);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment