background image

45 User Manual

EAR99 technology subject to restrictions on copyrights page.

USBTMC and TCP/IP, send commands to read the return value.

Follow these steps to complete the example:

1. Open Visual Studio and create a new vc ++ win32 project.

Setting up the project environment to use the NI-VISA library, you

have two options for using ni-visa, static mode and automatic mode:

static mode:

Find the files on the NI-VISA installation path: visa.h, visatype.h,

visa32.lib. Copy them to your project and add them to the project. In the

project .cpp file, add the following two lines

#include "visa.h"

#pragma comment(lib,"visa32.lib")

automatic mode

Set .h files include directory, NI-VISA installation path. In our

computer,

we

set

the

path

to:

C:

\Program

Files\IVI

Foundation\VISA\WINNT\include. Set this path to the project - Properties -

C / C ++ - General - Additional include path, as shown:

Set the library path to set the library file:

For example your NI-VISA installation path could be C: \Program Files\IVI

Foundation\VISA\WINNT\LIB

Содержание T3PS16081P

Страница 1: ...T3PS16081P 30051P Programmable Linear DC Power Supplies User Manual ...

Страница 2: ...hapter 2 Control panel operation 14 2 1 Output summary 15 2 2 2 wire mode 16 2 3 Remote Sense mode 18 2 4 Configuration of LAN interface 19 2 5 Save and recall 21 2 6 Timer 24 2 7 Waveform display 27 2 8 Version information 28 2 9 Lock key 28 2 10 Upgrade firmware 29 Chapter 3 Remote control 32 3 1 Control method 32 3 2 Command format 33 3 3 Command Summary 34 3 4 Command description 36 3 5 Progra...

Страница 3: ...dyne LeCroy publications is strictly prohibited Information contained herein is classified as EAR99 under the U S Export Administration Regulations Export reexport or diversion contrary to U S law is prohibited Teledyne Test Tools is a trademark of Teledyne LeCroy Inc Inc Other product or brand names are trademarks or requested trademarks of their respective holders Information in this publication...

Страница 4: ... on the instrument to avoid fire or electric shock Before connecting to the instrument read the manual to understand the input output ratings Do not operate with suspected failures If you suspect that the instrument is damaged contact the Teledyne LeCroy Service Department immediately Do not operate in wet damp conditions Do not operate in an explosive atmosphere Keep the surface of the instrument...

Страница 5: ...80 RH at 30 C Altitude 2000 m at 30 C Use indoors only Pollution degree 2 Use in an operating environment where normally only dry non conductive pollution occurs Temporary conductivity caused by condensation should be expected AC Power Input Voltage Frequency 100 120 220 230 V 10 50 60 Hz The fuse type 100 120 V T6 3A 250V 220 230 V T3 15A 250V Mains Supply Connector CAT II per IEC EN 61010 1 2010...

Страница 6: ...um output values of 16 V 8 A while the T3PS30051P has a maximum output value of 30 V 5 A Both models have remote sense capability output short circuit and overload protection Figure 1 Side view of T3PS16081P and T3PS30051P Main features Single high precision programmable output T3PS16081P 16 V 8 A total power is 128 W T3PS30051P 30 V 5 A total power is 150 W Compact easy to use powerful ideal for ...

Страница 7: ...sense compensation function maximum compensation up to 1V Four varieties of input line voltage values include 100V 110V 220V and 230V to satisfy user requirements Intelligent temperature controlled fan effectively reduces noise Clear graphical interface with waveform display 5 internal system parameters save recall support for data storage space expansion Uses EasyPower PC software real time contr...

Страница 8: ...art Guide In this chapter we introduce the front panel and display interface of the T3PS16081P 30051P and also tips for how to check and operate the power supply the first time General Inspection The front panel The rear panel Connecting power User interface Output Inspection Fuse Replacement ...

