03-30-2006 03:03 PM
03-31-2006 08:59 AM
Hi Ambas,
Firstly which piece of GPIB equipment are you using to take measurements from the turntable?
To communicate between a piece of GPIB equipment and LabVIEW you will need a GPIB card in your PC, (or a PXI controller with a built in port) and a GPIB cable. You will also need appropriate drivers installed, often referred to as 488.2 drivers.
You can then either download a piece of LabVIEW code to drive (and read from) your GPIB instrument, these can be searched for at www.ni.com/ident, just select the manufacturer and type of your equipment and the system will search to see if there is a driver available. Once you have downloaded this, you unpack the driver into a sub-directory (normally C:\Program Files\National Instruments\LabVIEW 7.1\instr.lib) and restart LabVIEW, then the vis for driving your equipment should be found under the Instrument IO section of the functions palette.
Details about instrument drivers can be found here:
http://www.ni.com/devzone/idnet/learn.htm
If you don't want to use one of these drivers (or one isn't available), you will have to write one of your own. To do this, you need to know the instruction set for your equipment, then create code (instructions written OUT to the equipment, and data read IN, then decoded or PARSEd) either using a set of vis known as VISA, or the instrument IO Assistant Express VI. A good tutorial can be found here:
http://zone.ni.com/devzone/conceptd.nsf/webmain/65A27FB1B6FA99B786256DE50062712B
And more info about all things GPIB is available here:
http://zone.ni.com/devzone/devzone.nsf/webcategories/A95C253DFB5FDB0986256786000BE3C3
Hope this information helps, good luck with the rest of your application!
Best wishes,
Mark
Applications Engineer
National Instruments