<?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: LabVIEW-compatible Clipboard Manager? in BreakPoint</title>
    <link>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297416#M33573</link>
    <description>&lt;P&gt;I would expect that you could use the CCT API to create a save to clipboard tool.&amp;nbsp; Up version should be automatic down convert would require a save for setting parameter.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Apr 2023 19:33:55 GMT</pubDate>
    <dc:creator>JÞB</dc:creator>
    <dc:date>2023-04-11T19:33:55Z</dc:date>
    <item>
      <title>LabVIEW-compatible Clipboard Manager?</title>
      <link>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4293329#M33541</link>
      <description>&lt;P&gt;Dear colleagues,&lt;/P&gt;
&lt;P&gt;do you know any clipboard manager, which can hold LabVIEW code? I mean - if I will copy some code from Block Diagram, then close LabVIEW, then open again and paste, then copied code will be pasted as BD Code and not as an image? In ideal case I shall be able to copy between different LabVIEW instances (from lower to higher LV version).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2023 06:40:30 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4293329#M33541</guid>
      <dc:creator>Andrey_Dmitriev</dc:creator>
      <dc:date>2023-03-25T06:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW-compatible Clipboard Manager?</title>
      <link>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4293584#M33542</link>
      <description>&lt;P&gt;The data to be copied is held in LabVIEW, so a manager that can do that needs to be infinitely aware of LabVIEW, and probably made in LabVIEW.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copying between versions is going to be extra hard. Without that requirement, you could store the clipboard VI (that LV uses to store the clipboard) to a buffer. But if you want to be compatible between versions, you'd need to serialize that data and de-serialize it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, it won't be easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Closest I got to this was a multi-clipboard for LabVIEW, that could hold (and display) a history of copy items (not just LV). Then you could paste them at will, either in order or by selecting one from history. But it was a delicate balance between Window and the project provider framework. I never actually used it...&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 08:07:52 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4293584#M33542</guid>
      <dc:creator>wiebe@CARYA</dc:creator>
      <dc:date>2023-03-27T08:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW-compatible Clipboard Manager?</title>
      <link>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297416#M33573</link>
      <description>&lt;P&gt;I would expect that you could use the CCT API to create a save to clipboard tool.&amp;nbsp; Up version should be automatic down convert would require a save for setting parameter.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 19:33:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297416#M33573</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2023-04-11T19:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW-compatible Clipboard Manager?</title>
      <link>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297570#M33575</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/123634"&gt;@JÞB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I would expect that you could use the CCT API to create a save to clipboard tool.&amp;nbsp; Up version should be automatic down convert would require a save for setting parameter.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The&amp;nbsp;&lt;SPAN&gt;Cognitive Computing Toolkit (CCT)?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;Communication Control Toolkit (CCT)?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Saving LabVIEW's &lt;EM&gt;internal&lt;/EM&gt; clipboard to anything will be the hardest trick, whichever solution is chosen. This does require code in LabVIEW or changes to LabVIEW. There's just no way any external entity can get LabVIEW's internal clipboard (except maybe through a VI Server reference to the running LabVIEW instance, which technically would be LabVIEW code).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 08:05:39 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297570#M33575</guid>
      <dc:creator>wiebe@CARYA</dc:creator>
      <dc:date>2023-04-12T08:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW-compatible Clipboard Manager?</title>
      <link>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297632#M33577</link>
      <description>&lt;P&gt;Code Capture Tool, sorry I didn't disambiguate the acronym.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LabVIEW does have some methods that copy to Windows Clipboard.&amp;nbsp; The right-click option on graphs is one example.&amp;nbsp; I do not know how this method works.&amp;nbsp; &amp;nbsp;But, some pointed questions to NI R&amp;amp;D might be an option for Champions.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 12:23:16 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297632#M33577</guid>
      <dc:creator>JÞB</dc:creator>
      <dc:date>2023-04-12T12:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: LabVIEW-compatible Clipboard Manager?</title>
      <link>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297908#M33586</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.ni.com/t5/user/viewprofilepage/user-id/123634"&gt;@JÞB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Code Capture Tool, sorry I didn't disambiguate the acronym.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LabVIEW does have some methods that copy to Windows Clipboard.&amp;nbsp; The right-click option on graphs is one example.&amp;nbsp; I do not know how this method works.&amp;nbsp; &amp;nbsp;But, some pointed questions to NI R&amp;amp;D might be an option for Champions.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I know how it works&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":face_savoring_food:"&gt;😋&lt;/span&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Access to the clipboard is pretty straightforward, except when it comes to LabVIEW code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LabVIEW code isn't copied to the Windows clipboard, but in stead is copied to a Clipboard VI. Several formats are copied to the Windows clipboard: an image, or text and a LabVIEW tag. But not the code...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you paste in LabVIEW, it can see there's a LabVIEW format (by the tag), and LabVIEW then takes the data from the clipboard &lt;STRONG&gt;VI&lt;/STRONG&gt; (not the clipboard), and pastes it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you paste between 2 LV instances (same version) the source pastes an image and it's tag, and the destination simply pastes the image as it doesn't recognize the tag...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you want to copy\paste LabVIEW code, you need to catch a LabVIEW copy action (the Selection Change event on the Clipboard VI might work), somehow put the Clipboard VI data into the Windows clipboard, and when pasting, move the data from the Windows clipboard into the clipboard VI before LabVIEW pastes it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All doable, but tricky.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 11:08:20 GMT</pubDate>
      <guid>https://forums.ni.com/t5/BreakPoint/LabVIEW-compatible-Clipboard-Manager/m-p/4297908#M33586</guid>
      <dc:creator>wiebe@CARYA</dc:creator>
      <dc:date>2023-04-13T11:08:20Z</dc:date>
    </item>
  </channel>
</rss>