Страница 9: ...hanical tests The consigner or carrier is responsible for damages to the instrument resulting from shipment Teledyne LeCroy will not provide free maintenance or replacement for shipping damages 2 Inspect the instrument If there is damage defects or failures in electrical and mechanical tests of the product please contact your nearest Teledyne LeCroy sales representative 3 Check the accessories Ple...

Страница 10: ...ology subject to restrictions on copyrights page 1 2 The Front Panel Figure 2 The front panel of the T3PS16081P T3PS30051P LCD Display Adjustment Knob Power Button Sense Terminals Output Terminals Function Keys Ground Terminal ...

Страница 11: ...riefly to enter the system message interface Press the button for 1 second or longer to activate the lock function Press the button briefly to enter the timer interface Press the left button to move the cursor from left to right press the right button to move the cursor in the opposite direction In the timer interface or main interface press the On Off button briefly to turn on off the timer Press...

Страница 12: ...Press the button to enable disable the channel output 4 Output Terminals Physical output connections to the external circuit 5 Ground Terminal This terminal is connected to the instrument chassis and ground wire and is therefore in a grounded state 6 Sense Terminals Used to sense the voltage at the load This allows the source to compensate for the voltage drop caused by the leads between the power...

Страница 13: ...s on copyrights page 1 3 The Rear Panel Figure 3 The rear panel of the T3PS16081P T3PS30051P LAN interface AC Power Switch 1 Warning message Safety message regarding operation and service Warning Message AC Input Values AC Power Socket Fuse USB device Fan ...

Страница 14: ...wer socket The socket for AC input power 4 Fuse The specified fuse relates to the input voltage Please refer to the AC input voltage description 5 AC line power selection switch AC Input Voltages 100 120 220 230 V 6 LAN interface Connect to the local network using the RJ45 interface 7 USB device Used when connecting the instrument to an external computer to allow remote control 8 Fan ...

Страница 15: ...cations AC power input Voltage selector configure 100 VAC 10 50 60 Hz 120 VAC 10 50 60 Hz 220 VAC 10 50 60 Hz 230 VAC 10 50 60 Hz Please connect the external AC power carefully using the steps below 1 Check the input power Make certain that the AC line power to be connected to the instrument meets the requirements outlined in Table 1 2 Check the voltage selector on the rear panel Make certain that...

Страница 16: ...ower Requirements on the rear panel of the instrument 4 Connect the power Connect the instrument to AC power supply using the power cord provided with the accessories Then press the button to turn on the power WARNING Before switching the input power supply voltage please disconnect the power supply before setting the voltage selector to the appropriate setting WARNING To avoid electric shock make...

Страница 17: ... Channel output state On Off 2 Remote sense mode 2 wire two wire mode 4 wire four wire remote sense mode 3 LAN connection icon When the instrument is connected to a network through the LAN port this flag is displayed 4 USB connection icon When the instrument is connected to a computer via the USB ...

Страница 18: ...tions on copyrights page Interface this icon is displayed 5 Output mode CV Constant Voltage CC Constant Current 6 Output programmed values Voltage current power settings 7 Measured output values Voltage current power actual output 8 Timer state On Off ...

Страница 19: ... adjusting the voltage setpoint from the minimum 0 V to the maximum value 30 V 2 Check the output current Turn on the power and make sure the voltage setting is not zero Connect the output terminals short with an insulated wire that can handle 10 A or more 18 AWG single core for example Activate the output by pressing the on off button The low impedance shorted output will cause the instrument to ...

Страница 20: ...the fuse seat 3 Adjust the power voltage selector manually to select the correct voltage scale 4 Take out the fuse and replace it with the specified fuse for the corresponding relationship between the AC input voltage and fuse specification refer to the input power requirement at the rear panel 5 Re insert the fuse holder into the power socket please pay attention to the directions WARNING To avoi...

Страница 21: ... panel operation In this chapter the functions and operation of the control panel will be introduced in detail Overview Output summary Setting the output voltage and current of the power supply Remote terminal LAN configuration Save recall Timer Waveform display Version information Lock Update ...

