RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

SAmpling angle value when turntable is running

I implement  a program to control a turntable to read angle using GPIB. The turntable execute the fonction. I am getting the running reading from 1 point to another point through the read command. Let say I want my turntable to start a 10degree ang stop at 90deg. Now from that reading I want to sample angle vaues  at every 500ms and save them for while or  sample angle at fraction of ten (eg: 10, 20, 30, 40, ...so on) so I can add other numbers to these values. I am struggling in that particular part if anyone can help me because I am new in labview and I am using labview 7.1. NB: I do not use any drivers for my program 
0 Kudos
Message 1 of 2
(7,161 Views)

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

 

 

0 Kudos
Message 2 of 2
(7,147 Views)