LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hp5334A labview example

Hi,

 

I need an exmaple in labview using hp5334A universal counter. I have downloaded labview driver for that from NI site (http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9222659CE034080020E748... copied to instr.llb folder(C:\Program Files\National Instruments\LabVIEW 8.6\instr.lib). when I am seeing in the functions palette of the labview under Instrument I/O -> Instr Drivers, i found only HP 5334A.vi related to hp5334A, remaining all VIs are related to hp 5334B.  I am using Labview 8.6.

 

Is this single VI (HP 5334A.vi) is enough to do programming with actual instrument: If any body can share me some example related to hp5334A, it would be helpful for me.

 

Thanks,

hari

 

0 Kudos
Message 1 of 4
(2,985 Views)

Unfortunately, that instrument is very old, and so are the drivers, even though they've just been resaved for newer versions of LabVIEW. The code itself is archaic. As to whether the HP 5334A VI is "enough to do programming", well, that depends on what you're trying to do. There may be differences in commands between the A and the B versions of that instrument. The only way to tell is by looking at the instrument manuals to see the command lists.

0 Kudos
Message 2 of 4
(2,968 Views)

hi,

 

Thanks for your reply.

 

I have one basic question about this. I want to use hp 5334A for measuring frequemcy and interface i am using is GPIB. In HP 5334A.vi, there is not input for "Resource Name", then how the VI can recognise the actual hardware connected and how VI will communicate with that???

 

Thanks,

Harika

0 Kudos
Message 3 of 4
(2,958 Views)

Those VIs are VERY old, and VERY bad. NI should really pull them and no longer make them available for download.

 

The GPIB address is hard-wired in the code. It's the string constant of 3 outside the sequence frame. You can change this to a control.

0 Kudos
Message 4 of 4
(2,946 Views)