Страница 22: ...value When the output current is less than the set value the constant current mode will switch to constant voltage mode automatically In the constant voltage mode the output current is less than the set value which can be controlled by the front panel The user interface displays the output mode is CV and the voltage remains at the set value When output current reaches the set value the system swit...

Страница 23: ...ethod 1 Connect the output terminals As shown in the figure below connect the load to the output terminals CAUTION To avoid damage to the instrument please pay attention to the positive and negative terminal polarity when connecting the load 2 Configure the output of voltage and current i Selecting the parameters to change by moving the left right arrow keys ...

Страница 24: ... shows 2 wire Press the On Off button the button light will light up the channel output is enabled and the display will show the power supply status is On Note Built in overvoltage protection When the output voltage of the T3PS16081P is greater than 22 2 V or the output voltage of the T3PS30051P is greater than 36 2 V the output will automatically short circuit and limit the voltage output If this...

Страница 25: ...ge at the power supply output This allows the instrument to automatically compensate for the voltage drop caused by the load leads ensuring that the user specified voltage output matches the voltage delivered to the load Front panel Sense connections are as shown below Operation method 1 Connect the output terminals and sense terminals As shown above connect the front panel Output terminal and Sen...

Страница 26: ...e maximum compensation voltage of the power supply is 1 V When the voltage difference between the Output terminal and the Sense terminal is more than 1 V the instrument will turn off automatically 2 4 Configuration of LAN interface The T3PS16081P 30051P support USB Device and LAN interfaces You can remotely control the power supply through these interfaces When using the LAN interface first set th...

Страница 27: ...matically set the IP address subnet mask and gateway according to the current local access network OFF The user can manually set the IP address subnet mask and gateway Press the left right arrow button to change the position of cursor Rotate the knob or press the left and right arrow buttons for 1 second or longer to change the data Press Fine button to change the highlighted digit Press the knob ...

Страница 28: ...rameter settings to be saved 2 Press IP Save for 1 second or longer to enter to the Store Page screen 3 Press the arrow buttons to move the cursor to FILE CHOICE 4 Rotate the knob or press the Fine button briefly to select the storage location FILE 1 FILE 5 5 Press the arrow buttons to move the cursor to OPER CHOICE 6 Turn the multi function knob to select STORE and press the knob or press the Fin...

Страница 29: ...n 2 Press the arrow buttons to move the cursor to FILE CHOICE 3 Turn the rotary knob or press the Fine button briefly to select the instrument status file FILE 1 FILE 5 4 Press the arrow buttons to move the cursor to OPER CHOICE 5 Turn the multi function knob to select RECALL and press the knob or press the Fine button for 1 second or longer to select OK to recall the saved file ...

Страница 30: ...e arrow buttons to move the cursor to FILE CHOICE 3 Turn the rotary knob or press the Fine button briefly to select the instrument status file FILE 1 FILE 5 4 Press the arrow button to move the cursor to OPER CHOICE 5 Turn the multi function knob to select DELETE and press the knob or press the Fine button for 1 second or longer to select OK to read the saved file ...

Страница 31: ...tinuous output with the longest time out time 10000 s Set the timer parameter Method 1 1 Press Timer Wave to enter the Timer Setup interface and the indicator will illuminate 2 Using the arrow keys move the cursor to select the desired parameter voltage current time 3 Rotate the multi function knob or press the arrow buttons for 1 second or longer period to set the corresponding value The Fine but...

Страница 32: ...ce screen 2 Rotate the multi function knob to turn the Timer state to ON 3 Press the knob to start the Timer Notice the countdown shown to the right of the Timer On Off indicator It will begin to count down for each segment of the timer profile 4 Rotate the multi function knob to turn the Timer state to OFF 5 Or press the On Off button for 1 second or longer to turn on off the Timer ...

