<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: what does IMAQ Start do? in Machine Vision</title>
    <link>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3174160#M45708</link>
    <description>&lt;P&gt;Exactly, Cheese.&amp;nbsp; And what was the real problem?&lt;/P&gt;
&lt;P&gt;ding ding ding ding ding!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No Z clock (or data, for that matter).&amp;nbsp; It appears someone (blush) forgot to un-comment the lines in the FPGA constraint file that assign the Z channel pins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The moral of the story: don't even bother the Forum until you look on the 'scope.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;P&gt;MADman&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other moral: framegrabbers check for a clock before they try to acquire.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2015 20:52:25 GMT</pubDate>
    <dc:creator>sdmadman</dc:creator>
    <dc:date>2015-08-04T20:52:25Z</dc:date>
    <item>
      <title>what does IMAQ Start do?</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173157#M45696</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does IMAQ Start do? On my camera eval station, it fails under certain circumstances, and I'm trying to isolate the cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Background: This is an evaluation system provided to me by CMOSIS. When I use it as they delivered it, it works great. But of course, I need it to perform very differently from CMOSIS' design, and that's where the trouble starts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;System is a Lenovo ThinkCentre running Windows 7 Pro SP 1 64-bit.&lt;/P&gt;
&lt;P&gt;NI-1433 PCIe framegrabber, both Camera Link cables running to the eval board.&lt;/P&gt;
&lt;P&gt;LabVIEW version 2010 32-bit,&lt;/P&gt;
&lt;P&gt;NI-MAX version 5.5.0f0,&lt;/P&gt;
&lt;P&gt;NI-IMAQ version 4.7.3,&lt;/P&gt;
&lt;P&gt;Camera File Generator 3.0.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The eval system was originally designed as a 4-tap, CL Medium. To demonstrate a concept we're developing, I want to run 8-tap CL Full (really, I want 10-bit 8 tap, but that's another discussion). I used CFG to edit the original icd file and saved it as a new file. When I use NI-Max to switch to this new camera file, the program fails when IMAQ Start is called, error &lt;STRONG&gt;-1074397153&lt;/STRONG&gt; is returned; "&lt;STRONG&gt;NI-IMAQ: Cannot detect recognizable video source&lt;/STRONG&gt;".&amp;nbsp; I'll attach both icd files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can think of two possible culprits:&lt;/P&gt;
&lt;P&gt;1) IMAQ Start is reading registers on the camera and finding something imcompatible with the settings in icd file&lt;/P&gt;
&lt;P&gt;2) Items within the bad icd file contradict each other&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since this is a Sunday, I don't expect to get an answer very quickly, so I'll keep looking for my own solution for a while. If I solve this myself (overly positive attitude), I'll post the solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;MADman&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2015 22:44:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173157#M45696</guid>
      <dc:creator>sdmadman</dc:creator>
      <dc:date>2015-08-02T22:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: what does IMAQ Start do?</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173589#M45697</link>
      <description>&lt;P&gt;IMAQ Start just starts the acquisition.&amp;nbsp; You have to do all the camera setup before that.&amp;nbsp; I am pretty sure all the settings in the ICD file are sent during the camera setup, not when you run IMAQ Start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect it is having exactly the problem the error suggests.&amp;nbsp; For some reason or other, it isn't getting a valid signal from the camera when it starts the acquisition.&amp;nbsp; Either the camera isn't sending data, or the data is not the correct format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bruce&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 19:36:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173589#M45697</guid>
      <dc:creator>BruceAmmons</dc:creator>
      <dc:date>2015-08-03T19:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: what does IMAQ Start do?</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173614#M45698</link>
      <description>&lt;P&gt;Thanks for the reply, Bruce.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The thing is, the camera isn't sending data yet, and it isn't expected to. After IMAQ Start, my app sends a series of bytes over the CL SerialTC link - those bytes tell the FPGA on the camera to start a snap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The lower level VI that throws the error is imgSessionAcquire, basically the last step in IMAQ Start.&amp;nbsp; imgSession Acquire simply writes to a Library Function Node (I'm guessing to a DLL); it writes the session ID, a single Boolean bit called 'Async?' (set to True), and an integer zero ('callback').&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only thing I'm changing is the icd file.&amp;nbsp; Sometimes I forget to set the FPGA to send the right data format, but since we don't get around to sending data (I set a break point at the beginning of IMAQ Start so I could step to where the error occurs), I'm don't see why that would matter - it might be another problem I still have to solve, after I fix this one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still, you've given me ideas. I'm going to try putting scope probes on some test points and see if something behaves differently between the two scenarios.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;P&gt;MADman&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 20:23:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173614#M45698</guid>
      <dc:creator>sdmadman</dc:creator>
      <dc:date>2015-08-03T20:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: what does IMAQ Start do?</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173959#M45704</link>
      <description>&lt;P&gt;I don't have too much to add, except I don't think it matters that the camera isn't sending images&amp;nbsp;when you call Start. If that were the case, it would fail with triggered acquisitions as well. I think all that matters is that it sees pixel clocks coming from the camera so that it can lock to it. I think the camera is supposed to always output this signal.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2015 14:29:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3173959#M45704</guid>
      <dc:creator>BlueCheese</dc:creator>
      <dc:date>2015-08-04T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: what does IMAQ Start do?</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3174160#M45708</link>
      <description>&lt;P&gt;Exactly, Cheese.&amp;nbsp; And what was the real problem?&lt;/P&gt;
&lt;P&gt;ding ding ding ding ding!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No Z clock (or data, for that matter).&amp;nbsp; It appears someone (blush) forgot to un-comment the lines in the FPGA constraint file that assign the Z channel pins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The moral of the story: don't even bother the Forum until you look on the 'scope.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;P&gt;MADman&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other moral: framegrabbers check for a clock before they try to acquire.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2015 20:52:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3174160#M45708</guid>
      <dc:creator>sdmadman</dc:creator>
      <dc:date>2015-08-04T20:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: what does IMAQ Start do?</title>
      <link>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3174161#M45709</link>
      <description>&lt;P&gt;And thanks for your guidance!&lt;/P&gt;
&lt;P&gt;MADman&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2015 20:54:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Machine-Vision/what-does-IMAQ-Start-do/m-p/3174161#M45709</guid>
      <dc:creator>sdmadman</dc:creator>
      <dc:date>2015-08-04T20:54:10Z</dc:date>
    </item>
  </channel>
</rss>

