<?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: Output a boolean bit on gpib using VISA in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/380810#M190800</link>
    <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Alex,&lt;/P&gt;
&lt;P&gt;How does the instrument maunal define &amp;lt;boolean&amp;gt;?&lt;/P&gt;
&lt;P&gt;Usually its "outp 0 | 1 | OFF | ON"&lt;/P&gt;
&lt;P&gt;If it responses to 0 or 1 then you can convert your boolean to numeric 0 for False and 1 for True.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Ray Farmer&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jun 2006 11:08:09 GMT</pubDate>
    <dc:creator>RayFarmer</dc:creator>
    <dc:date>2006-06-20T11:08:09Z</dc:date>
    <item>
      <title>Output a boolean bit on gpib using VISA</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/380668#M190743</link>
      <description>&lt;DIV&gt;The program that is being developed is to test a California Instruments power supply model 801RP.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The problem&amp;nbsp; is with the function that switches the output of the power supply on and off, the command is "outp &amp;lt;boolean&amp;gt;".&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The question I am raising, how can&amp;nbsp;I send this command with a visa transfer over a gpib interface?&lt;/DIV&gt;</description>
      <pubDate>Mon, 19 Jun 2006 23:57:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/380668#M190743</guid>
      <dc:creator>Alex_Aust</dc:creator>
      <dc:date>2006-06-19T23:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Output a boolean bit on gpib using VISA</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/380810#M190800</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Alex,&lt;/P&gt;
&lt;P&gt;How does the instrument maunal define &amp;lt;boolean&amp;gt;?&lt;/P&gt;
&lt;P&gt;Usually its "outp 0 | 1 | OFF | ON"&lt;/P&gt;
&lt;P&gt;If it responses to 0 or 1 then you can convert your boolean to numeric 0 for False and 1 for True.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Ray Farmer&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2006 11:08:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/380810#M190800</guid>
      <dc:creator>RayFarmer</dc:creator>
      <dc:date>2006-06-20T11:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Output a boolean bit on gpib using VISA</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/381220#M191023</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Ray&lt;/P&gt;
&lt;P&gt;The Boolean is a '1' for on or a&amp;nbsp;'0' for off.&lt;/P&gt;
&lt;P&gt;Using a normal "visa write" which is a alpha numeric transfer I have been unable to find a way to just transfer the boolean. The equipment responds with a command failure.&lt;/P&gt;
&lt;P&gt;I have tried transfer as a binary pattern in the high level of visa transfers but labview returns a not allowed in this session.&lt;/P&gt;
&lt;P&gt;Thanks for your reply&lt;/P&gt;
&lt;P&gt;Alec&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2006 22:10:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/381220#M191023</guid>
      <dc:creator>Alex_Aust</dc:creator>
      <dc:date>2006-06-20T22:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Output a boolean bit on gpib using VISA</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/381300#M191061</link>
      <description>Why would you try to output just the Boolean when the command is "outp &lt;BOOLEAN&gt;". Why don't you try writing "outp 1" or "outp 0"? If you have an electonic copy of the programming manual or can provide a link to one, it would help if the above commands do not work.&lt;P&gt;Message Edited by Dennis Knutson on &lt;SPAN class="date_text"&gt;06-20-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:10 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BOOLEAN&gt;</description>
      <pubDate>Wed, 21 Jun 2006 03:09:00 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/381300#M191061</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2006-06-21T03:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Output a boolean bit on gpib using VISA</title>
      <link>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/381326#M191067</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Its as Dennis says,&lt;/P&gt;
&lt;P&gt;Just send the string "outp 0" to set the output off and "outp 1" to set the output on.&lt;/P&gt;
&lt;P&gt;If you have a boolean control, wire this to the boolean to numeric converter then use one of the string functions to concat or format the string with "outp ".&lt;/P&gt;
&lt;P&gt;In fact there is a string function that provides a string output based on a boolean input.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Ray Farmer&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2006 06:03:38 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/Output-a-boolean-bit-on-gpib-using-VISA/m-p/381326#M191067</guid>
      <dc:creator>RayFarmer</dc:creator>
      <dc:date>2006-06-21T06:03:38Z</dc:date>
    </item>
  </channel>
</rss>