Страница 33: ...urn off the timer 4 Or press the On Off button for 1 second or longer to turn on off the Timer After starting the timer function the timer will stop if you press the On Off button to switch off the channel output When the channel output is turned on again the timer will continue counting from the last point in time it stopped After the countdown steps have completed the timer will turn off automat...

Страница 34: ...for 1 second or longer to open the channel waveform display function Once activated the key light will illuminate and the waveform display interface is activated 2 Press the On Off key to turn on the output Now you can observe the near real time changes of the channel output parameters current voltage Note The yellow line indicates the voltage output curve the green line indicates the current outp...

Страница 35: ...y The T3PS16081P 30051P allows the user to lock the front panel keys to avoid the risk of inadvertently changing a setting Under any interface on the front panel press the Ver Lock key for 1 second or longer to enable the key lock function At this point the other buttons on the front panel are disabled except for the power button After the lock function is enabled a lock icon appears at the top of...

Страница 36: ...ilable on the Teledyne LeCroy website this is used to update the power supplies firmware via USB Device or LAN Upgrade as follows Upgrade in normal Interface 1 Open the EasyPower software after the USB interface has established its connection to the PC and run the EasyPower software 2 Click Version and then choose Upgrade in the drop down menu to enter the USB firmware upgrade dialogue ...

Страница 37: ...ware upgrade dialogue Click file choosing icon and then select the file to be upgraded which must have an ADS file extension 4 Click the Upgrade button to begin the upgrade The upgrade is finished when the progress bar completes and the instrument will automatically run the version after the upgrade ...

Страница 38: ...e via the guide procedure also can be used if the method above does not work Specific steps are as follows 1 Press the knob and simultaneously turn on the instrument It will now enter the guide procedure mode 2 After entering the guide procedure mode the upgrade method is the same as in the previous procedure ...

Страница 39: ...d install the latest version of NI VISA at https www ni com en gb support downloads drivers download ni visa html Next use the USB cable to connect the T3PS16081P 30051P via the rear panel s USB Device connector to the computer or use a network cable to connect the power supply through the back panel s LAN connector to the computer s LAN Based on NI VISA the user can remotely control the T3PS16081...

Страница 40: ...tion see section 3 5 Programming Examples 3 2 Command format The SCPI command is a tree hierarchy that includes multiple subsystems each consisting of a root key and one or more level keys Command keywords are separated by a colon The keywords are followed by optional parameter settings Commands and parameters are separated by a space and the parameters are separated by commas add a question mark ...

Страница 41: ...alue for this parameter for example CH1 VOLT 10 Angle brackets do not send angle brackets along with the command string Optional parameters are enclosed in square brackets If you do not specify a value for the optional parameter the instrument uses the default value For example CH1 in the above command can be omitted for example VOLT 10 At this time the command will operate on the current channel ...

Страница 42: ...gy subject to restrictions on copyrights page 10 SOURce CURRent 11 SOURce VOLTage volt 12 SOURce VOLTage 13 OUTPut 14 OUTPut TRACk 15 OUTPut WAVE 16 TIMEr SET 17 TIMEr SET 18 TIMEr 19 SYSTem ERRor 20 SYSTem VERSion 21 SYSTem STATus ...

Страница 43: ...re version Return Info Manufacturer product type series NO software version Example LeCroy T3PS16081P T3PS1XDAD1R0001 2 01 01 06 V1 0 2 SAV Command format SAV name Description Save current state in nonvolatile memory with the specified name Example SAV 1 3 RCL Command format RCL name Description Recall state that had been saved from nonvolatile memory Example RCL 1 4 INSTrument Command format INST...

Страница 44: ...ry current value for specified channel if there is no specified channel query the current channel Example MEASure CURRent CH1 Return Info 3 000 Command format MEASure VOLTage CH1 Description Query voltage value for specified channel if there is no specified channel query the current channel Example MEASure VOLTage CH1 Return Info 16 000 Command format MEASure POWEr CH Description Query power value...

