12.07.2015 Views

Part 2

Part 2

Part 2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

570 Example 3497A ConfigurationsSAMPLE PROGRAMA sample program is shown to sequentially scan channels 40 through 49 (by usingthe AC chan# command), to measure the voltage of sources V1 through V10 andprint the time of day and source voltage (in millivolts) for each channel.If you want to place the Option 010 assembly in a slot other than slot 2, modifyline 80 for the appropriate addresses. Also, for this program, the time of day is setfor 1 :00:00 PM (1 3:00:00 on the 24-hour clock). For real-time data logging, set line70 for the appropriate time of day.SET INITIAL CONDITIONS10 PRlNT "DATA LOGGING - DC VOLTS"20 PRlNT30 PRlNT "CHANW;TAB(1 O);"TIME";TAB(23);"MILLIVOLTS"40 PRlNT50 DIM A$[16160 CLEAR 70970 OUTPUT 709; "VT4VF3TD07 1 5 1 30000''MEASURE VOLTAGES ON CHANNELS 40-49 AND INPUT TlMEFOR I = 40 TO 49OUTPUT 709;"AC",IENTER 709;A$,BPRlNT I;TAB!7);A$;TAB(23);B* 1000NEXT IENDTYPICAL PRINTOUTDATA LOGGING - DC VOLTAGE MEASUREMENTSCHAN TIME MILLIVOLTSCOMMENTSFor a detailed explanation of guarded voltage measurements, see -hp- ApplicationNote 123 "Floating Measurements and Guarding" (-hp- part number 5952-21 53).If desired, a wait statement (i. e., 11 5 WAIT 1000 for a 1 second delay) can beadded between 1 10 and 120.Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!