Published on

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide


  1. 1. Scientech Vector S310 & S310D Laser Power and Energy Meter LabVIEW 6 Drivers 10604 Rev. A (Revised: 3/4/02) About This Package This driver VI package supports the Scientech Vector Model S310 & S310D Laser Power and Energy Meters. Prerequisites for use are: LabVIEW 6, a Vector meter with the GPIB or RS-232 option installed, and a suitable cable (see information below for wiring details). If you need more information, contact the manufacturer: Scientech, Inc. 5649 Arapahoe Avenue Boulder, CO 80303 303 444-1361 The Setup and Operating Procedures manual that comes with the Vector contains useful programming information. Documentation for each VI is available by selecting Get Info... from the File menu, and information on each item on the panels is available through LabVIEW’s Help window. This Package was written by a member of the Instrument Library Developer’s Program: Chris Clark 7186 Bluegrass Court Boulder, CO 80301 303 570-1784 chris@vioda.com www.viodia.com Meter Setup Using the meter front-panel keys, locate and set the communications configuration items. 1. Select the desired setup group (1 - 4) by pressing the SETUP button repeatedly until the desired group number appears then press the SELECT button. 2. Press the SELECT button until the REMOTE screen appears. 3. Press the SETUP button to toggle the interface between r232 (RS232) and IEEE (IEEE488 or GPIB). Press the SELECT button when the desired interface appears to enter the interface choice to memory. 1
  2. 2. 4. If RS232 has been selected, the "br" (baud rate) enunciator appears in the display. To change the baud rate press SETUP button until the desired rate appears. Then press the SELECT button to enter the rate choice to memory. 5. The "PA" (parity) enunciator now appears. Press SETUP button to select none, even, or odd parity. Then press the SELECT button to enter the parity choice to memory. 6. The "HS" (handshake) enunciator now appears. You may use the SETUP button to change this setting but nOnE is recommended for use with LabVIEW. 7. If IEEE488 has been slected, the "ba" (bus address) enunciator appears in the display. Bus addresses from 0 to 30 may be selected by pressing the count up (RANGE) count down (MODE) buttons followed by the SELECT button to enter the address choice to memory. GPIB Cabling Connect a GPIB between the computer GPIB card and the Vector. RS232 Wiring Connect the wiring as listed in the tables and figure below. I’ve found that 99% of all communications problems are due to errors in this wiring. Use an ohm meter, if necessary, to confirm that all connections are correct. For RS-232 interfaces, use commercial modem cables. For Macintosh users , an Apple ImageWriter cable makes a good starting point for this application. DB-9 pin cable Vector connector 2 3 3 2 5 (gnd) 5 (gnd) use two standard IBM cables with a Null Modem adapter Null Modem DB-9 DB-9 cable1 cable2 DB-9 or DB-25 Vector computer 2
  3. 3. Macintosh modem pin Vector connector 3 3 5 2 4 (gnd) 5 (gnd) OPTION 1 DB-9 to DB-25 adapter Apple imagewriter cable Vector computer OPTION 2 DB-9 to DB-25 Apple modem adapter cable Vector computer Null Modem adapter Driver Overview Two versions of the driver are included in this package: VectS310.llb is based on traditional LabVIEW GPIB VIs. VecS310R.llb is based on traditional LabVIEW serial VIs. Most function VI names and operations are identical, as are the connector panes. The difference is that serial VIs require a different method for reading data from the meter. General Usage Enter the proper GPIB address or RS232 port number in your VIs. For RS232 applications, you must first call the S310 Initialize R.vi to set up the serial port. You may use any of the VIs with the S310 prefix to create VIs of your own. QuickTest Run the S310 Initialize.vi for GPIB or S310 Initialize R.vi for RS232 when first getting started. If the VI returns no error and the name Scientech with some numbers in the "*IDN reply" string indicator, your unit is properly configured and cabled and ready for remote programming. If not, carefully re-check the meter configuration steps and the cabling. In general, GPIB is straightforward and RS232 will require the more time to configure properly. 3
  4. 4. Demo VIs Any Vis with the prefix app are simple demo VIs demonstrating the use of the SND?, RPT? and COL queries that are used to get energy and power data from the meter. 4