Страница 45: ...Command format SOURce CURRent SOURce CH1 Description Query the current value of the selected channel Example CH1 CURRent Return Info 0 500 7 VOLTage Command format SOURce VOLTage value SOURce CH1 Description Set voltage value of the selected channel Example CH1 VOLTage 15 Command format SOURce CURRent SOURce CH1 Description Query the voltage value of the selected channel Example CH1 VOLTage Return...

Страница 46: ...1 state ON OFF Description Turn on off the channel Example OUTPut CH1 ON 10 TIMEr Command format TIMEr SET SOURce secnum volt curr time SOURce CH1 secnum 1 to 5 Description Set timing parameters of specified channel Example TIMEr SET CH1 2 3 0 5 2 Command format TIMEr SET SOURce secnum SOURce CH1 secnum 1 to 5 Description Query the voltage current time parameters of specified group of specified ch...

Страница 47: ... 11 SYSTem Command format SYSTem ERRor Description Query the error code and the information of the equipment Command format SYSTem VERSion Description Query the software version of the equipment Example SYSTem VERSion Return Info 2 01 01 06 Command format SYSTem STATus Description Query the current working state of the equipment Instruction The return info is Hexadecimal format but the actual stat...

Страница 48: ... mode 1 CC mode 4 0 Output OFF 1 Output ON 5 0 2W mode 1 4W mode 6 0 TIMER OFF 1 TIMER ON 8 0 digital display 1 waveform display 12 IPaddr Command format IPaddr IP address Description Used to assign a Static Internet Protocol IP address to the instrument Example Explanation IPaddr 10 11 13 214 This command is invalid when the power is currently set to automatically obtain the network configuration...

Страница 49: ...he power is currently set to automatically obtain the network configuration DHCP is ON Command format MASKaddr Description Query the software the setting of the mask address Example SYSTem VERSion Return Info 255 255 255 0 14 GATEaddr Command format GATEaddr GateWay Description Used to assign agateway to the instrument Example Explanation GATEaddr 10 11 13 1 This command is invalid when the power ...

Страница 50: ...n on or off the instrument s automatic network configuration feature Example DHCP ON Command format DHCP Description This is used to query whether the current automatic network configuration of the instrument is enabled Return Info ON 16 LOCK Command format LOCK Description Turn on the key lock to disable local or remote settings Example LOCK Command format UNLOCK Description Turn off the key lock...

Страница 51: ...ome examples involve the use of LAN interface Please use the USB cable to connect the USB Device port on the rear panel of the power supply to the USB port on the PC You can also use the LAN interface to communicate with the PC 3 After the power is correctly connected to the PC for the first time power on the instrument At this time the Hardware Update Wizard dialog box will pop up Follow the inst...

Страница 52: ...the NI VISA installation path visa h visatype h visa32 lib Copy them to your project and add them to the project In the project cpp file add the following two lines include visa h pragma comment lib visa32 lib automatic mode Set h files include directory NI VISA installation path In our computer we set the path to C Program Files IVI Foundation VISA WINNT include Set this path to the project Prope...

Страница 53: ... project properties Linker Command Line Additional Options visa32 lib Including visa h file in XXX cpp file include visa h 2 Add code Based on USB interface code Write a Usbtmc_test function int Usbtmc_test This code demonstrates using NI VISA to send synchronous read and write commands to a USB Test Measurement Class USBTMC instrument This example writes IDN n string to all USBTMCs devices ...

Страница 54: ...ment flag Try to read a response with viScanf Close the VISA session ViSession defaultRM ViSession instr ViUInt32 numInstrs ViFindList findList ViStatus status char instrResourceString VI_FIND_BUFLEN unsigned char buffer 100 char stringinput 512 int i First we have to call viOpenDefaultRM to get the manager s handle We will store this handle in defaultRM status viOpenDefaultRM defaultRM if status ...

