Skip to content

Commit

Permalink
Use get_zivid_device from procedures to fix wrong connection bug
Browse files Browse the repository at this point in the history
  • Loading branch information
robertkt1 committed Oct 14, 2020
1 parent 744df7f commit 7d2802f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@
<l>info_framegrabber ('GenICamTL', 'parameters_readonly', Information_parameters_readonly, ValueList_parameters_readonly)</l>
<l>info_framegrabber ('GenICamTL', 'parameters_writeonly', Information_parameters_writeonly, ValueList_parameters_writeonly)</l>
<c></c>
<c>*Getting first available Zivid device</c>
<l>info_framegrabber ('GenICamTL','device', Information, Devices)</l>
<l>import './../../Procedures'</l>
<l>get_first_available_zivid_device (Devices, Device)</l>
<c></c>
<c>* Connecting to Zivid camera</c>
<l>open_framegrabber ('GenICamTL',1, 1, 0, 0, 0, 0, 'progressive', -1, 'default', -1, 'false', 'default', ValueList_info_boards[0], 0, 0, AcqHandle)</l>
<l>open_framegrabber ('GenICamTL',1, 1, 0, 0, 0, 0, 'progressive', -1, 'default', -1, 'false', 'default', Device, 0, 0, AcqHandle)</l>
<c></c>
<c>* Querying information about specific parameters of Zivid camera</c>
<l>get_framegrabber_param (AcqHandle, 'available_callback_types', Value_available_callback_types)</l>
Expand Down

0 comments on commit 7d2802f

Please sign in to comment.