<?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: How to re scan a Thingmark automatically adding JS code , not pressing the scan button in Vuforia Studio</title>
    <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513623#M2179</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I undertand your point perfectely but a client wants it , We are trying to help him , he wants to be able to scan different machines automatically but not pressing the scan button so many times , something like that&amp;nbsp; , he will be walking on the production line like that &lt;IMG alt="Example.jpg" class="image-4 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8659_Example.jpg" style="height: auto; width: auto;" /&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;He wants to be able to use Hololens or a Table to be walking on the production line and been checking&amp;nbsp; gauges with information on real time about the most important parameters for each machine . He said that it is much less practical if he has to press the "Scan button" for each thingmark , I dont know if I was clear enough. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I do not how should I use "tracking lose" to trigger my Scan function , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in "Tracking Lost" event&amp;nbsp; I added the following &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8660_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;and on Home.js I added the following to call the function but it is not working ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8657_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt; I test the AR experience but there are not changes and also I uncheck this option too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8658_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Do you know what I am doing on a wrong way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than you very much for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jan 2018 17:27:10 GMT</pubDate>
    <dc:creator>efraga</dc:creator>
    <dc:date>2018-01-12T17:27:10Z</dc:date>
    <item>
      <title>How to re scan a Thingmark automatically adding JS code , not pressing the scan button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513619#M2175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;Hi everybody&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;We have an important issue with a client , he wants to put on machines some thingmarks , each thingmark with an specific AR experience , for our client (Quality inspector) is so complicated scan and scan again each thingmark , he needs something which let him do it more dynamic because the company&amp;nbsp; has thousends of machines to be monitored , then it is not so practical the current configuration to scan each thingmark. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;We would like to know what is the best path to solve this issue , how should we modify something in ThingWorx Studio, ThingWorx, ThingWorx View? I got the following code but it is not working , I would like to know what I am doing wrong .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;app.fn.navigateToScanMode();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$scope.yourfunction = function() {&lt;/P&gt;&lt;P&gt;app.fn.navigateToScanMode();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 21:28:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513619#M2175</guid>
      <dc:creator>efraga</dc:creator>
      <dc:date>2018-01-10T21:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to re scan a Thingmark automatically adding JS code , not pressing the scan button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513620#M2176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hej Elias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure about the customer case - and if you need support on that? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way to do it is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8622_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8623_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that works - just validated it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if the use case is different - maybe it could be worth to jump from one machine to the next by jumping to another experience directly?&amp;nbsp; -- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you use ThingTemplate based experiences by the way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 06:59:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513620#M2176</guid>
      <dc:creator>mwassmann</dc:creator>
      <dc:date>2018-01-11T06:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to re scan a Thingmark automatically adding JS code , not pressing the scan button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513621#M2177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much for your help , maybe I was not so clear enough , let me explain you&amp;nbsp; what I want to do , I want to load so many AR experiences automatically not pressing the Scan button , for example if am NOT focusing the firts thingmark or if I lose the thingmark I would like to add a function to activate the Scan button automatically , not pressing the button &lt;IMG alt="js_issue.jpg" class="image-1 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8624_js_issue.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 17:05:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513621#M2177</guid>
      <dc:creator>efraga</dc:creator>
      <dc:date>2018-01-11T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to re scan a Thingmark automatically adding JS code , not pressing the scan button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513622#M2178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I'm not sure if that is a reasonable way to do things.I wouldn't recommend it. You will loose the "real" AR capabilities with that specification.&lt;/P&gt;&lt;P&gt;With the way described above you would not be needed to use the scan button anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would most probably implement that function automatically, when the work is done / and being validated by the user (status written back into another system, via thingworx). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if you really want to do it the way it was specified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you loose the thingmark, the extended tracking will jump in --&amp;gt; if you disable it, you won't be able to work without having the thingmark in sight.&lt;/P&gt;&lt;P&gt;(you can disable it with a checkmark inside studio).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disable the extended tracking. Then there is a function called "tracking lost" -&amp;gt; you can use that to trigger your scan function and you will have your wanted behavior &lt;/P&gt;&lt;P&gt;though I dont recommend to do things like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8631_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8632_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 06:35:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513622#M2178</guid>
      <dc:creator>mwassmann</dc:creator>
      <dc:date>2018-01-12T06:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to re scan a Thingmark automatically adding JS code , not pressing the scan button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513623#M2179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I undertand your point perfectely but a client wants it , We are trying to help him , he wants to be able to scan different machines automatically but not pressing the scan button so many times , something like that&amp;nbsp; , he will be walking on the production line like that &lt;IMG alt="Example.jpg" class="image-4 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8659_Example.jpg" style="height: auto; width: auto;" /&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;He wants to be able to use Hololens or a Table to be walking on the production line and been checking&amp;nbsp; gauges with information on real time about the most important parameters for each machine . He said that it is much less practical if he has to press the "Scan button" for each thingmark , I dont know if I was clear enough. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I do not how should I use "tracking lose" to trigger my Scan function , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in "Tracking Lost" event&amp;nbsp; I added the following &lt;/P&gt;&lt;P&gt;&lt;IMG class="image-5 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8660_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;and on Home.js I added the following to call the function but it is not working ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8657_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt; I test the AR experience but there are not changes and also I uncheck this option too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://www.ptcusercommunity.com/legacyfs/online/thingworx/8658_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Do you know what I am doing on a wrong way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than you very much for your help&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jan 2018 17:27:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513623#M2179</guid>
      <dc:creator>efraga</dc:creator>
      <dc:date>2018-01-12T17:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to re scan a Thingmark automatically adding JS code , not pressing the scan button</title>
      <link>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513624#M2180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you may have not seen the correct code &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://www.ptcusercommunity.com/7.0.4.3b79b96/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So your function is incorrect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its not app.fn ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its $scope.app.fn...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However loosing the extended tracking functionality is really NOT good! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 07:55:54 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Vuforia-Studio/How-to-re-scan-a-Thingmark-automatically-adding-JS-code-not/m-p/513624#M2180</guid>
      <dc:creator>mwassmann</dc:creator>
      <dc:date>2018-01-15T07:55:54Z</dc:date>
    </item>
  </channel>
</rss>

