<?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: HP3458a ? in LabWindows/CVI</title>
    <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19255#M1663</link>
    <description>Hello, Piotr!&lt;BR /&gt;&lt;BR /&gt;This is not an "answer" -- I just want to keep in touch.  One of our production device testers has BorlandC++4.02 code written 7 years ago, and it involves an HP3458A.  I have advised our company to switch to LabView.&lt;BR /&gt;&lt;BR /&gt;We purchased LabView 6.0 recently and we are just beginning to "get into it", so according to the evident lack of a driver from this NI developers source, it's beginning to look like I will end up having to write a driver myself!  From reading your "question" and all the "answers", I am getting a pretty good idea of what to do, even before I learn LabView!  Thanks to you and all of the responders! &lt;BR /&gt;&lt;BR /&gt;I do know how to control the HP3458A quite well for our needs, from the level of C++ access, so i&lt;BR /&gt;t will be just a matter of putting things into a form suited to LabView.&lt;BR /&gt;&lt;BR /&gt;There is one thing from my recent experience with the HP3458A that you might benefit from: it seems one has to be very careful about the NPLC (number of "power line cycles").  If you don't enable that feature when you are measuring at low signal levels, you will get extremely strange and unpredictable measurement errors!&lt;BR /&gt;&lt;BR /&gt;Best wishes for your success with the instrument.&lt;BR /&gt;&lt;BR /&gt;Andrew Korsak&lt;BR /&gt;Staff Test Engineer&lt;BR /&gt;READ-RITE Corp.&lt;BR /&gt;Fremont CA&lt;BR /&gt;&lt;BR /&gt;andrew.korsak@readrite.com &lt;BR /&gt;</description>
    <pubDate>Thu, 05 Jul 2001 23:47:15 GMT</pubDate>
    <dc:creator>Andrew Korsak, Ph.D. Mathematician, Soft</dc:creator>
    <dc:date>2001-07-05T23:47:15Z</dc:date>
    <item>
      <title>HP3458a ?</title>
      <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19249#M1657</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;Has anybody used the multimeter HP3458a with the LabWinows/CVI 5.5 ?&lt;BR /&gt;&lt;BR /&gt;I'd like to write a program with LabWindows/CVI 5.5&lt;BR /&gt;which, to interact the multimeter HP3458a, should&lt;BR /&gt;programme the multimeter so that the multimeter HP3458a&lt;BR /&gt;could take 256 samples with DSDC (direct-sampling) and :&lt;BR /&gt;&lt;BR /&gt;- time interval between the samples 75E-6sec&lt;BR /&gt;- level triggering at 0% of the range&lt;BR /&gt;- level trigger event&lt;BR /&gt;- enable reading memory&lt;BR /&gt;- transfer samples to computer PC&lt;BR /&gt;&lt;BR /&gt;using the driver:&lt;BR /&gt;========================================&lt;BR /&gt;Instrument Driver information:&lt;BR /&gt;-----------------------------&lt;BR /&gt;Prefix:                               hp3458a&lt;BR /&gt;Driver Revision:                 2.0&lt;BR /&gt;Original Release Date:                03/08/99&lt;BR /&gt;Update Release Date:                  06/14/2000&lt;BR /&gt;&lt;BR /&gt;========================================&lt;BR /&gt;&lt;BR /&gt;Belove there is a snippet of my program, and it doesn't work properly,&lt;BR /&gt;and multimeter displays ERR.&lt;BR /&gt;&lt;BR /&gt;When I increase the time interval between samples is OK.&lt;BR /&gt;&lt;BR /&gt;Why ?&lt;BR /&gt;&lt;BR /&gt;========================================================&lt;BR /&gt;hp3458a_init ("GPIB0::22::INSTR", VI_TRUE, VI_TRUE, &amp;amp;hp3458a);&lt;BR /&gt;&lt;BR /&gt;hp3458a_ConfigureMeasurement (hp3458a,&lt;BR /&gt;            HP3458A_VAL_DC_CPL_DIRECT, 10.0,  0.001);&lt;BR /&gt;&lt;BR /&gt;hp3458a_WriteInstrData (hp3458a, "MEM FIFO");&lt;BR /&gt;&lt;BR /&gt;hp3458a_ConfigureMultiPoint (hp3458a, 2, 256,&lt;BR /&gt;               HP3458A_VAL_INTERVAL, 75.0E-6);&lt;BR /&gt;&lt;BR /&gt;hp3458a_WriteInstrData (hp3458a, "TRIG LEVEL");&lt;BR /&gt;&lt;BR /&gt;hp3458a_WriteInstrData (hp3458a, "DISP OFF");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hp3458a_ReadMultiPoint (hp3458a, 60000, 256, readings_vector,&lt;BR /&gt;&lt;BR /&gt;&amp;amp;number_samples);&lt;BR /&gt;&lt;BR /&gt;=======================================================&lt;BR /&gt;&lt;BR /&gt;with greetings&lt;BR /&gt;Piotr &lt;BR /&gt;</description>
      <pubDate>Tue, 03 Apr 2001 12:00:10 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19249#M1657</guid>
      <dc:creator>kajpek</dc:creator>
      <dc:date>2001-04-03T12:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: HP3458a ?</title>
      <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19250#M1658</link>
      <description>Hello Piotr,&lt;BR /&gt;When you use a time interval of 75.0E-6, your instrument beeps and displays ERR, &lt;BR /&gt;but if you use a larger value it works?  If so, then if you set a breakpoint and step through the code, the error should occur when you run the line &lt;BR /&gt;ConfigureMultiPoint().  You may want to place a call to hp3458a_error_query() directly after the line that causes the error.  This will read the error from the device and should give insight as to the cause.  You might also use NI-Spy (Measurement &amp;amp; Automation Explorer &amp;gt;&amp;gt; Tools) to trace the VISA calls being made from the driver to see if anything looks incorrect.&lt;BR /&gt;&lt;BR /&gt;Jeremiah Cox&lt;BR /&gt;Applications Engineer&lt;BR /&gt;National Instruments&lt;BR /&gt;http://www.ni.com/ask &lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2001 17:22:12 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19250#M1658</guid>
      <dc:creator>Jeremiah Cox</dc:creator>
      <dc:date>2001-04-04T17:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: HP3458a ?</title>
      <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19251#M1659</link>
      <description>I have received Your e-mail and thank You !&lt;BR /&gt;I will try to do what You advise me and I'll write.&lt;BR /&gt;Piotr&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Jeremiah Cox&lt;BR /&gt;&amp;gt; Applications Engineer&lt;BR /&gt;&amp;gt; National Instruments&lt;BR /&gt;&amp;gt; http://www.ni.com/ask &lt;BR /&gt;</description>
      <pubDate>Wed, 04 Apr 2001 18:30:10 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19251#M1659</guid>
      <dc:creator>kajpek</dc:creator>
      <dc:date>2001-04-04T18:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: HP3458a ?</title>
      <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19252#M1660</link>
      <description>Hello Jeremiah !&lt;BR /&gt;&lt;BR /&gt;&amp;gt; When you use a time interval of 75.0E-6, your instrument beeps and&lt;BR /&gt;&amp;gt; displays ERR,&lt;BR /&gt;&amp;gt; but if you use a larger value it works?  If so, then if you set a&lt;BR /&gt;&amp;gt; breakpoint and step through the code, the error should occur when you&lt;BR /&gt;&amp;gt; run the line&lt;BR /&gt;&amp;gt; ConfigureMultiPoint().&lt;BR /&gt;&lt;BR /&gt;    NO !&lt;BR /&gt;    The error "ERR" occur when I run the line:    \/&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;-----------------------------&lt;BR /&gt;    hp3458a_ReadMultiPoint (hp3458a, 60000, number_samples, readings_vector,&lt;BR /&gt;&lt;BR /&gt;&amp;amp;number_samples);&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;-----------------------------&lt;BR /&gt;&lt;BR /&gt;I have placed a call to "hp3458a_error_query()" function directly after the&lt;BR /&gt;mentioned above line.&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;-----------------------------&lt;BR /&gt;hp3458a_error_query (hp3458a, &amp;amp;error_code, error_message);&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;-----------------------------&lt;BR /&gt;and then have seen&lt;BR /&gt;&lt;BR /&gt;                    TRIGGER TOO FAST !!!!!!!!!!!!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You may want to place a call to&lt;BR /&gt;&amp;gt; hp3458a_error_query() directly after the line that causes the error.&lt;BR /&gt;&amp;gt; This will read the error from the device and should give insight as to&lt;BR /&gt;&amp;gt; the cause.  You might also use NI-Spy (Measurement &amp;amp; Automation&lt;BR /&gt;&amp;gt; Explorer &amp;gt;&amp;gt; Tools) to trace the VISA calls being made from the driver&lt;BR /&gt;&amp;gt; to see if anything looks incorrect.&lt;BR /&gt;&lt;BR /&gt;I have enclosed my program with the files from "NI-Spy":&lt;BR /&gt;&lt;BR /&gt;1) Capture.spy and&lt;BR /&gt;2) Capture.txt&lt;BR /&gt;&lt;BR /&gt;P.S.&lt;BR /&gt;I think that the error occurs because of the format DREAL which&lt;BR /&gt;uses function "hp3458a_ReadMultiPoint()" and multimeter&lt;BR /&gt;can't fall behind with writing to memory.&lt;BR /&gt;&lt;BR /&gt;Because when I have written&lt;BR /&gt;&lt;BR /&gt;hp3458a_WriteInstrData (hp3458a, "PRESET DIG")     // 256 samples, 20E-6&lt;BR /&gt;interval time, MFORMAT SINT !!!!!!&lt;BR /&gt;hp3458a_WriteInstrData (hp3458a, "DISP OFF")&lt;BR /&gt;hp3458a_WriteInstrData (hp3458a, "TRIG LEVEL")&lt;BR /&gt;hp3458a_WriteInstrData (hp3458a, "TARM SGL")&lt;BR /&gt;&lt;BR /&gt;then it's OK !!!!!!&lt;BR /&gt;&lt;BR /&gt;but I can't acquire the samples by means of "FetchMultiPoint()" function&lt;BR /&gt;because that function uses SINT format too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will be grateful to You for help !!!&lt;BR /&gt;&lt;BR /&gt;Piotr&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;--&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;--&lt;BR /&gt;Previous e-mail:  \/&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;--&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Problem Description :&lt;BR /&gt;&amp;gt; Hi !&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; I'd like to write a program with LabWindows/CVI 5.5 which,&lt;BR /&gt;&amp;gt; to interact the multimeter HP3458a, should programme the multimeter&lt;BR /&gt;&amp;gt; so that the multimeter HP3458a&lt;BR /&gt;&amp;gt; could take 256 samples with DSDC (direct-sampling) and :&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; - time interval between&lt;BR /&gt;&amp;gt;   the samples 75E-6sec&lt;BR /&gt;&amp;gt; - level triggering at 0% of the range&lt;BR /&gt;&amp;gt; - level trigger event&lt;BR /&gt;&amp;gt; - enable reading memory&lt;BR /&gt;&amp;gt; - transfer samples to computer PC&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; using the driver:&lt;BR /&gt;&amp;gt; ==============================&lt;BR /&gt;&amp;gt; Instrument Driver information:&lt;BR /&gt;&amp;gt; -----------------------------&lt;BR /&gt;&amp;gt; Prefix:                               hp3458a&lt;BR /&gt;&amp;gt; Driver Revision:        2.0&lt;BR /&gt;&amp;gt; Original Release Date:  03/08/99&lt;BR /&gt;&amp;gt; Update Release Date:    06/14/2000&lt;BR /&gt;&amp;gt; ==================================&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Belove there is a snippet of my program, and it doesn't work properly,&lt;BR /&gt;&amp;gt; and multimeter displays ERR.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; When I increase the time interval between samples is OK.&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; Why ?&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; =================================&lt;BR /&gt;&amp;gt; hp3458a_init ("GPIB0::22::INSTR", VI_TRUE, VI_TRUE, &amp;amp;hp3458a)&lt;BR /&gt;&amp;gt; hp3458a_ConfigureMeasurement (hp3458a,&lt;BR /&gt;&amp;gt; HP3458A_VAL_DC_CPL_DIRECT,&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; 10.0,  0.001)&lt;BR /&gt;&amp;gt; hp3458a_WriteInstrData&lt;BR /&gt;&amp;gt; (hp3458a, "MEM FIFO")&lt;BR /&gt;&amp;gt; hp3458a_ConfigureMultiPoint&lt;BR /&gt;&amp;gt; (hp3458a, 2, 256,               HP3458A_VAL_INTERVAL, 75.0E-6)&lt;BR /&gt;&amp;gt; hp3458a_WriteInstrData (hp3458a, "TRIG LEVEL")&lt;BR /&gt;&amp;gt; hp3458a_WriteInstrData (hp3458a, "DISP OFF")&lt;BR /&gt;&amp;gt; hp3458a_ReadMultiPoint (hp3458a, 60000, 256, readings_vector,&lt;BR /&gt;&amp;gt; &amp;amp;number_samples)&lt;BR /&gt;&amp;gt; ===================================&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Attachment File.dat, see below]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Attachment Capture.txt, see below]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Attachment Dsdc.c, see below]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Attachment Dsdc.h, see below]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Attachment Dsdc.prj, see below]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Attachment Dsdc.uir, see below]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[Attachment Capture.spy, see below]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[See first reply for additional information]&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Apr 2001 15:00:11 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19252#M1660</guid>
      <dc:creator>kajpek</dc:creator>
      <dc:date>2001-04-05T15:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: HP3458a ?</title>
      <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19253#M1661</link>
      <description>[Additional attachment(s)] &lt;BR /&gt;</description>
      <pubDate>Thu, 05 Apr 2001 15:00:17 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19253#M1661</guid>
      <dc:creator>kajpek</dc:creator>
      <dc:date>2001-04-05T15:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: HP3458a ?</title>
      <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19254#M1662</link>
      <description>[Additional attachment(s)] &lt;BR /&gt;</description>
      <pubDate>Thu, 05 Apr 2001 15:00:22 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19254#M1662</guid>
      <dc:creator>kajpek</dc:creator>
      <dc:date>2001-04-05T15:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: HP3458a ?</title>
      <link>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19255#M1663</link>
      <description>Hello, Piotr!&lt;BR /&gt;&lt;BR /&gt;This is not an "answer" -- I just want to keep in touch.  One of our production device testers has BorlandC++4.02 code written 7 years ago, and it involves an HP3458A.  I have advised our company to switch to LabView.&lt;BR /&gt;&lt;BR /&gt;We purchased LabView 6.0 recently and we are just beginning to "get into it", so according to the evident lack of a driver from this NI developers source, it's beginning to look like I will end up having to write a driver myself!  From reading your "question" and all the "answers", I am getting a pretty good idea of what to do, even before I learn LabView!  Thanks to you and all of the responders! &lt;BR /&gt;&lt;BR /&gt;I do know how to control the HP3458A quite well for our needs, from the level of C++ access, so i&lt;BR /&gt;t will be just a matter of putting things into a form suited to LabView.&lt;BR /&gt;&lt;BR /&gt;There is one thing from my recent experience with the HP3458A that you might benefit from: it seems one has to be very careful about the NPLC (number of "power line cycles").  If you don't enable that feature when you are measuring at low signal levels, you will get extremely strange and unpredictable measurement errors!&lt;BR /&gt;&lt;BR /&gt;Best wishes for your success with the instrument.&lt;BR /&gt;&lt;BR /&gt;Andrew Korsak&lt;BR /&gt;Staff Test Engineer&lt;BR /&gt;READ-RITE Corp.&lt;BR /&gt;Fremont CA&lt;BR /&gt;&lt;BR /&gt;andrew.korsak@readrite.com &lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jul 2001 23:47:15 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabWindows-CVI/HP3458a/m-p/19255#M1663</guid>
      <dc:creator>Andrew Korsak, Ph.D. Mathematician, Soft</dc:creator>
      <dc:date>2001-07-05T23:47:15Z</dc:date>
    </item>
  </channel>
</rss>

