Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Time of measure in HP 34401A

Solved!
Go to solution

Hello,

 

I've made a simple VI which show Time of measure in HP 34401a multimeter.   I'm using VISA functions to enter SCPI commands and to measure time I used Tick count function.

 

 When I measure time of DC functions in my opinion there is everything OK but there is a problem in AC measuring. It shows all the time about 800 ms and this is wrong for me. I think that beacause according to  HP 34401A User's Guide there should me a over 7 seconds in slow filter, about 1 second in medium filter and about 500 ms in fast filter. I don't know why but when I use HP 34401a drivers blocks to build VI and use Single Point measure it shows quite correct results but it has immediate triggering and I need bus trigger. Maybe someone could help with this problem beacause I'm not a advanced user of LV.

 

I've attached a VI file.

0 Kudos
Message 1 of 6
(4,798 Views)
Check out the driver on the driver network
http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=014E7F05D12C6F8BE0440003BA7CCD...
greetings from the Netherlands
0 Kudos
Message 2 of 6
(4,789 Views)

Your VI and timing method is deeply flawed. You don't think that the Agilent spec includes a clr, a reset, and all connfiguration commands, do you? The sequence structure is silly. Use the driver that came with your version of LabVIEW or get the latest that Albert linked. You can easily set the trigger to software (i.e. bus) so I don't understand your comment.

0 Kudos
Message 3 of 6
(4,771 Views)

Ok, I will use this drivers to build VI. What timing method would you suggest? You're right about setting trigger, that wasn't very thoughtful comment.

0 Kudos
Message 4 of 6
(4,768 Views)
Solution
Accepted by topic author bzalewsk

Hi,

I think Dennis referred to the flat sequence structure in your VI. It is totally redundant, since according to the data flow programming principles, the wires between the VISA Write subVIs already guarantee the subsequent execution.

I hope you managed to get your application working using the suggested drivers.

0 Kudos
Message 5 of 6
(4,727 Views)

Hi,

 

I've already solved a problem and I've got satisfying results, but thanks for advice. This sequence structure was just unsuccesfull test, because I wanted to check time of execution each VISA Write subVI but I quickly gave up this bad idea and it was just remains of that.

0 Kudos
Message 6 of 6
(4,720 Views)