Страница 55: ... which is called instrument descriptor The format of the string can be found in the right click parameter description in the function panel After opening a session to the device we get a handle to the instrument used later when using the VISA feature The AccessMode and timeout parameters in this function are reserved for future functions These two parameters are given the value VI_NULL for i 0 i i...

Страница 56: ...tatus VI_SUCCESS printf Error reading a response from the device d n i 1 else printf nDevice d s n i 1 retCount buffer status viClose instr We will now close the session using the viClose instrument This action frees up all system resources Return 0 Based on the LAN port code Write a TCP_IP_Test function int TCP_IP_Test char pIP char outputBuffer VI_FIND_BUFLEN ViSession defaultRM instr ViStatus s...

Страница 57: ...atus VI_SUCCESS printf An error occurred opening the session n viClose defaultRM status viPrintf instr idn n status viScanf instr t outputBuffer if status VI_SUCCESS printf viRead failed with error code x n status viClose defaultRM else printf ndata read from device s n 0 outputBuffer status viClose instr status viClose defaultRM return 0 ...

Страница 58: ...l Basic create a standard application project Standard EXE 2 Using the NI VISA library to set up the project environment click on the project s existing tab add module Search for the include folder file under the NI VISA installation path in visa32 bas and add the file This allows VISA functions and VISA data types to be used in the program 3 Add code Based on USB interface code Write Usbtmc_test ...

Страница 59: ...the LAN port code Write to the TCP_IP_Test function function TCP_IP_test IPstr This code demonstrates using NI VISA to send synchronous read and write commands to a TCP IP instrument Create a VISA TCPIP object to connect to an instrument with an IP address configured vt visa ni TCPIP0 IPstr INSTR Open the created VISA object fopen vt Send the string IDN To query device information fprintf vt IDN R...

Страница 60: ...ent Windows 7 32 bit system Python v2 7 5 Example content Access control devices via Socket send commands to read the return value The following is the script content usr bin env python coding utf 8 Access the control device via Socket send a command read and print the return value import socket for sockets import sys for exit import time for sleep remote_ip 10 11 13 32 port 5025 count 0 def Socke...

Страница 61: ...socket error print Send failed sys exit reply Sock recv 4096 return reply def SocketClose Sock Sock close time sleep 300 def main global remote_ip global port global count s SocketConnect for i in range 10 qStr SocketQuery s b IDN n print str count str qStr count count 1 SocketClose s input Press Enter to exit if __name__ __main__ proc main ...

Страница 62: ...ne LeCroy 2 The constant voltage output is abnormal Check whether the maximum output power of the scale currently selected fulfills the load requirement If yes go to the next step Check the cable connecting the load and power supply for short circuits Check whether the load is normal Check whether the current setting value of this scale is proper If it is too low increase it If the problem remains...

Страница 63: ...he warranty period Teledyne Test Tools will repair or replace the unit as described in the complete warranty statement To arrange for service or obtain a copy of the complete warranty statement please contact your nearest Teledyne Test Tools sales and service office Except as provided in this summary or the applicable warranty statement Teledyne Test Tools makes no warranty of any kind express or ...

Страница 64: ...grity Web Site h p teledynelecroy com Phone Support 1 800 553 2769 Teledyne LeCroy European Headquarters Teledyne LeCroy GmbH Im Breitspiel 11c D 69126 Heidelberg Germany Phone 49 6221 82700 Fax 49 6221 834655 Fax Sales 49 6221 834655 Fax Service 41 22 719 22 99 Email Sales contact gmbh teledynelecroy com Email Service service gmbh teledynelecroy com Email Support tlc t3 appsupport eu teledynelecr...

Страница 65: ...964 we have focused on crea ng products that improve produc vity by helping engineers resolve design issues faster and more effec vely Oscilloscopes are tools used by designers and engineers to measure and analyze complex electronic signals in order to develop high performance systems and to validate electronic designs in order to improve me to market The Teledyne Test Tools brand expands on the T...

Отзывы: