Home
Programmable Power Supply PXI /cPCI 52912/52914 User`s Manual
Contents
1. Measure Attributes 1 Measure Type Voltage Current 2 Value Set Voltage Level lt 0 48V gt 0 CurrentLevel lt 0 2A gt 2 3 Time Interval From Relay On To Output Stable ms us lt 1 8388608 gt fi 4 Time Interval From Output Stable To Start ms us fi lt 1 8388608 gt fi fi 5 Time Interval Between Each Measurement ms C us lt 1 8388608 gt 6 Count of Measurement lt 1 2048 gt Figure 4 22 Measure Attributes Editor This editor manipulates the currently active 52912 52914 only At first choose the channel you want to control i e channel 1 or 2 Then fill in the appropriate Measure Attributes from 1 to 6 After the Ok button is clicked you are now in the Measure Mode see Figure 4 23 Select the channel and click on the button This will bring the 52912 52914 into the waiting state If the Start Trigger is set to be Software a button will show up to let you toggle If the Start Trigger is set to be anything else 52912 52914 will wait for the actual signal sent by the hardware and then start measuring All the measurements will cease after the 52912 52914 runs 6 Count of Measurement times Soft Front Panel Bi chroma 52912 52914 lt PXI2 11 INSTR gt Measure Channel 1 Channel 2 CH1 setting 2 004 0 0 CH2 setting 2 004 0 0 ec Channel to Standby Figure 4 23 Control Panel f
2. 4 13 4 3 6 Introduction of Sequencer Mode ccccsseseeteeeeeseeeteeeneeees 4 17 4 3 7 Introduction of Measure Mode cscceseeseeseeseeenseeeeeneeenes 4 25 4 3 8 List Of MeSSages sic cccccscacciclecesecceceeciedetescetsnddvecsdecstcessnedecescusss 4 32 5 DEL Calls and Example s cccciscccsscccssssstsovcesesssseosesesssessesnsdsonsosesaesossasceies 5 1 5 1 OSEAS otis Lectin tisittnars bets ates OR E inn 5 1 cPCI PXT 52912 52914 Programmable Power Supply User s Manual vi 5 1 1 PEE E E Aowdamn nami ates 5 1 5 1 2 chr52912_InitWithOptions sseeseseeesseseesreseesesseseesseseessesersessee 5 4 5 1 3 Chr52912 close a E E a 5 7 5 1 4 chr52912_ConfigureOperationMode ssssesseeseeseeseeeessesesee 5 8 5 1 5 chr52912_ConfigureCurrentLimit seesseeeesseeeeseeseeseeserse 5 10 5 1 6 chr52912 ConfigureVoltageLevel ccecceceesceeseeteeseeetseees 5 12 5 1 7 chr52912 ConfigureOutputEnabled cece eeseeeseeseereeees 5 13 5 1 8 chr52912 ConfigureTriggerSource ccceseeseeeteeseeseeeeees 5 14 5 1 9 chr52912 ConfigureTriggeredOutput cc eeeeseesreeseereeees 5 19 5 1 10 chr52912 Measure ccecceccceescesceseceeecesecesecneeenseeseeeeeeneeens 5 21 5 1 11 chr52912_ ConfigureSequencerTable eeeeseeseesteereeees 5 22 5 1 12 chr52912 ClearSequencerTable cc ceceeseesseessesteeneeereeees 5 27 5 1 13 chr52912_ IsRunningSequencet ccceecesseeseeeteeseeeneee
3. 6 6 Calibration To ensure the accuracy of output of 52912 52914 calibration once in a year is strong recommended To do the calibration it is necessary to send 52912 52914 back to customer service of Chroma Please contact your retailer for details 6 6
4. E Chroma 52912 52914 lt PXI2 1 1 INSTR gt DC Power Supply Mode CH1 mm ea CH2 arm Current Voltage Current Voltage 24 CH1 setting 1 504 30 0 CH2 setting 2 004 0 0 Figure 4 8 Channel Output condition I 3 While outputting SFP will try its best to remain in the constant voltage CV state However when the load condition surpasses the current limit SFP will change into the constant current CC state In this case the voltage output will be reduced accordingly 4 When abnormal load conditions such as external voltage discharged on the card made the output voltage exceed the control range the over voltage protection OVP LED will light up in red and the output relay will be disabled In addition an Error Message dialog box will appear WARNING To Prevent personal injury or damage to 52912 14 do not attempt to manipulate it again via SFP5291214 before eliminating OVP condition 5 You can manually enter a new value for voltage or current during measurement After the value is entered click on 1_ to output the value or click on _ amp _ to return to the original readings See Figure 4 9 4 11 cPCI PXT 52912 52914 Programmable Power Supply User s Manual H Chroma 52912 52914 lt PXI2 11 INSTR gt DC Power Supply Mode CH1 setting 1 50A 30 0V CH2 setting 2 004 0 0 Figure 4 9 Channel 1 Output condition II 6 Input values are always checked
5. If the power supply is already waiting for a trigger then this function will return a CHR52912_ ERROR _WAITING_TRIGGER error Once you set the power supply to wait for a trigger signal no operation can then be performed except Abort SendSWTrigger IsWaitingTrigger IsRunningSequencer Executing any other functions will cause a CHR52912 ERROR _WAITING_TRIGGER error Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session channel select Variable Type Vilnt32 Indicate which sequencer table to be initiated You can initiate both sequencer table simultaneously Valid value CHR52912 VAL SELECT CH1 CHR52912 VAL SELECT CH2 CHR52912 VAL SELECT CH1 CH2 Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 17 chr52912_Abort ViStatus chr52912_ Abort ViSession instrumentHandle Purpose If the power supply is currently waiting for a trigger to run the sequencer table this function aborts the waiting state If the power supply is not waiting for a trigger this function returns a CHR52912_ ERROR NOT _WAITING_TRIGGER error Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions func
6. Sends initialization commands to set the instrument to the state necessary for the operation of the instrument driver Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Note This function creates a new session each time you invoke it Although you can open more than one IVI session for the same resource it is best not to do so You can use the same session in multiple program threads You can use the chr52912 LockSession and chr52912_UnlockSession functions to protect sections of code that require exclusive access to the resource Parameter List resourceName Variable Type ViRsre Pass the resource name of the device to initialize You can also pass the name of a virtual instrument or logical name that you configure with the IVI Configuration utility The virtual instrument identifies a specific device and specifies the initial settings for the session A logical Name identifies a particular virtual instrument DLL Calls and Examples IDQuery Variable Type ViBoolean Specify whether you want the instrument driver to perform an ID Query Valid Range VL TRUE 1 Perform ID Query Default Value VI_FALSE 0 Skip ID Query resetDevice Variable Type ViBoolean Specify whether you want the to reset the instrument during the initialization procedure Valid Range VI_TRUE 1 Reset Device Default Value VL FALSE 0 Don t Reset optionString Variable Type ViStr
7. 52912 Hardware Figure 3 1 Block Diagram of Software 3 2 User Applications User applications can be written by standard programming languages such as LabVIEW LabWindows CVI Visual Basic Visual C and Borland C Builder An example of it can be seen in section 5 3 Example Programs at the end of this manual 3 1 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 3 3 Software Control Following are the easy control routines for read write and PXI configuration log ViStatus ViStatus ViStatus ViStatus ViStatus ViStatus ViStatus ViStatus ViStatus 3 2 chr52912 init ViRsrce resourceName ViBoolean IDQuery ViBoolean resetDevice ViPSession instrumentHandle chr52912 InitWithOptions ViRsre resourceName ViBoolean IDQuery ViBoolean resetDevice ViString optionString ViPSession instrumentHandle chr52912 close ViSession instrumentHandle chr52912 ConfigureOperationMode ViSession instrumentHandle ViChar _VI_FAR channelName VilInt32 operationMode chr52912 ConfigureOutputEnabled ViSession instrumentHandle ViChar _VI_FAR channelName ViBoolean enabled chr52912 ConfigureCurrentLimit ViSession instrumentHandle ViChar _VI_FAR channelName Vilnt32 behavior ViReal64 limit chr52912 ConfigureVoltageLevel ViSession instrumentHandle ViChar _VI_FAR channelName ViReal64 level chr52912 ConfigureTriggerSource ViSession i
8. After calling chr52912 close you cannot use the instrument driver again until you call chr52912_init or chr52912_InitWithOptions Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_InitWithOptions function The handle identifies a particular instrument session Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 7 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 5 1 4 chr52912_ConfigureOperationMode ViStatus chr52912_ConfigureOperationMode ViSession instrumentHandle Vilnt32 operationMode Purpose This function configures the operation mode of the power supply There are three operation modes DC Power Sequencer and Measure DC Power Mode Supports functionalities that traditional power supplies provide The power supply can also wait for trigger signals As soon as the start trigger signal occurs the power supply will start to generate output Until receiving the stop trigger signal the power supply will stop outputting Sequencer Mode Provides two configurable sequencer tables in the power supply When the start trigger signal occurs the power supply sequentially executes the command sets in the sequencer table line by line Refer to chr52912_ConfigureSequencerTable for details on configuring a sequencer table Measure M
9. BFFF0052 BFFF0054 BFFF0055 BFFF0057 BFFF0059 BFFFOOSF BFFF0060 BFFFO0061 BFFF0067 BFFFO06A BFFF006B BFFF006C BFFF0070 BFFFO0071 BFFF0072 BFFF0076 BFFF0078 BFFF0079 BFFF007B BFFF0080 Handler reference either invalid or was not installed Specified event context invalid Event queue for specified type has overflowed Event type must be enabled in order to receive User abort during transfer Violation of raw write protocol during transfer Violation of raw read protocol during transfer Device reported output protocol error during transfer Device reported input protocol error during transfer Bus error during transfer Unable to queue asynchronous operation Unable to start operation because setup is invalid Unable to queue the asynchronous operation Insufficient resources to perform memory allocation Invalid buffer mask specified 1 O error Format specifier invalid Format specifier not supported Trigger line is currently in use Service request not received for the session Invalid address space specified Invalid offset specified Invalid access width specified Offset not accessible from this hardware Source and destination widths are different Session not currently mapped Previous response still pending No listeners condition detected Interface not currently the controller in charge Interface not the system controller Session does not support this operation A parity error occurred duri
10. cPCI PXI 52912 52914 Programmable Power Supply User s Manual Vilnt32 channel select ViStatus chr52912 Abort ViSession instrumentHandle viStatus chr52912 SendSoftwareTrigger ViSession instrumentHandle ViStatus chr52912 IsWaitingTrigger ViSession instrumentHandle ViPBoolean inState ViStatus chr52912 reset ViSession instrumentHandle ViStatus chr52912 ResetOutputProtection ViSession instrumentHandle ViChar _VI_FAR channelName ViStatus chr52912 error message ViSession instrumentHandle ViStatus errorCode ViChar VI_FAR errorMessage ViStatus chr52912 error query ViSession instrumentHandle ViPInt32 errorCode ViChar VI_FAR errorMessage ViStatus chr52912 QueryOutputState ViSession instrumentHandle ViChar _VI_FAR channelName VilInt32 outputState ViPBoolean inState ViStatus chr52912 QueryMaxCurrentLimit ViSession instrumentHandle ViChar _VI_FAR channelName ViReal64 voltageLevel ViPReal64 maxCurrentLimit VviStatus chr52912 QueryMaxVoltageLevel ViSession instrumentHandle ViChar _VI_FAR channelName ViReal64 currentLimit ViPReal64 maxVoltageLevel ViStatus chr52912 QueryCalibrationDate ViSession instrumentHandle ViChar errorMessage Software 3 4 Operating procedure Each channel in a Chroma PXI 52912 52914 Power Supply Card has one unique Sequencer table and Measure table The concept of sequencer tables and Measure tables is shown in Fig
11. call the chr52912_error_message function 5 44 DLL Calls and Examples 5 1 26 chr52912_QueryMaxVoltageLevel ViStatus chr52912_QueryMaxVoltageLevel ViSession instrumentHandle ViChar _VI_FAR channelName ViReal64 currentLimit ViPReal64 maxVoltageLevel Purpose This function returns the maximum programmable voltage level that the power supply accepts for a particular current limit on a channel for the output range to which the power supply is currently configured Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel on which to query for the maximum programmable voltage level Valid Channel Names ch1 ch2 currentLimit Variable Type ViReal64 Pass the current limit for which to determine the maximum programmable voltage level Units amps A Valid Range 0 0 2 0 amps maxVoltageLevel Variable Type ViReal64 passed by reference This parameter returns the maximum programmable voltage level for the current limit you specify Units volts V Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function 5 45 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 27 chr52912_QueryCalibrationDate ViStatus ch
12. instruments or the VXI TTLS line for VXI instruments 9 CHR52912_ VAL TRIG TTL6 The power supply waits for a trigger on the PXI TRIG6 line for PXI instruments or the VXI TTL6 line for VXI instruments 10 CHR52912 VAL TRIG TTL7 The power supply waits for a trigger on the PXI TRIG7 line for PXI instruments or the VXI TTL7 line for VXI instruments slope Variable Type Vilnt32 Specify the polarity of the trigger slope The power supply triggers on the rising or falling edge of the trigger source depending on the value of this parameter Valid value 5 17 cPCI PXI 52912 52914 Programmable Power Supply User s Manual CHR52912 VAL POSITIVE CHRS52912 VAL NEGATIVE Default value CHR52912_ VAL POSITIVE Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 18 DLL Calls and Examples 5 1 9 chr52912_ConfigureTriggeredOutput ViStatus chr52912_ConfigureTriggeredOutput ViSession instrumentHandle ViChar _VI_FAR channelName ViReal64 triggeredLevel ViReal64 triggeredLimit Purpose This function configures the voltage level current limit of the power supply after receiving the start trigger signal The power supply will keep outputting until receiving the stop trigger signal This function inputs necessary commands into the sequencer table to achieve its functionality Parameter List instrumentHandle Variab
13. ms us foo lt 1 8388608 gt 4 Time Interval From Output Stable To Start ms C us foo lt 1 8388608 gt 5 Time Interval Between Each Measurement ms us foo lt 1 8388608 gt 6 Count of Measurement 12 lt 1 2048 gt Figure 4 26 Editing Current Measurement of Channel 2 for Example 2 Step3 On the control panel click on _stanany and after the 52912 52914 receives the necessary start trigger it will start to perform periodical measurements on channel 2 As the 52912 52914 is outputting voltages currents the LED of channel 1 in the front panel of 52912 52914 will light in green And after the 52912 52914 runs the total count of measurements times it will cease and put out the LED tk After the LED is off you can click the i button to view the measured data and Figure 4 27 is what you will see after clicking on the button Soft Front Panel iew Measured Data gt PXI2 11 INSTR Channel 1 Measured Data View ___ _ Channel 2 Measured Data View Measured Data Type Value Measured Data Type Voltage Type 12 0 Voltage Type 12 0 Current Type Voltage Type 12 0 Current Type Voltage Type 12 0 Current Type X Index 17 Figure 4 27 Viewing Measured Current Data of Example 2 4 31 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 4 3 8 List of Messages All possible messages that will appear in the message box are listed in the following table F
14. ENABLED attribute Valid Values VI TRUE Enable the output VI_FALSE Disable the output Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function cPCI PXI 52912 52914 Programmable Power Supply User s Manual 5 1 8 chr52912_ConfigureTriggerSource ViStatus chr52912_ConfigureTriggerSource ViSession instrumentHandle Vilnt32 stratSource Vilnt32 stopSource Vilnt32 slope Purpose Configures the start and stop trigger source The power supply will wait for the start trigger signal before executing any command set in the sequencer table In different operation modes appropriate trigger source s will have to be configured Refer to the following paragraphs for details on triggers in each mode In the DC power supply operation mode you must configure both trigger sources The power supply will not generate output until it receives a start trigger signal and won t stop until the stop tgigger signal In Sequencer and Measure operation modes only the start trigger source is enabled The stop trigger source must be None When the power supply receives a start trigger signal it will execute the command sets in the sequencer table line by line Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_InitWithOptions function The handle identifies a particular instrument
15. Programmable Power Supply User s Manual In the Sequencer and the Measure modes you can only specify the Start Trigger And the power supply executes the command sets in the sequencer table as soon as it receives the Start Trigger signal P S One 52912 52914 can only be in one mode at a time 4 3 3 Introduction of Tool Bars Tool buttons onlon N a e gt a Figure 4 5 General tool buttons T Opens a 52912 52914 clicking on this icon will launch the Choose 52912 52914 dialog box For more details on the Choose 52912 52914 dialog box please refer to Section 4 3 1 2 Selecting 52912 52914 2 naa On The Power clicking on this icon will turn on the power of the currently selected 52912 52914 In each mode 52912 52914 won t start functioning until this icon is toggled In the DC Power Supply mode the conventional panel is activated after this icon is toggled and in the Sequencer mode after the power is turned on and you have finished editing correct commands via Sequencer Editor the sequencer can be ready for receiving run by toggling the button For more details on this mode please refer to Section 4 3 6 Introduction of Sequencer Mode and in the Measure mode after the power is turned on and you have finished editing correct attributes settings via Measure Attributes Editor the mode can be ready for receiving run by toggling the button For more details o
16. called USE 52912 in the chr52912 submenu of the function palette of LabVIEW This subVI can find all Chroma PXI 52912 properly installed in your system and let you choose which card to be initialized All you have to do is that put this subVI in the Block diagram with other code you write After executing the program first there will be a pop up dialog which lists all 52912 in the ring control And you can choose one then you get the instrument handle Note With different versions of LabVIEW there are different versions of sample program respectively The prefix of the sample program indicates the correct version of suitable LabVIEW for instance LV61_Exqample vi is for LabVIEW 6 1 Though you can open file of older version with newer version of LabVIEW we can t ensure that the program can be executed correctly cPCI PXI 52912 Programmable Power Supply User s Manual 6 Hardware Specification 6 1 Application 52912 52914 card can used for any application where power supply voltage need to be programmable 6 2 Block Diagram of Hardware DC source Analog 56Vdc Digital circuit os circuit power stage Vout Figure 6 1 52912 52914 PXI Card Hardware Structure Description of Each Function 1 PC It uses control software to send commands to 52912 52914 and display the results on the screen 2 Digital circuit Its main function is to control the output of V and I It also uses the internal mo
17. check the with Channel 2 box and then you will have the options of Channel 1 and 2 Channel 1 only and Channel 2 only in the Select Channel column Only Table 1 can be used to control both channels but Table 2 cannot Click on OK to confirm when you have finished editing the table s 4 3 6 3 Running Sequencer Mode Once you have already finished editing the sequencer table s and configured 52912 52914 same as Section 4 3 5 1 to set up the Start trigger In this mode only Start trigger you need to select That means 52912 52914 auto starts to run sequential commands if it received the specified trigger Then it will stop runs of 4 19 cPCI PXT 52912 52914 Programmable Power Supply User s Manual specified channel if executes an End command or never stop if executes a NonStop Repeat command If you configured a Sequencer with trigger mode the skin of soft control panel changed as Figure 4 17 chroma 52912 52914 lt PxI2 11 INSTR gt Sequencer Select Table to Standby Table 1 Table 2 Start Abort Figure 4 17 Control Panel for Sequencer with trigger Mode At first selecting which Table you want to manipulate Notice that the control panel allows 52912 52914 to run Table 1 with Channel 2 and only one Table can be run at one time To execute in this mode click on the button and the 52912 52914 will start to function It will wait fo
18. chr52912 ConfigureMeasure vi ch2 20 2 CHR52912_ VAL MEASURE VOLTAGE _ 100 CHR52912 VAL DELAY UNIT MICRO SECOND 100 CHR52912 VAL DELAY UNIT MICRO SECOND 1 CHR52912 VAL DELAY UNIT MILLI SECOND 2048 status chr52912 ConfigureTriggerSource vi CHR529 2 VAL SOFTWARE TRIG CHR52912 VAL TRIG NONE status chr52912 Initiate vi CHR52912 VAL SELECT _CH2 MsgBox Push button to start to measure status chr52912 SendSoftwareTrigger vi MsgBox Push button while the output is off status chr52912 Abort vi numOfData 2048 Get the measured data from the power supply and stored in MD1 status chr52912 ReadMeasuredData vi ch2 numOfData MD1 0 status chr52912_ reset vi status chr52912_ close vi End Sub 5 59 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 5 3 3 LabVIEW Sample Program The sample program written in LabVIEW can be found in the directory C Program Files Chroma PXI 52912 drivers examples after installing the driver You can do several configurations such as Triggered Output Operation Mode Sequencer Table Measure and Trigger Source and etc After appropriately configuration you can initiate the power supply to wait trigger signal The power supply will run the sequencer table after receiving a trigger signal This sample program demonstrates how to read the measured data stored in the power supply too Also you can find a powerful subVI icon
19. chr52912 error message chr52912 secondaryErr tempStr p sprintf p s n n tempStr if errElabStr 0 0 sprintf p Elaboration s errElabStr 5 57 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 3 2 Visual Basic Sample Program Following is a sample program written in VB It is a simple example to initializes the power supply then demonstrates how to operate the power supply under different operation mode Option Explicit Dim vi As ViSession Dim status As ViStatus Dim ST1 10 As SEQUENCER TABLE Dim MD1 2047 As MEASURED DATA Dim errorIndex As Integer Dim numOfData As Integer Private Sub Form Load A simple sequencer table ST1 definition ST1 0 commandType CHR52912_ VAL _SET_V ST1 0 channelSelect CHR52912 VAL SELECT CH ST1 0 value 20 ST1 1 commandType CHR52912 VAL SET ST1 1 channelSelect CHR52912 VAL SELECT CH ST1 1 value 1 ST1 2 commandType CHR52912 VAL OUTPUT_ON ST1 2 channelSelect CHR52912 VAL SELECT CH Q ST1 3 commandType CHR52912 VAL DELAY ST1 3 delayUnit CHR52912 VAL DELAY UNIT MILLI SECOND ST1 3 delay 3000 ST1 4 commandType CHR52912 VAL _OUTPUT_OFF ST1 4 channelSelect CHR52912_VAL_ SELECT _CH1_CH2 ST1 5 commandType CHR52912 VAL END status chr52912 InitWithOptions PXI3 10 INSTR VI_TRUE VI_TRUE Simulate 0 vi MsgBox DC Pow
20. chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel where the voltage level is configured Valid Channel Names chl ch2 level Variable Type ViReal64 Pass the DC voltage you want the power supply to attempt to generate The driver uses this value to set the CHRS52912_ ATTR VOLTAGE LEVEL attribute Units volts Valid Range 0 0 48 0 volts Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 7 chr52912_ConfigureOutputEnabled ViStatus chr52912_ConfigureOutputEnabled ViSession instrumentHandle ViChar _VI_FAR channelName ViBoolean enabled Purpose Configures whether the signal that the power supply produces on a channel appears at the output connector Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912 InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel you want to enable or disable Valid Channel Names chl ch2 enabled Variable Type ViBoolean Pass whether you want the signal the power supply produces on a channel to appear at the output connector The driver uses this value to set the CHR52912_ATTR_ OUTPUT
21. file then select Install from the options menu From Control Panel double click Devices icon Select the device named NIPALK then click Start to start it 2 3 cPCI PXT 52912 52914 Programmable Power Supply User s Manual Status Startup Disabled Nere 10 Disabled NetDetect Manual Started Automatic Started Automatic Started System Ntfs Disabled Sete Null Started System Hw Profiles Dliscsi Disabled palintk Started Automatic xl Help 2 4 Hardware Verification When the chassis with 52912 PXI card installed is powered on and all signal LEDs are off input the 56Vdc external power source the signal LED will light up in green You can use the control software for 52912 PXI card to set the V and I of output channel When the channel output signal is activated the ON signal on the panel will light up in green Ifboth of the PWR and ON signal LEDs are lit up it indicates the 52912 PXI card is in normal operation Once there is an OVP or OTP situation occurred the ERR signal LED on the panel will light up in red Software 3 Software 3 1 Block Diagram As the following figure shows the application is on top of the system It calls the supported function such as chr52912_init ViRsre resourceName ViPSession instrumentHandle The instrument driver communicates with the hardware via the standard VISA call function Application IVI chr52912 DLL IVI Driver VISA32 DLL
22. of range or error trying to set it Parameter 8 out of range or error trying to set it Instrument failed the ID Query Invalid response from instrument cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 3 Example Programs 5 3 1 C Sample Program Following is a sample program written in C It is a simple example to initializes the power supply then demonstrates how to operate the power supply under different operation mode include include include include lt stdio h gt lt userint h gt lt utility h gt chr52912 h void BuildErrorString ViSession chr52912 ViStatus error ViString errStr main ViSession chr52912 viStatus error VI_SUCCESS ViChar msg 256 Vilnt32 erroriIndex Vilnt32 numOfData SEQUENCER TABLE ST1 6 pST1 MEASURED DATA MD1 2048 Definition of sequencer table ST ST ST ST ST ST ST ST ST ST ST ST ST ST ST 5 54 0 commandType CHR52912_ VAL SET I 0 channelSelect CHR52912_VAL_SELECT_CH1 0 value 1 1 commandType R52912 VAL SET V channelSelect CHR52912 VAL SELECT _CH1 1 value 20 m Q m 2 commandType CHR52912 VAL OUTPUT_ON hannelSelect CHR52912 VAL SELECT _CH1 N Q 3 commandType CHR52912 VAL DELAY 3 delayUnit CHR52912 VAL DELAY UNIT MILLI SECOND 3 delay 3000 4 commandType CHR52912_VAL_OUTPUT_OFF 4 channelSelect CHR52912_
23. on Windows 98 s es 2 3 2 3 3 Device Driver Installation on Windows NT4 00 ceeeeeeereeees 2 3 2 4 Hardware Verification siessen iien e N 2 4 De OLWANE ose cccacsestsccssccseorsesvessececssonesvsevssesicsesonstssudtectensseedteotescesecssscsosseesecees 3 1 3 1 Block Diagram cninn ien n n ai as 3 1 3 22 User Applications anssnsiricn ensnare an i ai 3 1 3 3 Software Control oss ccccscisietstssceientesteiever enn nan a E 3 2 3 4 Operating procedure essssessseseesseseeeessteressesrtsreseesessesressesersreseese 3 5 3 5 Operation Modes v 25 csceccc geccetecccieesde tees cde e a RE E a 3 7 3 5 1 DC Powermode sis since heise eins an are 3 7 3 5 2 Sequencer Modeion nienn n E EEE a E 3 7 3 5 3 Meas re m dessrorin e enna nan R 3 8 d Soft Eront Panel visi ciscssssscocscssssoncesesesssvwesasnesce seatensosccsounsdeswnesosasseosesuntossoaes 4 1 4 1 Software Control Panel 0 cceecceeseescceseceseceseesecesecseecseeeseeeseeneeenrees 4 1 42 Block Diagram EEE A E cotveet ols E sos NE as oe 4 1 4 3 Using the Software Control Panel cecceceesseesseeeeeeeeeeeeeeeeeeeeseens 4 2 4 3 1 Executing SFP5291214 a e ateen aies aaant ina ar oana oiiae 4 2 4 3 2 Operation Mode eer eieaeoeaii eretan iari e oea 4 4 4 3 3 Introduction of Tool Bars ccsseesceseeeecseeeseeeeeeeeeeeeeeereeerens 4 6 4 3 4 Introduction of DC Power Supply Control Panel 4 8 4 3 5 Introduction of DC Power Supply with Trigger Mode
24. or replace any assembly or component found to be defective under normal use during this period Chroma s obligation under this warranty is limited solely to repairing any such instrument which in Chroma s sole opinion proves to be defective within the scope of the warranty when returned to the factory or to an authorized service center Transportation to the factory or service center is to be prepaid by purchaser Shipment should not be made without prior authorization by Chroma This warranty does not apply to any products repaired or altered by persons not authorized by Chroma or not in accordance with instructions furnished by Chroma Ifthe instrument is defective as a result of misuse improper repair or abnormal conditions or operations repairs will be billed at cost Chroma assumes no responsibility for its product being used in a hazardous or dangerous manner either alone or in conjunction with other equipment High voltage used in some instruments may be dangerous if misused Special disclaimers apply to these instruments Chroma assumes no liability for secondary charges or consequential damages and in any event Chroma s liability for breach of warranty under any contract or otherwise shall not exceed the purchase price of the specific instrument shipped and against which a claim is made Any recommendations made by Chroma for use of its products are based upon tests believed to be reliable but Chroma makes no warranty of the result
25. parameter and VI_ FALSE if it is not Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function 5 43 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 25 chr52912_QueryMaxCurrentLimit ViStatus chr52912_ QueryMaxCurrentLimit ViSession instrumentHandle ViChar _VI_FAR channelName ViReal64 voltageLevel ViPReal64 maxCurrentLimit Purpose This function returns the maximum programmable current limit that the power supply accepts for a particular voltage level on a channel for the output range to which the power supply is currently configured Parameter List instrumentHandle Variable Type ViSession The ViSession handle obtained from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel on which to query for the maximum programmable current limit Valid Channel Names chl ch2 voltageLevel Variable Type ViReal64 Pass the voltage level for which to determine the maximum programmable current limit Units volts V Valid Range 0 0 48 0 volts maxCurrentLimit Variable Type ViReal64 passed by reference This parameter returns the maximum programmable current limit for the voltage level you specify Units amps A Return Value Status code 0 is for success To obtain a text description of the status code
26. session stratSource Variable Type Vilnt32 Pass the start trigger source that the power supply will wait for before executing the command sets The driver will set the CHR52912_ATTR_ START TRIGGER SOURCE attribute to this given value Defined Values CHR52912 VAL TRIG EXTERNAL External CHR52912_ VAL_SOFTWARE_TRIG Software Trigger Default CHR52912_VAL_TRIG_TTLO PXI TRIGO or VXI TTLO DLL Calls and Examples CHR52912_ VAL TRIG TTL1 PXI TRIGI or VXI TTL1 CHR52912_ VAL TRIG TTL2 PXI TRIG2 or VXI TTL2 CHR52912_ VAL TRIG _ TTL3 PXI TRIG3 or VXI TTL3 CHR52912 VAL TRIG TTL4 PXI TRIG4 or VXI TTL4 CHR52912 VAL TRIG TTL5 PXI TRIG5 or VXI TTL5 CHR52912 VAL _ TRIG _TTL6 PXI TRIG6 or VXI TTL6 CHR52912_ VAL _TRIG_TTL7 PXI TRIG7 or VXI TTL7 Notes 1 CHR52912_ VAL TRIG EXTERNAL External Trigger The power supply waits until it receives a trigger from an external source through the trigger in connector 2 CHR52912_ VAL SOFTWARE TRIG The power supply waits until you call the chr52912 SendSoftwareTrigger function 3 CHR52912_ VAL TRIG TTLO The power supply waits for a trigger on the PXI TRIGO line for PXI instruments or the VXI TTLO line for VXI instruments 4 CHR52912_ VAL TRIG TTL1 The power supply waits for a trigger on the PXI TRIGI line for PXI instruments or the VXI TTL line for VXI instruments 5 CHR52912_ VAL TRIG TTL2 The power supply waits for a trigger on the PXI TRIG2 line for PXI instr
27. the button after the 52912 52914 stops from executing the sequencer table in example 2 Note that voltage current for each channel can be measured and shown separately in Figure 4 21 iew Measured Data gt PXI2 11 INSTR Channel 1 Measured Data View Measured Data Type Voltage Type Current Type voltage Type Current Type A Voltage Type Current Type x voltage Type Current Type j Measured Data Type voltage Type Current Type 5 Voltage Type Current Type il Current Type il Cancel Figure 4 21 Viewing Measured Data of Example 2 4 3 7 Introduction of Measure Mode A 52912 52914 can also serve as an instrument which will measure the value of output periodically The time interval between every measurement is adjustable The 52912 52914 in this mode is designate to measure the amount of output in the 4 25 cPCI PXT 52912 52914 Programmable Power Supply User s Manual specified channel Thus it cannot be used as a meter If the 52912 52914 is set to measure the output of channel 1 then you can t use it to measure that of channel 2 4 3 7 1 Using Measure Attributes Editor Before using the Measure Attributes Editor please refer to Section 5 1 14 chr52912_ConfigureMeasure for setting up the 6 parameters The Measure Attributes Editor dialog box will be shown as follow Measure Attributes Editor Channel Select Ci Channel 2
28. this mode almost all of the driver APIs can be called unlike in the other modes some APIs might be locked and by doing so they can achieve the common functionalities of a power supply such as configuring the voltage level and current limit 3 5 1 2 Operating With Trigger The power supply can also be activated by trigger events in the DC Power mode First you have to configure the triggered level and triggered limit that the power supply should generate as receiving the trigger i e by inputting the commands such as SET_V and SET_I via chr52912_ConfigureTriggeredOutput function into the sequencer table Then you have to determine the start stop triggers for a 52912 52914 to start stop outputting as well as determining the trigger slope The last step is to initiate the power supply to wait for triggers After receiving a start trigger signal the power supply starts to generate output It will keep outputting until receiving a stop trigger signal or if the abort API is called 3 5 2 Sequencer mode The Sequencer table is a powerful tool Users can predefine several commands and write them into the power supply for execution 3 7 cPCI PXT 52912 52914 Programmable Power Supply User s Manual In this mode once when the power supply receives the start trigger signal it will start to execute the commands in the sequencer table line by line The outputting remains even if the abort API is called In section 5 3 6 4 th
29. 2912_ VAL TRIG_TTL4 PXI TRIG4 or VXI TTL4 CHR52912_ VAL _TRIG_TTLS5 PXI TRIGS or VXI TTLS CHR52912_ VAL _TRIG_TTL6 PXI TRIG6 or VXI TTL6 CHR52912_VAL_TRIG_TTL7 PXI TRIG7 or VXI TTL7 Notes 0 CHR52912_VAL_TRIG_ NONE The power supply does not produce a Scan Advanced Output trigger 1 CHR52912_ VAL TRIG EXTERNAL External Trigger The power supply waits until it receives a trigger from an external source through the trigger in connector 2 CHR52912_ VAL _SOFTWARE_TRIG The power supply waits until you call the DLL Calls and Examples chr52912 SendSoftwareTrigger function 3 CHR52912_ VAL TRIG TTLO The power supply waits for a trigger on the PXI TRIGO line for PXI instruments or the VXI TTLO line for VXI instruments 4 CHR52912_ VAL TRIG TTL1 The power supply waits for a trigger on the PXI TRIGI line for PXI instruments or the VXI TTL line for VXI instruments 5 CHR52912_ VAL TRIG TTL2 The power supply waits for a trigger on the PXI TRIG2 line for PXI instruments or the VXI TTL2 line for VXI instruments 6 CHR52912_ VAL TRIG _TTL3 The power supply waits for a trigger on the PXI TRIG3 line for PXI instruments or the VXI TTL3 line for VXI instruments 7 CHR52912_ VAL TRIG TTL4 The power supply waits for a trigger on the PXI TRIG4 line for PXI instruments or the VXI TTL4 line for VXI instruments 8 CHR52912_ VAL TRIG TTL5 The power supply waits for a trigger on the PXI TRIGS line for PXI
30. 7 BFFA0018 BFFA0019 BFFAO01A BFFA001B BFFA001C BFFA001D BFFAO01E BFFAOO1F BFFA0020 BFFA0021 BFFA0022 BFFA0023 BFFA0024 BFFA0025 BFFA0026 BFFA0027 BFFA0028 BFFA0029 DLL Calls and Examples Instrument error Call chr52912_error_query Cannot open file Error reading from file Error writing to file Driver module file not found Cannot open driver module file for reading Driver module has invalid file format or invalid data Driver module contains undefined references Cannot find function in driver module Failure loading driver module Invalid path name Invalid attribute IVI attribute is unable to write IVI attribute is not readable Invalid parameter Invalid value Function not supported Attribute not supported Value not supported Invalid type Types do not match Attribute already has a value waiting to be updated Specified item already exists Not a valid configuration Requested item does not exist or value not available Requested attribute value not known No range table Range table is invalid Object or item is not initialized Non interchangeable behavior No channel table has been built for the session Channel name specified is not valid Unable to allocate system resource Permission to access file was denied Too many files are already open Unable to create temporary file in target directory All temporary filenames already used Disk is full Cannot find configurat
31. HR52912 VAL REPEAT CHR52912 VAL NONSTOP REPEAT CHR52912 VAL END channelSelect Selects which channel to be controlled You can control both channels in one command Valid value CHR52912_VAL_SELECT_CH1 DLL Calls and Examples CHRS52912 VAL SELECT CH2 CHR52912 VAL SELECT _CH1_CH2 value The voltage level or current limit to be set Valid value voltage level 0 0 48 0 Volts current limit 0 0 2 0 Amps delayUnit Unit of the delay Two possible values are millisecond or microsecond Valid value CHR52912_ VAL DELAY UNIT MILLI SECOND CHRS52912_ VAL DELAY UNIT MICRO SECOND delay The value of delay Valid value 1 8388608 for millisecond 100 8388608 for microsecond repeatTimes In the sequencer table the command CHR52912_ VAL REPEAT can repeat the commands between table indexes from repeatStartIndex to the current index of the repeat command The repeated times declares the times that these commands is going to be repeated Valid value 0 524288 repeatStartIndex The zero based index in the table The repeatStartIndex can t be the index of repeat command itself errorIndex Variable Type Vilnt32 passed by reference Before the driver sends the sequencer table into the 52912 a check routine will ensure the validity of the table If there is any invalid entry in the table the error index will show you where it is Return Value If the function succeeds status code is 0 To obtain a text d
32. I PXI 52912 52914 Programmable Power Supply User s Manual 6 4 Outline Front Power Stage CH2 Analog Plane Power Stage CH1 Analog Plane Digital Plane Front Connector PXI cPCI PXI 52912 Programmable Power Supply User s Manual Rear CH2 Digital Plane CH1 Digital Plane 6 5 Specification Model 52912 52914 Dimensions 3U PXI 1 slot for 52912 3 slot for 52914 Output Voltage Channel Le 0 48VDC 2 Amp 60W Channel 2 0 48VDC 2 Amp 60W Voltage Accuracy 0 5 of oer value 50mV Voltage setting resolution setting resolution 12 42Bis Over voltage Fault Protection Over temperature Short Circuit PARD 20MHz lt 200mVPK PK Line Regulation 0 01 0 01 FS Load Regulation 0 01 0 02 FS Current Limit Accuracy 0 5 50mA 12 Bits Resolution Read Back Voltage and V 0 2 0 2 FS Current I 0 5 0 5 FS Input DC Input Isolated 56VDC dual cPCI PXT 52912 52914 Programmable Power Supply User s Manual D A529102 115V or 220VAC 50Hz or 60Hz Software API VISA 2 5 or above 20 Windows DLL s API PCI Data Bus PCI V2 2 compliant 33MHz 32 Bits Operating Temperature 20 60degC ambientair Operating Humidity 10 90 relative Storage Temperature 30 70degC gt Isolation fT Channel to Channel 500V DC Channel to Chassis 500VDC i i lt lt i lt i lt i lt OwW Standards PXISA PXI 1 0 PICMG 2 0 R3 0 CompactPCI
33. Programmable Power Supply PXI cPCI 52912 52914 User s Manual Edition March 2004 Legal Notices The information in this document is subject to change without notice Chroma ATE INC makes no warranty of any kind with regard to this manual including but not limited to the implied warranties of merchantability and fitness for a particular purpose Chroma ATE INC shall not be held liable for errors contained herein or direct indirect special incidental or consequential damages in connection with the furnishing performance or use of this material CHROMA ATE INC 43 Wu Chuan Road Wu Ku Industrial Park Wu Ku Taipei Taiwan Copyright Notices Copyright 2003 Chroma ATE INC all rights reserved Reproduction adaptation or translation of this document without prior written permission is prohibited except as allowed under the copyright laws Trademarks MAX LabVIEW LabWindows CVI 6 0 IVI and VISA are registered trademarks of National Instruments Corporation Microsoft Visual C 6 0 and Microsoft Visual Basic 6 0 are registered trademarks of Microsoft Corporation Borland C Builder is a registered trademark of Borland Corporation All other brand and product names are trademarks or registered trademarks of their respective holders Warranty All Chroma instruments are warranted against defects in material and workmanship for a period of one year after date of shipment Chroma agrees to repair
34. Programmable Power Supply User s Manual 4 3 4 Introduction of DC Power Supply Control Panel Ch1 Output button Chl Status Indicator Ch2 Status Indicator Chroma 52912 52914 lt PXI2 11 INSTR gt Mode Indicator Ch2 Output a button Il Edit OFF W P V1 Edit aa eaten I2 Edit a 08 1 42 i V1 Knob gg pP aa Wye 12 Knob ig 4 EJE ue Il Knob p ogg V2 Knob 0 2 0 48 Ox0 1 settingy 2 008 0 0V CH2 setting 2 008 0 0 Ch2 Message Code Ch1 Message Code Ch1 2 Set status Figure 4 6 Layout of DC Power Supply SFP 4 3 4 1 Components of DC Power Supply SFP There are three types of component in the DC Power Supply SFP Controller type this type of components is used to adjust enable disable outputs II Knob Sets channel 1 s current limit V1 Knob Sets channel 1 s voltage level 12 Knob Sets channel 2 s current limit V2 Knob Sets channel 2 s voltage level Ch1 Output button Enables channel 1 s output Ch2 Output button Enables channel 2 s output Soft Front Panel Indicator type this type of components is used for displaying status only unmodifiable Ch1 Status and Ch2 Status Indicates the output state of channel 1 and channel 2 respectively CV constant voltage CC constant current OVP over voltage protection OTP over temperature protection Ch1 and Ch2 Message Code Indicates the status code of channel 1 and channel 2 respectively For more details on warnings and error
35. R_OVP_ENABLED attribute is set to VI_ TRUE An over temperature condition occurs when the temperature of the power supply is over 80 degrees When either an over voltage condition or an over temperature condition occurs the power supply s output protection disables the output If the power supply is in an over voltage or over temperature state it does not produce power until the output protection is reset The chr52912 ResetOutputProtection function resets the output protection Once the output protection is reset the power supply resumes generating a power signal 5 42 DLL Calls and Examples Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912 InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel on which to query for an output state Valid Channel Names chl ch2 outputState Variable Type Vilnt32 Pass the output state for which you want to query Valid Values CHR52912_VAL_OUTPUT_CONSTANT_ VOLTAGE Constant Voltage State CHR52912_ VAL _ OUTPUT UNREGULATED Unregulated State CHR52912_ VAL OUTPUT _OVER_ VOLTAGE Over voltage State CHR52912_ VAL OUTPUT OVER TEMEPRATURE Over temperature State inState Variable Type ViBoolean passed by reference This parameter returns VI_TRUE if the power supply is currently in the state you specify with the outputState
36. Select Channel Value Duty a Command 1 Set Current Limit Channel 1 and 2 2 00 _ Command 2 Set Voltage Level Channel 1 and 2 24 0 Command 3 Output On Channel 1 and 2 Command 4 Delay Time 2000 Command 5 Measure Voltage Channel 1 and 2 Command 6 Measure Current Channel 1 and 2 Command 7 Set Voltage Level Channel 1 and 2 20 0 Command 8 Delay Time 1000 Command 9 Repeat 3 5 Command 10 Output OFF Channel 1 and 2 Command 11 End Command 12 Command 13 Command 14 Command 15 tee bal Figure 4 20 Sequencer Table of Example 2 Step3 On the Control Panel choose Table 1 Then click on the 4 24 button The 52912 52914 now starts to wait for a software trigger Click on the Send Sofware Tigger button will make 52912 52914 start to run Table 1 After the 52912 52914 receives the necessary start trigger it runs through all the commands in Table 1 one by one Note that the output voltages and or currents will change according to the commands As the 52912 52914 is outputting voltages currents the LED of channel 1 in the front panel of 52912 52914 will light in green if Table have Output On command And when the 52912 52914 finishes executing the commands of Table 1 i X The Ae button is now available Click on the i button to view the measured data if you have the commands Measure Voltage and or Measure Current in Table 1 Soft Front Panel w Figure 4 21 is what you will see when you click on
37. VAL_SELECT_CH1 Q 5 commandType CHR52912_VAL_END If you want to run this sample program and the instrument is not present set the Simulate flag to 1 Example Simulate x7 check DC check check check check 1 Err Err Err Err c hr529 DLL Calls and Examples 2_InitWithOptions PXI3 10 INSTR VI_TRUE VI_TRUE Simulate 0 RangeCheck 1 QueryInstrStatus 1 Cache c Q Cc 2 c Power Mode hr529 HR529 hr529 0 hr529 amp chr52912 2 ConfigureOperationMode chr52912 2 VAL _DC_POWER 2 ConfigureCurrentLimit chr52912 chi 0 Err chr52912 ConfigureVoltageLevel chr52912 chi 15 0 2 ConfigureOutputEnabled chr52912 chi VI_TRUE chr52912 Measure to get the reading of current voltage chr52912_ reset or chr52912 ResetOutputProtection to reset 52912 if any error occurred chr52912_ close to close 2 ConfigureOutputEnabled chr52912 chi SE Power Mode with trigger signal 2 ConfigureTriggeredOutput chr52912 chi 15 2 ConfigureTriggerSource chr52912 2 VAL SOFTWARE TRIG 2 VAL SOFTWARE TRIG Err chr52912 Initiate chr52912 CHR52912 VAL SELECT CH1 ssage Press OK to start generating triggered 2 SendSoftwareTrigger chr52912 essagePopup Message Press OK to stop triggered output 2 SendSoftwareTrigger chr52912 2 Ab
38. a particular instrument session channelName Variable Type ViChar Pass the name of the channel for which the sequencer table is configured Valid Channel Names chl ch2 tableSize Variable Type ViUIntl6 The size of the sequencer table The maximum size of the table is 256 tablePointer Variable Type const SEQUENCER_ TABLE A pointer to the structure of the sequencer table This pointer is usually an 5 23 cPCI PXT 52912 52914 Programmable Power Supply User s Manual array and each element in the array is a structure of a sequencer table The maximum size of the array is 256 The structure of a sequencer table is defined in the chr52912 h Some member variables in the structure may be redundant with some commands In such situation VI NULL is assigned to these members For example If the command type is CHR52912_ VAL SET_V the only used members in the structure is channelSelect amp value The others will be assigned as VI_ NULL the following is the struct definition amp member variables description typedef tagSequencerTable Vilnt32 commandType Vilnt32 channelSelect ViReal64 value Vilnt32 delayUnit Vilnt32 delay Vilnt32 repeatTimes Vilnt32 repeatStartIndex SEQUENCER_ TABLE commandType Determines which function to be accomplished Valid value CHR52912_ VAL SET V CHR52912 VAL SET I CHR52912 VAL RELAY ON CHR52912 VAL RELAY OFF CHR52912 VAL DELAY CHR52912 VAL MEASURE V CHR52912 VAL MEASURE I C
39. able1 have Output On command And when the 52912 52914 finishes executing the commands of Table 1 F D The i button is now available Click on the iW button to view the measured data if you have the commands Measure Voltage and or Measure Current in Table 1 i Figure 4 19 is what you will see when you click on the 5 button after the 52912 52914 stops from executing the sequencer table in example 1 Soft Front Panel iew Measured Data gt PXI2 11 INSTR Channel 1 Measured Data View Measured Data Type eee a Current Type 5 Current Type i Figure 4 19 Viewing Measured Data of Example 1 Example 2 Table 1 with channel 2 control with software trigger Step1 Same as Step1 in Example 1 Step2 At the menu bar select Editor gt Sequencer to edit the sequencer table as in Figure 4 16 and then click on the Ok button For more details on editing the sequencer table please refer to Section 4 3 6 2 Using Sequencer Editor 4 23 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 55 Sequencer Editor gt PXI2 11 INSTR gt Untitled2 sef Select Command Table _ Save Loaa_ Ok Cancel Delay Unit Table 1 with Channel 2 millisecond 1 8388608 Table 2 C micro second 100 8388608 Channel 1 Command Table Command Table 1 Command Type
40. alid values for ViBoolean attributes True 1 TRUE or VI TRUE False 0 False or VL FALSE Default Value Simulate 0 RangeCheck 1 QuerylnstrStatus 1 Cache 1 instrumentHandle Variable Type ViSession passed by reference Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Notes 1 This function creates a new session each time you invoke it This is useful if you have multiple physical instances of the same type of instrument 2 Avoid creating multiple concurrent sessions to the same physical instrument Although you can create more than one IVI session for the same resource it is best not to do so A better approach is to use the same IVI session in multiple execution threads You can use functions chr52912 LockSession and chr52912 UnlockSession to protect sections of code that require exclusive access to the resource Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 6 DLL Calls and Examples 5 1 3 chr52912_ close ViStatus chr52912_close ViSession instrumentHandle Purpose This function performs the following operations Closes the instrument I O session Destroys the instrument driver session and all of its attributes Deallocates any memory resources the driver uses Notes 1 You must unlock the session before calling chr52912_ close 2
41. arts waiting for a TTLO trigger and the button becomes see Figure 4 14 Dc Power Supply with Trigger Mode Current Voltage Current Voltage Select Channel to Standby l C Channel 1 C Channel 2 Standby Abort CH1 setting 1 50A 20 0 CH2 setting 1 20A 10 0 Figure 4 13 Example for DC Power Supply mode 4 15 cPCI PXT 52912 52914 Programmable Power Supply User s Manual Step3 Step3 Note B Chroma 52912 52914 lt PXI2 11 INSTR gt DC Power Supply with Trigger Mode CH1 CH2 Current Voltage Current Voltage y H T i Select Channel to Standby Channel 1 Channel 2 standby Abort Send Software Trigger CH1 setting 1 504 20 0 CH2 setting 1 204 10 04 Figure 4 14 Example for Waiting a TTLO trigger At this time you need to generate a TTLO trigger After receiving the TTLO trigger The skin changed as Figure 4 15 chroma 52912 52914 lt PXI2 11 INSTR gt Dc Power Supply with Trigger Mode CH1 mma CH2 Current Voltage Current Voltage a ED J a vi F D Select Channel to Standby E Channel 1 C Channel 2 Channel 1 and Channel 2 CH1 setting 1 504 20 0 CH2 setting 1 204 10 0 Figure 4 15 Example After Receiving a TTLO trigger Then you need to generate a TTL7 trigger After receiving the TTL7 trigger The 52912 52914 goes back to wait for th
42. ble Type ViChar Pass the name of the channel where a measurement takes place Valid Channel Names chl ch2 isRunning Variable Type ViBoolean passed by reference Indicates the state of the sequencer table The driver returns the value of CHR52912_ATTR_IS RUNNING SEQUENCER attribute The value VL_ TRUE indicates that the sequencer table is running The value VI FALSE indicates that the 52912 is not running the sequencer table Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 14 chr52912_ConfigureMeasure ViStatus chr52912_ConfigureMeasure ViSession instrumentHandle ViChar _VI_FAR channelName ViReal64 level ViReal64 limit Vilnt32 measurementType Vilnt32 delayTb Vilnt32 delayTbUnit Vilnt32 delayTc Vilnt32 delayTcUnit Vilnt32 delayTe Vilnt32 delayTeUnit Vilnt32 measureCount Purpose This function configures the measure functionality of the power supply You can only take the measurement on the output of the power supply This function inputs necessary commands into the sequencer table to achieve the measure functionality Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of
43. command should less than the location of itself Command Error The repeat index is invalid The Start Index of Repeat or NonStop Repeat command is greater then the location of itself occurred see above description Command Error The repeat times exceeds the valid range The value should only from 0 to 524288 cPCI PXI 52912 52914 Programmable Power Supply User s Manual Command Error Table The current limit is invalid at Command The value of column of Set Current Limit is invalid at the location of command in Table Command Error Table The voltage level is invalid at Command The value of column of Set Voltage Level is invalid at the location of command in Table Command Error Table The value of the delay is invalid at Command The value of column of Delay Time unit is invalid at the location ofl command in Table Command Error Table There is no End command in the sequencer table The Sequencer Editor will recognize the End command existed or not for confirming table available it s a must command at the last you select Command Error Table There is over one End command in this table Only one End command can be existed in a sequencer table Command Error Table Table size is less than 4 For more details please refer to section 4 3 6 1 Command Error Table There exi
44. delay Te Delay Te is the time interval between each measurement i e take a measurement once after every Te Valid value 1 8388608 for millisecond 100 8388608 for microsecond delayTeUnit Variable Type Vilnt32 Unit of the delay Te Valid value CHR52912_ VAL DELAY UNIT MILLI SECOND CHRS52912_ VAL DELAY UNIT MICRO SECOND measureCount Variable Type Vilnt32 The total number of times that the power supply will take the measurements The maximum count is 2048 Valid value 1 2048 Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function cPCI PXI 52912 52914 Programmable Power Supply User s Manual 5 1 15 chr52912_ReadMeasuredData ViStatus chr52912_ReadMeasuredData ViSession instrumentHandle ViChar _VI_FAR channelName ViPInt16 num_ofData MEASURED_DATA measuredData Purpose This function acquires the measured data stored in the register after the 52912 completes the sequential measurements Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912 JInitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel where the measured data is read Valid Channel Names chl ch2 num_ofData Variable Type Vilnt32 passed by reference The amount of meas
45. dware are in good condition without any damages and if the Compact Disc is broken or unreadable If any damage is found and caused the hardware or software application unable to execute return the product in its original package and contact us 1 2 2 Inspecting the Goods The PXI cPCI Programmable Power Supply kit contains the following items E A PXI 52912 Programmable Power Supply card E ACD containing test software and drivers and user s manual 1 2 Introduction 1 3 Features of Programmable Power Supply Key Features 1 Slot 3U PXI card For 52912 3 Slot 3U PXI card For 52914 Dual Isolated outputs 0 48 VDC 2A 60W per output Programmable current limit Includes over voltage over current and short circuit protection On board isolation and remote sense relays 16Bit read back of output voltage and current Outputs maybe connected in parallel 32 bit DLLs provided 1 3 Drivers Introduction 2 Drivers Installation 2 1 Driver CD The driver CD contains the following programs and files m Windows 2000 Window 9x and Windows NT4 device drivers m 52912 52914 Programmable Power Supply soft front panel and program examples m The instrument drivers and libraries are supported as listed below NI LabVIEW Ver 6 0 6 1 amp 7 0 NI LabWindows CVI Ver 6 0 Microsoft Visual C Ver 6 0 Microsoft Visual Basic Ver 6 0 Borland C Builder Ver 5 0 2 2 Installing the Software The 52912 52914 instrument d
46. e Start Trigger and Stop Trigger you desire At last select the slope Rising Edge or Falling Edge of trigger and confirm all the selections by clicking on the J button For more details on the available selections in the scrollboxes please refer to Section 4 3 2 2 Configuring Operation Mode After all the selections are done and confirmed you will see the appearance of the control panel changed as shown in Figure 4 12 4 13 cPCI PXT 52912 52914 Programmable Power Supply User s Manual E Chroma 52912 52914 lt PXI2 11 INSTR gt DC Power Supply with Trigger Mode Current Voltage Current Voltage Dm Oo ao J J Vi J Select Channel to Standby Channel 1 Channel 2 Channel 1 and Channel 2 Standby Abort CH1 setting 2 004 0 0 CH2 setting 2 004 0 0 Figure 4 12 Control Panel for DC Power Supply with Trigger 4 3 5 2 Running in DC Power Supply with Trigger Mode Once when you have done the settings in 4 3 5 1 the next step is to set up the values of voltage and current for both channels Then after that select the channel you want by clicking one of the three check buttons Channel 1 Channel 2 and Channel and Channel 2 Only a condition can be selected to stand by for the trigger signal Then you can click the button to force 52912 52914 to wait for a trigger signal became _snary If the 52912 52914 receives a start trigger became it will
47. e TTLO just like what is shown in Figure 4 14 During a standby condition you can click the button to abort the stand by state By doing so 52912 52914 will disable the output relays and go back to the default setting Soft Front Panel 4 3 6 Introduction of Sequencer Mode There are two kinds of sequencer tables you can configure When the start trigger signal is received the power supply sequentially executes the command sets in the sequencer table 4 3 6 1 What is A Sequencer Table A sequencer table is a series of commands that you want 52912 52914 to execute in a sequential manner There are a variety of commands you can use in a table however the maximum number of commands in each sequencer table is 256 Some columns may be redundant for some commands In this case the title of the useless columns will become Not Used For example If the command is Set Voltage Level then only the first two columns to the right of Command Type i e Select Channel and Value Times are used The right most column is redundant and becomes Not Used The following is a table showing which columns are used for each command v Table 1 Command Types vs Editor Columns y means that you must give an appropriate choice or value otherwise an Command Error message will appear means that this column is not used for this command ce ce 4 17 cPCI PXT 52912 52914 Programmable Power Supply U
48. e ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session You can pass VI NULL for this parameter This is useful when one of the initialize functions fail errorCode Variable Type ViStatus Pass the Status parameter that is returned from any of the instrument driver functions errorMessage Variable Type ViChar Returns the user readable message string that corresponds to the status code you specify You must pass a ViChar array with at least 256 bytes Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 23 chr52912_error_query ViStatus chr52912_error_query ViSession instrumentHandle ViPInt32 errorCode ViChar _VI_FAR errorMessage Purpose This function reads an error code and a message from 52912 Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912 InitWithOptions function The handle identifies a particular instrument session errorCode Variable Type Vilnt32 passed by reference Returns the error code OXBFFA4061 read from 52912 if any 52912 status error occurred errorMessage Variable Type ViChar Returns the error message string with status error code read from 52912 You must pass a ViChar array with at least 256 bytes 52912 stat
49. easured Data Error Not edited measure attributes for channell SFP52912 52914 Channel 2 Read Measured Data Error Not edited measure attributes for channel2 SFP52912 52914 There is no measured data in both channels No measured data stored in buffer of both channels at currently active 52912 52914 SFP52912 52914 Channel 1 Running Channel 1 is still running After 52912 52914 finishing sequential commands you just take more actions SFP52912 52914 Channel 2 Running Channel 2 is still running After 52912 52914 finishing sequential commands you just take more actions Configure Please turn May a different operation mode will 52912 52914 off first be changed SFP5291214 show you need to turn power off first for coming change Configure Configuration Changed A different operation changed Ok Ok Select Trigger Please select a valid Selecting a valid start trigger start trigger Select Mode Please select a valid mode Selecting a valid mode Command Error The voltage level exceeds the valid range You must enter a valid value of range from OV to 48V Command Error The value of the delay is invalid You must enter a valid value of range from 1 to 8388608 in millisecond or range from 100 to 8388608 in microsecond Command Error The repeat Start Index can t be the index of repeat command itself The Start Index of Repeat or NonStop Repeat
50. eeees 5 28 5 1 14 chr52912 ConfigureMeasure cccecceseesceeseeeeeseeeneeeeeees 5 29 5 1 15 chr52912 ReadMeasuredData eccceeceeseeeteeeteeseeeneeeneeees 5 32 5 1 16 chr52912 Initiate 2 eee eceesceeeceeeeeeceeeeeeeceeeeeceeesaeenseenes 5 34 5 1 17 chr52912 Abort sa e E A A aa 5 35 5 1 18 chr52912 SendSoftwareTrigger ccceecesesseeseereeereeeeeeees 5 36 5 1 19 chr52912 IsWaiting Trigger eeeeceeeceseeeteeeeeseeeneeeseees 5 37 91 20 chr52912 T set 0 5 2 2 cecse davies eis iannis pi 5 38 5 1 21 chr52912 ResetOutputProtection ceceeeeseeeseesteeneeteeees 5 39 5 1 22 chr52912 error _mMessage eecceeeccesceesceeeeeseeeseesseeseeeneeeseeees 5 40 S123 chr52912 error qQuery ciccc seceeesseeceseeses eecdevataserhiectiessters 5 41 5 1 24 chr52912 QueryOutputState 00 eeeeeeseceteeeeeseeeneeeneeees 5 42 5 1 25 chr52912_QueryMaxCurrentLimit eee eeeeseeeeereeeeeees 5 44 5 1 26 chr52912 QueryMaxVoltageLevel 0 00 ceccecceseeseseeteeeseeees 5 45 5 1 27 chr52912 QueryCalibrationDate 0 ceeeeeseeseeseeneeeteeees 5 46 5 1 28 Other Driver Functions 0 0 ccccceeceecceseceseceseeeseenseeseeeneeeneeees 5 47 5 2 Error Coders rrini n eara A RET NR 5 48 5 3 Example Programs ivisccccsiesessseccetcetesdescdeeseeden sete a e a 5 54 5 3 1 C Sample Program nenn cc ce secsccseevetenieess cateeneeeiewianccdevsevices 5 54 5 3 2 Visual Basic Sample Program csccescceseeeseeseeeseeeseeene
51. eees 5 58 5 3 3 LabVIEW Sample Program ccccescceseessecsseeteeseeeseeeneeeseeees 5 60 Hardware Specification sscsscssscssscssscssssssccssesssssssessssssesessseessesooees 6 1 6 1 A Pplicati On e4 ist s cfeanectiintods Cashiseal E E 6 1 6 2 Block Diagram of Hardware 00 cccceccceseceseesseceeeeeeeeseeeeeeeeeeerenseens 6 1 6 3 Front Panel Connector eececceccssseceseseceeeceseeceeeeceaeeeeeaecaeeeeenereees 6 2 64 Qutliness cctice ewe n aaa n i mane ads 6 4 6 5 Specification siisii neie ii e i 6 5 6 6 Calibtationea eneren iina ia A aia 6 6 Introduction 1 Introduction 1 1 Product Overview Chroma s 52912 52914 Programmable power supply is the industry s first embedded power supply packaged on standard single slot 3U PXI card format The advantages of using embedded PXI power supplies over conventional rack and stack power sources include significantly faster execution speed for great ATE throughput size and weight reductions and greater modularity thereby reducing spares and maintenance costs and increasing system up time Power Levels The 52912 52914 provides two independent 60W channels each programmable from 0 48VDC to a maximum of 2 amps from two 56V DC supplies If output isolation is a requirement then isolated 56V DC supplies must be used The instrument include programmable current limit to protect critical UUT s from excessive current as well as built in isolation and remote sense rela
52. er Mode status chr52912_ ConfigureOperationMode vi CHR52912 VAL DC POWER Configure the power supply to generate 15V and 2A output when receive the trigger signal status chr52912 ConfigureTriggeredOutput vi chi 15 2 status chr52912 ConfigureTriggerSource vi CHR52912 VAL SOFTWARE TRIG CHR52912 VAL SOFTWARE TRIG status chr52912 Initiate vi CHR52912 VAL SELECT _CH1 MsgBox Push button to start to output status chr52912 SendSoftwareTrigger vi MsgBox Push button to stop output status chr52912 SendSoftwareTrigger vi status chr52912 Abort vi 5 58 DLL Calls and Examples MsgBox Sequencer Mode status chr52912 ConfigureOperationMode vi CHR52912 VAL SEQUENCER Write the sequencer table ST1 into the power supply status chr52912 ConfigureSequencerTable vi chi 6 ST1 0 erroriIndex status chr52912 ConfigureTriggerSource vi _ CHR52912 VAL SOFTWARE TRIG CHR52912 VAL TRIG NONE status chr52912 Initiate vi CHR52912 VAL SELECT _CH1 MsgBox Push button to start to output status chr52912 SendSoftwareTrigger vi MsgBox Push button while the output is off status chr52912 Abort vi MsgBox Measure Mode status chr52912 ConfigureOperationMode vi CHR52912 VAL MEASURE Configure the power supply to generate 20V and 2A output then take measurement of the output 2048 times The time interval between each measurement is 1 millisecond status
53. eration modes DC Power Supply DC Power Supply with trigger Sequencer and Measure modes In the DC Power Supply mode a 52912 52914 acts as a conventional DC power supply source For more details on this mode please refer to Section 4 3 4 Introduction of DC Power Supply Control Panel In the Sequencer mode a 52912 52914 acts as a sequence generator with some command tables pre set via Sequencer Editor For more details on Sequencer Editor please refer to Section 4 3 6 Introduction of Sequencer Mode In the Measure mode you can configure the time interval between each measurement precisely For more details on Measure Attributes Editor please refer to Section 4 3 7 Measure Attributes Editor In the DC Power Supply with trigger mode the power supply can also wait for trigger signal For more details on this mode please refer to section 4 3 5 Introduction of DC Power Supply with Trigger Mode 4 3 2 2 Configuring Operation Mode Before you manipulate a 52912 52914 you need to configure operation mode in advance The default mode is DC Power Supply To select modes other than the default one select View gt Configure Mode Trigger Bar at the menu bar Then a trigger bar will appear as shown in Figure 4 4 This bar allows you configure Resource Name Operation Mode Start Trigger and Stop Trigger The available selecti
54. ere are two simple examples showing how a sequencer table is used Notice that there are several restrictions when using a sequencer table 1 All values in a sequencer table should be within the valid range using the pre defined constants in the header files is recommended e g CHR52912_ VAL SET _V 2 There must be at least one pair of SET_V and SET_I commands executed before any OUTPUT_ON command in order to protect the external circuit connecting to the 52912 52914 UUT from burned out This rule applies for both channel 1 and 2 3 52912 52914 has a power limit of 60 Watts on each channel 4 Nested REPEAT commands are allowed but the number of nested layers cannot exceed 7 5 The last command will always be END and each sequencer table must have at least one END command The power supply will keep executing through the sequencer table until it encounters an END command 3 5 3 Measure mode The Measure mode provides a simple way to take periodical measurements on the power supply s output By calling the chr52912_ConfigureMeasure function the driver will insert the necessary commands into the sequencer table for periodical measurements Notice that in this mode users do not have to inputs commands manually Then just like in the Sequencer mode you must configure the trigger source Note in this mode only the start trigger is configurable as well as initiating the power supply to wait for it After receiving the sta
55. escription of the 5 25 cPCI PXT 52912 52914 Programmable Power Supply User s Manual status code call the chr52912_error_message function DLL Calls and Examples 5 1 12 chr52912_ClearSequencerTable ViStatus chr52912_ClearSequencerTable ViSession instrumentHandle ViChar _VI_FAR channelName Purpose This function clears the sequencer table in the 52912 Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel where the sequencer table is cleared Valid Channel Names chl ch2 Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 27 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 13 chr52912_IsRunningSequencer ViStatus chr52912_IsRunningSequencer ViSession instrumentHandle ViChar _VI_FAR channelName ViPBoolean isRunning Purpose This function returns the state of the 52912 It will indicate if the instrument is currently running a sequencer table Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912 InitWithOptions function The handle identifies a particular instrument session channelName Varia
56. h2 measurementType Variable Type Vilnt32 Pass the measurement you want the power supply to take Valid Values CHR52912_ VAL MEASURE VOLTAGE DC voltage measurement CHR52912 VAL MEASURE CURRENT DC current measurement measurement Variable Type ViReal64 passed by reference Returns the measured value Units volts for voltage measurement amps for current measurement Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 21 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 11 chr52912_ConfigureSequencerTable ViStatus chr52912_ConfigureSequencerTable ViSession instrumentHandle ViChar _VI_FAR channelName ViUInt16 tableSize const SEQUENCER TABLE tablePointer ViUInt16 errorIndex Purpose This function configures the sequencer table in the 52912 A sequencer table is a list of commands that the 52912 will execute sequentially There are many commands available in the table such as OUTPUT_ON OUTPUT_OFF SET_V SET_I DELAY and etc Before writing the sequencer table into the 52912 the driver will check if every command value in the table is valid There are two configurable sequencer tables table 1 amp table 2 In sequencer table 1 it is possible to control both channel 1 amp 2 either separately or together by using several adequate sequencer tables In sequencer table 2 you ca
57. he ID Query parameter is set to VL_ TRUE this function queries the instrument ID and checks that it is valid for this instrument driver If the Reset parameter is set to VI_TRUE this function resets the instrument to a known state Sends initialization commands to set the instrument to the state necessary for the operation of the instrument driver Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Note This function creates a new session each time you invoke it Although you can open more than one IVI session for the same resource it is best not todo so You can use the same session in multiple program threads You can use the chr52912_ LockSession and chr52912_UnlockSession functions to protect sections of code that require exclusive access to the resource Parameter List resourceName Variable Type ViRsre Pass the resource name of the device to initialize You can also pass the name of a virtual instrument or logical name that you configure with the IVI Configuration utility The virtual instrument identifies a specific device and specifies the initial settings for the session A logical Name identifies a particular virtual instrument 5 1 cPCI PXI 52912 52914 Programmable Power Supply User s Manual Refer to the following table below for the exact grammar to use for this parameter Optional fields are shown in square brackets PXI board lt logical addre
58. ing You can use this control to set the initial value of certain attributes for the session The following table lists the attributes and the name you use in this parameter to identify the attribute Name Attribute Defined Constant RangeCheck CHR52912_ATTR_ RANGE CHECK QuerylInstrStatus CHR52912 ATTR QUERY INSTR STATUS Cache CHR52912 ATTR CACHE Simulate CHR52912 ATTR SIMULATE RecordCoercions CHR52912_ATTR_RECORD_COERCIONS The format of this string is AttributeName Value where AttributeName is the name of the attribute and Value is the value to which the attribute will be set To set multiple attributes separate their assignments with a comma If you pass NULL or an empty string for this parameter and a VISA resource descriptor for the Resource Name parameter the session uses the default values for the attributes The default values for the attributes are shown below Attribute Name Default Value RangeCheck VI_TRUE QueryInstrStatus VI_TRUE 5 5 cPCI PXI 52912 52914 Programmable Power Supply User s Manual Cache VI_TRUE Simulate VI_FALSE RecordCoercions VI_FALSE You can override the values of the attributes by assigning a value explicitly in a string you pass for this parameter You do not have to specify all of the attributes and may leave any of them out If you do not specify one of the attributes its default value or the value that you configure with the IVI Configuration utility will be used The following are the v
59. ion file on disk Cannot open configuration file Error reading configuration file 5 49 cPCI PXT 52912 52914 Programmable Power Supply User s Manual BFFA002A BFFA002B BFFA002C BFFA002D BFFA002E BFFA002F BFFA0030 BFFA0031 BFFA0032 BFFA0033 BFFA0034 BFFA0035 BFFA0036 BFFA0037 BFFA0038 BFFA0039 BFFA003A BFFA003B BFFA003C BFFA003D BFFA003E BFFA003F BFFA0040 BFFA0041 BFFA0042 BFFA0043 BFFA0044 BFFA0045 BFFA0046 BFFA0047 BFFA0048 BFFA0049 BFFA004A BFFA004B BFFA004C BFFA004D BFFA004E BFFA004F BFFA0050 BFFAO0051 BFFA0052 BFFA0053 5 50 Invalid Vilnt32 value in configuration file Invalid ViReal64 value in configuration file Invalid ViBoolean value in configuration file Entry missing from configuration file Initialization failed in driver DLL Driver module has unresolved external reference Cannot find CVI Run Time Engine Cannot open CVI Run Time Engine CVI Run Time Engine has invalid format CVI Run Time Engine is missing required function s CVI Run Time Engine initialization failed CVI Run Time Engine has unresolved external reference Failure loading CVI Run Time Engine Cannot open DLL for read exports DLL file is corrupt No DLL export table in DLL Unknown attribute name in default configuration file Unknown attribute value in default configuration file Memory pointer specified is not known Unable to find any channel strings Duplicate channel string Duplicate vir
60. le Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912 InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel where the triggered voltage output is configured Valid Channel Names chl ch2 triggeredLevel Variable Type ViReal64 Pass the DC voltage level you want the power supply to generate after it receives a start trigger Units volts Valid Range 0 0 48 0 volts triggeredLimit Variable Type ViReal64 Pass the current limit of the power supply Units amps Valid Range 0 0 2 0 amps Return Value cPCI PXI 52912 52914 Programmable Power Supply User s Manual If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 10 chr52912_Measure ViStatus chr52912_Measure ViSession instrumentHandle ViChar _VI_FAR channelName Vilnt32 measurementType ViPReal64 measurement Purpose This function takes a measurement on the output and returns the measured value Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912 InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel where a measurement takes place Valid Channel Names chl c
61. n For more details on editing the sequencer table please refer to Section 4 3 6 2 Using Sequencer Editor Table 1 M with Channel 2 Delay Unit millisecond 1 8388608 C Table 2 C micro second 100 8388608 Command Table 1 Command 1 Command 2 Command 3 Command 4 Command 5 Command 6 Channel 1 Command Table Command Type Select Channel Set Current Limit Channel 1 only Set Voltage Level Channel 1 only Output On Channel 1 only Delay Time Measure Voltage Channel 1 only Measure Current Channel 1 only Command 7 Command 8 Command 9 Command 11 Set Voltage Level Channel 1 only 20 0 Delay Time 1000 Repeat 3 5 Output OFF 1 only Command 12 Command 13 Command 14 Command 15 4 21 cPCI PXI 52912 52914 Programmable Power Supply User s Manual Step3 Figure 4 18 Sequencer Table of Example 1 On the Control Panel choose Table 1 Then click on the button The 52912 52914 now start to wait software trigger Then click on the Send Sofware Trase button to start to run Tablel After the 52912 52914 receives the necessary start trigger it runs through all the commands in Table 1 one by one Note that the output voltages and or currents will change according to the commands As the 52912 52914 is outputting voltages currents the LED of channel 1 in the front panel of 52912 52914 will light in green if T
62. n only control channel 2 but not channel 1 If there is any unacceptable condition this function will return one of the following errors and an error index to indicate the position of the error in the table CHR52912_ ERROR _NO END COMMAND If there is no END command in the sequencer table CHR52912_ ERROR_TABLE SIZE If the table size is less than 3 or greater than 256 CHR52912_ ERROR INVALID DELAY If the value of the delay is invalid CHR52912_ ERROR REPEAT INDEX If the repeat index is invalid CHR52912_ ERROR_INVALID_ COMMAND TYPE If there exists unknown command DLL Calls and Examples CHR52912_ ERROR TABLE2 SELECT CH1 If the channel select is CHR52912 VAL SELECT_CH1 or CHR52912_ VAL SELECT CH1 CH in the table 2 CHR52912_ ERROR INVALID CH SELECT If the channel select exceeds the valid range CHR52912 ERROR INVALID VOLTAGE RANGE If the voltage level exceeds the valid range CHR52912_ ERROR INVALID CURRENT RANGE If the current limit exceeds the valid range CHR52912_ ERROR NOT SET V_I BEFORE OUTPUT _ON Ifan OUTPUT_ON command appears before the voltage level amp current limit are set This examination is for the protection of the circuit CHR52912_ ERROR INVALID REPEAT TIMES If the repeat times exceeds the valid range Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies
63. n this mode please refer to Section 4 3 7 Introduction of Measure Mode or Turn Off The Power clicking on this icon will turn off the power of the currently selected 52912 52914 In all modes toggling this icon will 4 6 Soft Front Panel disable all the functionalities In the DC Power Supply mode the conventional panel is deactivated after this icon is toggled at Turn On The Power of All 52912 52914 5 clicking on this icon will turn on the power of all 52912 52914 s Also see for details of turning on powers All Eg Turn Off The Power of All 52912 52914 5 clicking on this icon will turn off the power of all 52912 52914 s Also see orr for details of turning off powers Le Select Previous Card clicking on this icon will move the active window to the previous Soft Front Panel SFP Select Next Card clicking on this icon will move the active window to the next Soft Front Panel _ Get Last Calibration Date clicking on this icon will show the latest date of calibration Switch to Status Table clicking on this icon will show the status of all 52912 52914 s This status table is for observations only and has no controls and effects on 52912 52914 s is LS View Measured Data clicking on this icon will launch a dialog of View Measured Data for viewing the currently active 52912 52914 s measured data in channel 1 or channel 2 4 7 cPCI PXT 52912 52914
64. nable Trigger Source EESAN a nnnenenenenenneeeeeceeesy ts Action Initiate i 2 i F Measure it y Action Hee Output i L Send Software Es i it Trigger Stage 1 Without Trigger Abort ERBE E ENA ET AEN EE E A AEN EE i EOI OIII AE III OSAI LEII Eee a ete RR N N EE A E A eE E N E et RTE OE ponerse rrttreeeeereereeeceeeeeeceeeeeees N End gt Close Stage Figure 3 3 Operating procedure of 52912 The operating procedure of 52912 52914 is shown in Figure 3 3 More detailed descriptions are discussed in later sections Each block in the figure above is labeled with a bold faced alphabet and the APIs that will be called in these blocks are listed below APIs Called in Figure 3 3 A 1 chr52912_ init 2 chr52912_InitWithOptions B chr52912_ConfigureOperationMode C chr52912 ConfigureVoltageLevel D chr52912_ConfigureCurrentLimit E chr52912_ConfigureOutputEnabled F chr52912_ Measure G chr52912 ConfigureTriggeredOutput H chr52912_ConfigureSequencerTable I chr52912 ConfigureMeasure J chr52912_ConfigureTriggerSource 3 6 Software K chr52912_ Initiate L chr52912 SendSoftwareTrigger M chr52912_ Abort N chr52912 close 3 5 Operation Modes There are three operation modes supplied with Chroma PXI 52912 52914 Power Supply Card DC Power mode Sequencer mode and Measure mode 3 5 1 DC Power mode 3 5 1 1 Operating Without Trigger This is the default operation mode as the power supply is initialized or reset In
65. ng transfer A framing error occurred during transfer An overrun error occurred during transfer Offset not properly aligned for operation access width Specified user buffer not valid Resource valid but VISA cannot access it Width not supported by this hardware Invalid parameter value parameter unknown Invalid protocol Invalid window size Session currently contains a mapped window BFFF0081 BFFF0083 BFFFO0091 BFFF009C BFFF009D BFFFOO9E DLL Calls and Examples Operation not implemented Invalid length Invalid mode Session did not have a lock on the resource The device does not export any memory VISA required code library not located or not loaded VXIPnP Driver Status Codes WARNINGS 3FFC0101 3FFC0102 3FFC0103 3FFC0104 3FFC0105 ERRORS BFFC0001 BFFC0002 BFFC0003 BFFC0004 BFFC0005 BFFC0006 BFFC0007 BFFC0008 BFFCOOI1 BFFC0012 Instrument does not have ID Query capability Instrument does not have Reset capability Instrument does not have Self Test capability Instrument does not have Error Query capability Instrument does not have Revision Query capability Parameter out of range or error trying to set it Parameter 2 out of range or error trying to set it Parameter 3 out of range or error trying to set it Parameter 4 out of range or error trying to set it Parameter 5 out of range or error trying to set it Parameter 6 out of range or error trying to set it Parameter 7 out
66. nitor circuit to read and monitor the actual size of V and I 6 1 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 3 Analog circuit power stage The core uses a switch with correct feedback circuit to control the actual output of V and I 4 DC source 56Vdc Its main function is to provide the 52912 a stable DC voltage input source 56Vdc and DC source 56Vdc is built in 52914 6 3 Front Panel Connector CHI CH2 ERR PWR ON Vs Vs Vs re 9 4 rp o lt Vs Vint com Vin2 com2 pendi 3 1 TRIG Figure 6 5 The Panel of 52912 PXI Card 6 2 cPCI PXI 52912 Programmable Power Supply User s Manual Pin description of Front connector Description V channel output V Vst channel output Vsense ae V channel 1 output V Vs channel 1 output Vsense V channel 2 output V Vst channel 2 output Vsense eens V channel 2 output V Vs channel 2 output Vsense Vinl 56V input of channel 1 i COM1 56V input ground of channel 1 Pee Vin2 56V input of channel 2 COM2 56V input ground of channel 2 TRIG External Trigger Signal in Description of each signal function 1 When 56Vdc is input to 52912 PXI card the PWR signal LED will light up in green 2 When the voltage is outputting the ON signal LED will light up in green 3 When OVP or OTP occurs the ERR signal LED will light up in red 6 3 6 4 cPC
67. nstable 56V input occurred Call reset or resetOutputProtection first BFFA4007 Invalid operation mode BFFA4008 Invalid command type in the sequencer table BFFA4009 Invalid channel select in the sequencer table BFFA400A Invalid voltage range in the sequencer table BFFA400B Invalid current range in the sequencer table BFFA400C Invalid delay value in the sequencer table BFFA400D Invalid repeat times in the sequencer table BFFA400E Invalid repeat start index in the sequencer table BFFA400F The nested layer of repeat can t exceed 7 BFFA4010 No END command in the sequencer table BFFA4011 Not set Voltage Level amp Current Limit yet before turn on output relay BFFA4012 Can t select channel 1 in the sequencer table of channel 2 BFFA4013 Sequencer table is empty configure Sequencer table first BFFA4014 Sequencer table 2 is unusable BFFA4015 The Sequencer table is currently running BFFA4016 The instrument is not in waiting trigger state BFFA4017 The instrument is in waiting trigger state BFFA4018 Invalid trigger BFFA4019 No measured data BFFA4061 52912 Status error IviPower Status Codes ERRORS BFFA1001 The trigger source is not software trigger IVI Engine Status Codes 5 48 ERRORS BFFAO0001 BFFA0002 BFFA0003 BFFA0004 BFFA0005 BFFA0006 BFFA0007 BFFA0008 BFFA0009 BFFAO00A BFFA000B BFFA000C BFFA000D BFFAO00E BFFAOOOF BFFA0010 BFFA0011 BFFA0012 BFFA0013 BFFA0014 BFFA0015 BFFA0016 BFFA001
68. nstrumentHandle VilInt32 stratSource VilInt32 stopSource VilInt32 slope chr52912 ConfigureTriggeredOutput ViStatus ViStatus ViStatus ViStatus ViStatus ViSession instrument _VI_FAR channelName ViReal64 triggeredhe Software Handle ViChar l vel ViReal64 triggeredLimit chr52912 Measure ViSession instrument ViChar VI_FAR chann Vilnt32 measurementT Handle elName ViPReal64 measuremen chr52912 ConfigureSequencerTabl ViSession instrument ViChar _VI_FAR chann ViUInt16 tableSize ype t Handle elName const SEQUENCER TABL E tablePointer ViUInt16 errorIndex chr52912 ClearSequencerTable ViSession instrument ViChar VI_FAR chann chr52912 IsRunningSequencer ViSession instrument ViChar VI_FAR chann ViPBoolean isRunning chr52912 ConfigureMeasure ViSession instrument ViChar _VI_FAR chann ViReal64 level ViR Vilnt32 measurementT r Handle elName Handle elName Handle elName al64 limit ViInt32 delayTb ViInt32 delayTbUnit ViInt32 delayTc ViInt32 delayTcUnit ViInt32 delayTe ViInt32 delayTeUnit ViInt32 measureCount ViStatus chr52912 ReadMeasuredData ViSession instrumentHandle ViChar _VI_FAR channelName ViPInt16 num_ofData ViStatus chr52912 Initiate ViSession instrumentHandle ype MEASURED DATA measuredData 3 3
69. nt session channelName Variable Type ViChar Pass the name of the channel where the current limit is configured Valid Channel Names chl ch2 behavior Variable Type Vilnt32 Pass the behavior you want the power supply to exhibit when the output current is greater than or equal to the value of the limit parameter The driver uses this value to set the CHR52912_ATTR_ CURRENT LIMIT BEHAVIOR attribute Valid Values CHR52912_ VAL CURRENT REGULATE Regulatory limit limit Variable Type ViReal64 Pass the current limit you want to use The driver uses this value to set the CHR52912_ATTR_CURRENT LIMIT attribute Units amps Valid Range 0 0 2 0 amps depends on current voltage level DLL Calls and Examples Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 11 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 6 chr52912_ConfigureVoltageLevel ViStatus chr52912_ConfigureVoltageLevel ViSession instrumentHandle ViChar _VI_FAR channelName ViReal 4 level Purpose This function configures the DC voltage level the power supply attempts to generate In order to protect power supply if you set voltage level higher than 30V it will automatically adjust current limit to comply with maximal power output 60W Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the
70. nt sessions to the same physical instrument Although you can create more than one IVI session for the same resource it is best not to do so A better approach is to use the same IVI session in multiple execution threads You can use functions chr52912 LockSession and chr52912 UnlockSession to protect sections of code that require exclusive access to the resource Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 3 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 5 1 2 chr52912_InitWithOptions ViStatus chr52912_InitWithOptions ViRsrc resourceName ViBoolean IDQuery ViBoolean resetDevice ViString optionString ViPSession instrumentHandle Purpose This function performs the following initialization actions Creates a new IVI instrument driver and optionally sets the initial state of the following session attributes CHR52912_ATTR_ RANGE CHECK CHR52912_ATTR_ QUERY INSTR STATUS CHR52912_ATTR_ CACHE CHR52912_ATTR_SIMULATE CHR52912_ATTR_ RECORD _COERCIONS Opens a session to the specified device using the interface and address you specify for the Resource Name parameter If the ID Query parameter is set to VI_ TRUE this function queries the instrument ID and checks that it is valid for this instrument driver If the Reset parameter is set to VI_ TRUE this function resets the instrument to a known state
71. ode Provides periodical measurements on output Precise time intervals between every two measurements are configurable Refer to chr52912 ConfigureMeasure for details on configurations in the Measure mode Parameter List 5 8 instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ JInitWithOptions function The handle identifies a particular instrument session operationMode Variable Type Vilnt32 The operation mode of the power supply Valid Values CHR52912 VAL DC POWER CHR52912 VAL SEQUENCER TABLE DLL Calls and Examples CHR52912_ VAL SOURCE METER Default value CHR52912_ VAL DC POWER Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function 5 9 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 5 1 5 chr52912_ConfigureCurrentLimit ViStatus chr52912_ConfigureCurrentLimit ViSession instrumentHandle ViChar _VI_FAR channelName Vilnt32 behavior ViReal64 limit Purpose This function configures the current limit You specify the output current limit value and the behavior of the power supply when the output current is greater than or equal to that value Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrume
72. oltage measurement on channel 1 and the other is edited with current measurement on channel 2 The loads for each channel in these examples are both 30Q 50 watts Be aware of the power limit of 60 watts in your own practice Example 1 Voltage Measurement on Channel 1 Step 1 At the menu bar select View gt Configure Mode Trigger Bar Choose the 52912 52914 you want to manipulate and then under the Select Mode scrollbox select Measure Then under the Start Trigger scrollbox select Software At last select the slope type of the trigger and then click on the EA button to confirm Step2 At the menu bar select Editor gt Measure to edit the attributes for this measurement set as shown in Figure 4 24 and then click on the Ok button Ga Measure Attributes Editor gt PXI2 11 INSTR Channel Select Channel1 C Channel 2 Measure Attributes 1 Measure Type Voltage Current 2 Value Set Voltage Level lt 0 48V gt 12 CurrentLevel lt 0 2A gt 2 3 Time Interval From Relay On To Output Stable ms us foo lt 1 8388608 gt 4 Time Interval From Output Stable To Start ms us fi 000 lt 1 8388608 gt 5 Time Interval Between Each Measurement ms us foo lt 1 8388608 gt 6 Count of Measurement ECE lt 1 2048 gt Cancel Figure 4 24 Editing Voltage Measurement of Channel for Example 1 Step3 iew Measured Data gt PXI2 11 INSTR Channel 1 Measu
73. ons in each scrollbox of the trigger bar are listed below PXI2 11 INSTR 7 C Po Rising Edge ajA Figure 4 4 Configuring operation mode Select a 52912 52914 Select Mode Start Trigger Stop Trigger vi Soft Front Panel This is the left most scrollbox in the trigger bar Default is set to be the first 52912 52914 that is opened empty if no 52912 52914 is opened The format of the name of 52912 52914 s is as follows PXI board lt logical address gt INSTR For more details on this please refer to Section 5 1 1 chr52912_ init DC Power Supply Sequencer Measure DC Power Supply with trigger External Software TTLO TTL1 TTL2 TTL3 TTL4 TTL5 TTL6 TTL7 Same as Start Trigger Clicking on this button will apply all the selections in the scrollboxes to the selected 52912 52914 Note no change will be made until this Apply button is toggled Note According to different operation modes you must configure appropriate triggers foreach one Then before executing the mode dependent actions the power supply will be suspended until a Start Trigger signal is received For example in the DC Power Supply with trigger mode you must configure both the Start Trigger and the Stop Trigger The power supply will generate output as soon as it receives the Start Trigger signal and terminates the outputting when the Stop Trigger signal occurs cPCI PXT 52912 52914
74. or Measure with trigger Mode Note 1 After the Ok button is clicked while editing Measure Attributes the editor will check if all the entry values are within the range If any error is detected a corresponding error message will appear Please refer to Section 4 3 8 List of Messages for a list of all the error messages 2 Each time when a new Measure Attribute is edited and run the measurements has to be done on the same channel throughout this process 4 3 7 2 Running Measure Mode Standby to Measure clicking on this icon will engage currently active 52912 52914 to be ready for receiving a trigger signal to measure channel 1 s output This measurement depends on you have already edited Measure Attributes via Measure Attributes Editor For more details on Measure Attributes Editor please refer to Section 4 3 7 1 Using Measure Attributes Editor Abort Measurement clicking on this icon will abort the measuring Once you have finished editing Measured Attributes Editor click on the 4 27 cPCI PXI 52912 52914 Programmable Power Supply User s Manual button and the 52912 52914 will start to function It will wait for the Start Trigger signal and as soon as it receives the signal it starts to perform periodical measurements on the specified channel The 52912 52914 will cease after it runs the total count of measurements times 4 3 7 3 Examples Here are two examples one is edited with v
75. or warnings and errors of NI VISA and NI IVI please refer to section 5 2 Title Message Description SFP52912 52914 SFP5291214 Finds Program cannot find the hardware Resources error Please insert card or check its seating Please check your system SFP52912 52914 lt PXI INSTR gt Are A warning prompt before exiting the you sure to exit selected 52912 52914 SFP52912 52914 Channel 1 of lt An error occurred after toggling the PXI INSTR gt has Output button This message shows caused that Channel 1 of lt PXI INSTR gt Error Code has no input present You must check Oxbffa4005 whether an input of 56Vdc is Error Message There available or not is no 56V input preset in this channel Please check your system After checking your system Do you want to reset output SFP52912 52914 PXI 2 INSTR May resource is not present in the Cannot initial Power __ system SFP52912 52914 Channel 1 of An error occurred when measure For lt PXI INSTR gt more details on this please refer to has Status Error section5 1 24 occurred chr52912_error_query Status 0x4C Please check your system Cwui Type Mismatch Input data is not decimal figures SFP52912 52914 Caution Your set over The multiplied result of Current and power limit lt 60 Watts gt Voltage is over the power limit 4 32 Soft Front Panel SFP52912 52914 Channel 1 Read M
76. ort chr52912 2 ConfigureOperationMode chr52912 2_VAL_SEQUENCER 2 ConfigureSequencerTable chr52912 chi 6 erroriIndex 2 ConfigureTriggerSource chr52912 2 VAL SOFTWARE TRIG CHR52912 VAL TRIG NONE chr52912 Initiate chr52912 CHR52912 VAL SELECT CH1 essagePopup Message Press OK to start to run sequencer 2 SendSoftwareTrigger chr52912 essagePopup Message Wait for the output off 2 Abort chr52912 2 ConfigureOperationMode chr52912 Delay 2 checkErr chr529 VI_FAL DC checkErr chr529 1 checkErr chr529 CHR529 CHR529 check MessagePopup Me output checkErr chr529 M checkErr chr529 checkErr chr529 Sequencer Mode checkErr chr529 CHR529 pSTl ST1l checkErr chr529 PSTL checkErr chr529 CHR529 checkErr M table checkErr chr529 M checkErr chr529 Measure Mode checkErr chr529 CHR529 2 VAL MEASURE 5 55 cPCI PXT 52912 52914 Programmable Power Supply User s Manual checkErr chr52912 ConfigureTriggerSource chr52912 CHR52912 VAL SOFTWARE TRIG CHR52912 VAL TRIG NONE checkErr chr52912 ConfigureMeasure chr52912 ch2 10 1 CHR52912 VAL MEASURE VOLTAGE 100 CHR52912 VAL DELAY UNIT MICRO SECOND 100 CHR52912 VAL DELAY UNIT MICRO SECOND 1 CHR52912 VAL DELAY UNIT MILLI SECOND 2048 heckErr chr52912 Initiate chr52912 CHR52912 VAL SELECT CH2 essagePopup Message Press OK to take measurement heckEr
77. pecified I O buffer type not supported 3FFF0098 Successful but invoke no handlers for this event 3FFF0099 Successful but session has nested shared locks 3FFFO09A Successful but session has nested exclusive locks 3FFFO09B Successful but operation not asynchronous ERRORS BFFF0000 Unknown system error miscellaneous error BFFFOOOE Session or object reference is invalid BFFFOOOF Resource is locked BFFFO0010 Invalid expression specified for search BFFF0011 Resource is not present in the system BFFFO0012 Invalid resource reference specified Parsing error BFFF0013 Invalid access mode BFFFO0015 Timeout expired before operation completed BFFF0016 Unable to deallocate session data structures BFFF001B_ Specified degree is invalid BFFFO01C Specified job identifier is invalid BFFFO0ID_ Attribute is not supported by the referenced object BFFFOOIE Attribute state not supported by the referenced object BFFFOOIF Specified attribute is read only BFFF0020 Lock type lock not supported by this resource BFFF0021 Invalid access key BFFF0026 Specified event type not supported by the resource BFFF0027 Invalid mechanism specified BFFF0028 A handler was not installed cPCI PXT 52912 52914 Programmable Power Supply User s Manual BFFF0029 BFFF002A BFFF002D BFFFO002F BFFF0030 BFFF0034 BFFF0035 BFFF0036 BFFF0037 BFFF0038 BFFF0039 BFFFO003A BFFF003B BFFF003C BFFF003D BFFFO003E BFFFO03F BFFF0041 BFFF0042 BFFFO04A BFFFO04E BFFFO0051
78. r chr52912 SendSoftwareTrigger chr52912 essagePopup Message Wait for the output off then read the measured data checkErr chr52912 Abort chr52912 Pass the amount of measured data you to read then the driver API gets the measured data n c BORO umOfData 1000 heckErr chr52912 ReadMeasuredData chr52912 ch2 amp numOfData MD1 printf msg There are d records of measured data in the power supply numOfData MessagePopup Message msg a Error if error VI_SUCCESS ViChar errStr 2048 BuildErrorString chr52912 error errStr MessagePopup Error errStr chr52912 reset chr52912 if chr52912 chr52912 close chr52912 void BuildErrorString ViSession chr52912 ViStatus error ViString errStr ViChar tempStr 256 errElabStr 256 ViChar p errStr ViStatus primaryErr secondaryErr p sprintf p Driver Status Hex 0x x error Get description of the returned status code chr52912 error message chr52912 error tempStr p sprintf p s n n tempStr Get any additional error information errElabStr 0 0 chr52912 GetErrorInfo chr52912 amp primaryErr amp secondaryErr errElabStr 5 56 DLL Calls and Examples if primaryErr error if secondaryErr VI_SUCCESS p sprintf p Secondary Error Hex 0x x secondaryErr Get description of the returned status code
79. r the Start Trigger signal and as soon as it receives the signal it starts to execute the commands in the selected sequencer table The 52912 52914 stops when it comes to execute the End command or will never stop as it comes to execute the NonStop Repeat command in the sequencer table CAUTION While editing the command table if the time to switch between CV and CC is less than 0 5 sec The light shown in the Status Indicator might not be the actual current status 4 3 6 4 Examples Here are two examples one with Table 1 used to control channel 1 only and the other with Table 1 controlling both channels The loads for each channel in these examples are both 30Q 50 watts Be aware of the power limit of 60 watts in 4 20 Soft Front Panel your own practice Example 1 Step 1 Step2 Gi Sequencer Editor gt PXI2 11 INSTR gt Untitled1 sef Select Command Table Save Load L__ok Cancel Table 1 Controlling Channel 1 Only with Software trigger At the menu bar select View gt Configure Mode Trigger Bar Choose the 52912 52914 you want to manipulate and then under the Select Mode scrollbox select Sequencer Under the Start Trigger scrollbox select Software At last select the slope type of the triggers and then click on the z button to confirm At the menu bar select Editor gt Sequencer to edit the sequencer table as in Figure 4 18 and then click on the Ok butto
80. r52912_QueryCalibrationDate ViSession instrumentHandle ViChar errorMessage Purpose This function returns the last calibration date Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session errorMessage Variable Type ViChar Returns the last calibration date string You must pass a ViChar array with at least 64 bytes Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 28 Other Driver Functions The 52912 Power Supply does not support the functions of self test configure output range and configure OVP When calling chr52912_self_test chr52912_ConfigureOutputRange or chr52912_ConfigureOVP you will get the return value of VI SUCCESS 0 without real action The detail description of each driver function see the file of chr52912 HLP 5 47 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 2 Error Code 52912 Status Codes WARNINGS 3FFA4001 Calibration expired Re calibration is recommended EERRORS BFFA4001 52912 ch init fail BFFA4002 52912 ch2 init fail BFFA4003 52912 init fail BFFA4004 Exceed power limit To set this current limit lower voltage level first BFFA4005 There is no 56V input presenting at this channel BFFA4006 U
81. red Data View __ _ Channel 2 Measured Data View Soft Front Panel On the control panel click on _stenay and after the 52912 52914 receives the necessary start trigger it will start to perform periodical measurements on channel 1 As the 52912 52914 is outputting voltages currents the LED of channel 1 in the front panel of 52912 52914 will light in green And after the 52912 52914 runs the total count of measurements times it will cease and put out the LED Ife After the LED is off you can click the ta button to view the measured data and Figure 4 25 is what you will see when clicking on the button Measured Data Type Value a Measured Data Type voltage Type 12 0 voltage Type 12 0 Voltage Type 12 0 Voltage Type 12 0 Figure 4 25 Viewing Measured Voltage Data of Example 1 Example 2 Current Measurement of Channel 2 Step1 Same as Step in Example 1 4 29 cPCI PXT 52912 52914 Programmable Power Supply User s Manual Step2 At the menu bar select Editor gt Measure to edit the attributes for this measurement set as shown in Figure 4 26 and then click on the Ok button Ga Measure Attributes Editor gt PXI2 11 INSTR Channel Select Channel1 Channel 2 Measure Attributes 1 Measure Type C Voltage Current 2 Value Set Voltage Level lt 0 48V gt 12 CurrentLevel lt 0 2A gt 2 3 Time Interval From Relay On To Output Stable
82. rivers are base on National Instruments VISA and IVI Please install NI VISA 2 6 and NI IVI 1 83 or newer version before installing 52912 52914 instrument drivers Insert the Driver CD into the CDROM drive and the following program should show up automatically Ifit does not run select Start and choose RUN Click Browse and locate the file x setup exe where X is the drive the CD is in then execute it 2 1 cPCI PXT 52912 52914 Programmable Power Supply User s Manual Chroma 52912 52914 InstallShield Wizard Welcome to the InstallShield Wizard for Chroma 52912752914 lShieldR Wizard will install Chron 52914 on your computer To continue click InstallShield Figure 2 1 Installation Menu Following the instruction of setup program to install Soft Front Panel The pre defined installation directory is C Program Files Chroma PXI 52912 Itis recommended to use this path as installation directory Please follow the prompts to complete the installation procedure Note To install the device driver on Windows 2000 or Windows NT4 you should log on as the administrator 2 3 Installing the Hardware Step 1 Make sure the chassis is powered off Step 2 Select a slot in the chassis and install the 52912 52914 PXI card carefully then secure it with the screws on the panel Step 3 Connect the A529102 Adapter with an 8 pins of terminal blocks Step 4 Power the chassis up and boot Windows 2 3 1 Device Driver In
83. ror Table repeat can t be bigger nested layer of repeat 52912 52914 than 7 at Command can only run 7 layers with overlapping a command Edit Measure Your set over power The product of voltage and current Error limit lt 60 Watts gt value is over 60 watts SFP5291214 will auto change your set value Measure Channel 1 Not Edited Please edit the measure attributes for Measure Attributes channel 1 first existed please edit Measure Attributes first Measure Channel 2 Not Edited Please edit the measure attributes for Measure Attributes channel 2 first existed please edit Measure Attributes first Configuring The Table1 is not Please use Sequencer Editor to edit Sequencer Error available please edit Table1 first Table 1 first Configuring Sequencer Error The Table2 is not available please edit Table2 first Please use Sequencer Editor to edit Table 2 first Note Table 1 or Table 2 the index of command in the table DLL Calls and Examples 5 DLL Calls and Examples 5 1 DLL Calls 5 1 1 chr52912_init ViStatus chr52912_init ViRsre resourceName ViBoolean IDQuery ViBoolean resetDevice ViPSession instrumentHandle Purpose This function performs the following initialization actions Creates a new IVI instrument driver session Opens a session to the specified device using the interface and address you specify for the Resource Name parameter If t
84. rt trigger signal the power supply starts to generate output and takes periodical measurements on the output The outputting stops as 52912 52914 takes the specified times of measurements or if the abort API is called In section 4 3 7 3 there are two simple examples showing how a sequencer table is used in the Measure Mode 3 8 Soft Front Panel 4 Soft Front Panel 4 1 Software Control Panel Features and functions of this product can be controlled via a software control panel 4 2 Block Diagram The following figure shows the flow of device operations Users rely on the application programs to control the 52912 52914 Software Control Panel Application Program Device Drive Control Device Figure 4 1 Process Flow 4 1 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 4 3 Using the Software Control Panel 4 3 1 Executing SFP5291214 To execute the application program run SFP5291214 exe under the directory destined during installation The default path for this file is C Program Files Chroma PX1 52912 bin 4 3 1 1 Starting up 52912 1 Run SFP5291214 exe or double click on the icon SFP5291214 The main screen will appear as the figure below Figure 4 2 3 A Select 52912 52914 Programmable Power Supply dialog box will also be shown as follows ioixi File View Help ce on or AJA e s EO mea Hi y pc Power Supply vjet Trigger Step Trigger Ri
85. s of NI VISA and NI IVI please refer to section 5 2 Error Code Ch1 and Ch2 Set Status Indicates the set values of current and voltage of channel 1 and channel 2 respectively Mode Indicates the current mode of operation Controller and Indicator type this type of components works either as a controller text will be in yellow or as an indicator text will be in green Il Edit 12 Edit V Edit V2 Edit Indicates the input current voltage of channel 1 and 2 while working as a controller and indicates the output current voltage of channel 1 and 2 while working as a indicator As a 52912 52914 is just powered on all of 7 Edit 12 Edit V1 Edit V2 Edit work initially as controllers After the output relay is activated 7 Edit I2 Edit V1 Edit V2 Edit will work as indicators unless manually set again For more details on Setting Voltage Current on Edit please refer to Section 4 3 4 2 Setting Voltage Current on Edits cPCI PXT 52912 52914 Programmable Power Supply User s Manual 4 3 4 2 Setting Voltage Current on Edits As a 52912 52914 is just powered on all of 77 Edit 12 Edit VI Edit V2 Edit work initially as controllers the text will be in yellow Click on Edits and then the area will become editable After entering the desired values press the button SFP5291214 will export those entries to 52912 52914 and then show the responding values the read back values in the Edits Now the values in
86. s to be obtained This warranty is in lieu of all other warranties expressed or implied and no representative or person is authorized to represent or assume for Chroma any liability in connection with the sale of our products other than set forth herein CHROMA ATE INC 43 Wu Chuan Road Wu Ku Industrial Park Wu Ku Taipei Hsien Taiwan Tel 886 2 2298 3855 Fax 886 2 2298 3596 http www chromaate com iii cPCI PXI 52912 Programmable Power Supply User s Manua Table of Contents 1 IMtrOduction csscsssecsecrsessecsesesensssesesesseessesseesssesecnsesssessssessnesseess 1 1 1 1 Product Overview sscstisceceSiscenccteatelse osevenvriapeten neve e Ei 1 1 1 2 Opening the Power Supply cccccecccescceseceseceecesecneeeeeeseeseeeereeerens 1 2 1 2 1 Opening the Package cecceseeseesceeseeeseeeeeeeeeeeeeeeeeneeeeeeeeens 1 2 1 2 2 Inspecting the Goods ccccesesseesseeeceneeeseeeeeeeeceeeeeereneeeeseenaees 1 2 1 3 Features of Programmable Power Supply ccescesseeeteeeeeseeenes 1 3 2 Drivers Installation sscccssssscssssssecsscsscccssssccssssesssssecssssssesssssssessees 2 1 2 1 Driver CDs rierren si a R O ARANEON ase i 2 1 2 2 Installing the Software enascenicniein iieis 2 1 2 3 Installing the Hardware ssseeeeesesseesesssssseseerrereessesrsrerrereessesrsererens 2 2 2 3 1 Device Driver Installation on Windows 2000 cesses 2 2 2 3 2 Device Driver Installation
87. ser s Manual Additional Notes 1 Each table must have at least the following 4 commands appearing in the order they are shown below otherwise an Command Error will appear Set Current Limit Set Voltage Level Output On End 2 Be careful of the power limit of 60 watts for each channel in 52912 52914 3 For additional notes on sequencer tables please refer to Section 5 1 11 chr52912_ConfigureSequencerTable 4 3 6 2 Using Sequencer Editor At the menu bar select Editor gt Sequencer Then a dialog box titled Sequencer Editor gt PXI board lt logical address gt INSTR will be launched as below 4 18 Soft Front Panel fa Sequencer Editor gt PXI2 11 INSTR Select Command Table _ Save Load r a Unit Cancel E eblel a wihi channel milli second 1 8388608 C micro second 100 8388608 C Table 2 Channel 1 Command Table Command Table 1 Command Type Select Channel Value Times Duty StartIndex lt Command 1 Command 2 Command 3 Command 4 Command 5 Command 6 coma EEE Commend 6 es Command 9 Command 11 Command 13 es Command 15 X Figure 4 16 Sequencer Editor There are two configurable sequencer tables Table 1 amp Table 2 Usually Table 1 is used for channel 1 and Table 2 for channel 2 respectively However it is also possible to control both channels in Table 1 Just simply
88. sing Edge z l fa Select 52912 52914 Programmable Power Supply All 52912752914 Resources Selected Card s Model_ Resource Descriptor 5291275 PXI2 11 INSTR 5291275 PX12 13 INSTR 5291275 PX12 15 INSTR Figure 4 2 Main Window 4 2 Soft Front Panel 4 3 1 2 Selecting 52912 52914 1 3 On the left hand side all 52912 52914 s detected by SFP5291214 are listed On the right hand side all 52912 52914 s selected for operations are listed Click on Add or Add All button to add card s to the list on the right or click on Remove or Remove All button to remove card s from the list on the right After all desired card s are added to the Selected Card s list click on the Open button to start up SFP5291214 with all selected card s or click on the Cancel button to enter the main program without opening any 52912 52914 You can open 52912 52914 later by clicking on the icon or by choosing File on the menu bar Open to launch the Choose 52912 52914 dialog box again All 52912 52914 Resources Selected Card s Resource Descriptor 5291 2 5 PxXl2 11 INSTR Model Resource Descriptor 5291275 PXl2 13 INSTR 5291275 PxXl2 15 INSTR Add Remove Add All gt j Remove All i Figure 4 3 Device Select 4 3 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 4 3 2 Operation Mode 4 3 2 1 Introducing Operation Mode SFP5291214 has four op
89. ss gt INSTR If you do not specify a value for an optional field the following values are used Optional Field Value board 0 secondary address none 31 The following table contains example valid values for this parameter Valid Value Description PX1 64 INSTR VXI board 0 logical address 64 PX11 64 INSTR VXI board 1 logical address 64 Default Value PXI 10 INSTR Note You specify the resource name with the VInstr gt if you have the logical name that is the same as the virtual instrument name and you want to explicitly use the virtual instrument name Otherwise the driver uses the logical name IDQuery Variable Type ViBoolean Specify whether you want the instrument driver to perform an ID Query Valid Range VI_TRUE 1 Perform ID Query Default Value VI_FALSE 0 Skip ID Query resetDevice Variable Type ViBoolean Specify whether you want the to reset the instrument during the initialization procedure DLL Calls and Examples Valid Range VI_TRUE 1 Reset Device Default Value VL FALSE 0 Don t Reset instrumentHandle Variable Type ViSession passed by reference Returns a ViSession handle that you use to identify the instrument in all subsequent instrument driver function calls Notes 1 This function creates a new session each time you invoke it This is useful if you have multiple physical instances of the same type of instrument 2 Avoid creating multiple concurre
90. stallation on Windows 2000 Step 5 Found New Hardware Wizard will show up after Windows 2000 booting Click Next gt 2 2 Step 6 Step 7 Step 8 Step 9 2 3 2 Step 5 Step 6 Step 7 Step 8 Step 9 2 3 3 Step 5 Step 6 Drivers Introduction Choose Search for a suitable driver for my device recommended Click Next gt Choose Specify a location Browse the drive path and choose C Program Files Chroma PXI 52912 inf chrni2k inf or the directory you specified in section 2 2 Click Next gt The wizard found 52912 52914 Programmable Power Supply Click Next gt Click Finish to finish device driver installation on Windows 2000 Device Driver Installation on Windows 98 Add New Hardware Wizard will show up after Windows 98 booting Click Next gt Choose Search for a best driver for your device Recommended Click Next gt Choose Specify a location Browse the drive path and choose C Program Files Chroma PXI 52912 inf chrni98 inf or the directory you specified in section 2 2 Click Next gt The wizard found 52912 52914 Programmable Power Supply Click Next gt Click Finish to finish device driver installation on Windows 98 Device Driver Installation on Windows NT4 To install chrnint4 inf file please locate the file at C Program Files Chroma PXI 52912 inf directory or the directory you specified in section 2 2 Right click the
91. sts unknown command at Command There exists unknown command at Command in Table Command Error Table There is no Output On command in the sequencer table There is no Output On command in Table This is warning you that the output of 52912 52914 won t turn the output relay on ever Command Error Table The channel selected is invalid at Command You didn t select a valid channel of column of Select Channel at Command in Table Command Error Table There is over one NonStop Repeat command in this table A Sequencer table must only hold one NonStop Repeat command in Table Command Error Table Exceed power limit To set this current limit lower voltage level first at Command Please check the power limit at Command in Table the maximum power is 60 watts Command Error Table There is no Set Current Limit command before Output On command This check is a protection for the circuit Please check whether a valid command of Set Current Limit before the Output On command in Table 4 34 Soft Front Panel Command Error Table There is no Set Voltage Level command before Output On command Please check whether a valid command of Set Voltage Level before the Output On command in Table This check is a protection for the circuit Command The nested layer of Please check your table about the Er
92. thOptions function The handle identifies a particular instrument session inState Variable Type ViBoolean passed by reference This parameter returns VI_TRUE if the power supply is currently in the state you specify with the outputState parameter and VI_ FALSE if it is not Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 20 chr52912_reset ViStatus chr52912_reset ViSession instrumentHandle Purpose This function resets the instrument to a known state and sends initialization commands to the instrument This function also clears the sequencer table in the instrument The initialization commands set instrument settings such as Headers Off Short Command form and Data Transfer Binary to the state necessary for the operation of the instrument driver Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 21 chr52912_ResetOutputProtection ViStatus chr52912_ResetOutputProtection ViSession instrumentHandle ViChar_VI_FAR channelName Purpose This f
93. the Edits are shown in green which means Edits now work as an indicator As a 52912 52914 works as an indicator if you wish to export a new set of current voltage you can again click on Edits and then two buttons _ t_ and eL will appear Note the text color will become yellow which means Edits now work as controllers After entering the new export values clicking on _ will cause SFP5291214 to export the new values to the 52912 52914 again and read back the responding values showing them in Edits Note that the text color of the values in Edits now becomes green again If you wish to discard the changes after some new values are entered just simply click on the _ _ button 4 3 4 3 The Progress of Exporting Current Voltage 1 You can use either Knobs or Edits to set up the output voltage and the current limit See Figure 4 7 E Chroma 52912 52914 lt PXI2 1 1 INSTR gt DC Power Supply Mode CH1 CH2 T Current Voltage Current Voltage os 1 12 ah os 1 12 E Pe A F yalah 5 os saa EP Z os E 32 0 4 ms 3 a 0 4 ms 3 ae T A a N o2 s yi 18 s 0 2 1 8 0 0 48 0 48 0x0 0x0 CH1 setting 2 00A 0 0 CH2 setting 2 00A 0 0 Figure 4 7 Setting Voltage Current on DC Power Supply Soft Front Panel 2 After current voltage are set click on the button to enable the output relay Then all the readings will be displayed in the Edits in the color of green See Figure 4 8
94. the channel where the measure functionality is configured Valid Channel Names chl ch2 level Variable Type ViReal64 Pass the DC voltage that the power supply is about to generate Units volts Valid Range 0 0 48 0 volts limit 5 29 cPCI PXI 52912 52914 Programmable Power Supply User s Manual Variable Type ViReal64 Pass the current limit Units amps Valid Range 0 0 2 0 amps depends on current voltage level measurementType Variable Type Vilnt32 Pass the measurement the power supply is about to take Valid Values CHR52912_ VAL MEASURE VOLTAGE DC voltage measurement CHR52912 VAL MEASURE CURRENT DC current measurement delayTb Variable Type Vilnt32 The value of delay Tb After turning on the output relay wait for a time period Tb Then the output should be stable Valid value 1 8388608 for millisecond 100 8388608 for microsecond delayTbUnit Variable Type Vilnt32 Unit of the delay Tb Valid value CHR52912_ VAL DELAY UNIT MILLI SECOND CHRS52912_ VAL DELAY UNIT MICRO SECOND delayTc Variable Type Vilnt32 The value of delay Tc Before any measurement is taken wait for a time period Tc Valid value 1 8388608 for millisecond 100 8388608 for microsecond delayTcUnit Variable Type Vilnt32 Unit of the delay Tc Valid value CHR52912_ VAL DELAY UNIT MILLI SECOND DLL Calls and Examples CHRS52912_ VAL DELAY UNIT MICRO SECOND delayTe Variable Type Vilnt32 The value of
95. tion The handle identifies a particular instrument session Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 18 chr52912_SendSoftwareTrigger ViStatus chr52912_SendSoftwareTrigger ViSession instrumentHandle Purpose This function sends a trigger signal to the 52912 Call this function if you configure the start trigger of the power supply to be software triggers If this function is called while the power supply is not configured to respond to software triggers this function will return a CHR52912_ ERROR _ TRIGGER NOT SOFTWARE error Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function DLL Calls and Examples 5 1 19 chr52912_IsWaitingTrigger ViStatus chr52912_IsWaitingTrigger ViSession instrumentHandle ViP Boolean inState Purpose This function returns the state of the 52912 It indicates if the instrument is currently waiting for a trigger signal Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWi
96. to ensure proper operations Warning messages will be given if incorrect values or misformatted inputs are given 4 3 4 4 Tool Tips and Status Bar SFP5291214 has a user friendly design for monitoring the status of 52912 52914 s Resting your mouse on the Knobs will exhibit a tool tip which tells you the current set value of current voltage See Figure 4 10 This value will be the same as the reading displayed in the status bar B Chroma 52912 52914 lt PXI2 11 INSTR gt DC Power Supply Mode Voltage 24 sde y 32 CH1 setting 1 504 35 0 CH2 setting 2 004 0 0 Figure 4 10 Tool Tips 1 4 12 Soft Front Panel If an error occurs resting your mouse on the Message Code indicator will show you a translated version of the message code shown in the indicator See Figure 4 11 Figure 4 11 Tool Tips 2 4 3 5 Introduction of DC Power Supply with Trigger Mode 52912 52914 can also wait for a trigger signal It will start to generate outputs as soon as a Start Trigger signal occurs and won t stop until a Stop Trigger signal is received 4 3 5 1 Setting Up The Triggers To activate the triggers select View gt Configure Mode Trigger Bar at the menu bar A trigger bar will then appear under the tool bar Under the Select a 52912 52914 scrollbox choose which 52912 52914 you want to manipulate Under the Select Mode scrollbox select DC Power Supply with Trigger Select th
97. try its best to remain in the programmed settings of voltage and current and stop when receiving a stop trigger signal It goes back to the stand by status and wait for the next start trigger again If you have selected the software trigger as a start trigger the button will appear Clicking on this button allows you to send a software trigger for starting and stopping 4 3 5 3 Examples 4 14 Soft Front Panel The following is an example of 52912 52914 in DC Power Supply with Triggers mode Be careful that every channel has a power limit of 60 watts therefore be aware of the actual load at the instant when 52912 52914 starts outputting Example Controlling Channel 1 and 2 with TTLO as Start Trigger and TTL7 as Stop Trigger Step 1 Step2 chroma 52912 52914 lt PXI2 11 INSTR gt At the menu bar select View gt Configure Mode Trigger Bar Choose the 52912 52914 that you want to manipulate and then under the Select Mode scrollbox select DC Power Supply with trigger Then select TTLO under the Start Trigger scrollbox followed by selecting TTL7 under the Stop Trigger scrollbox At last select the slope type of the triggers and then click on the button to confirm The appearance of soft control panel will be changed as in Figure 4 13 Enter your values of the voltage and current for each channel Select the checkbox of Channel 1 and Channel 2 Then click on the button The 52912 52914 now st
98. tual channel name Missing virtual channel name Bad virtual channel name Unassigned virtual channel name Bad virtual channel assignment Channel name required Channel name not allowed Attribute not valid for channel Attribute must be channel based Channel already excluded Missing option name nothing before the Missing option value nothing after the Bad option name Bad option value Operation only valid on a class driver session ivi ini filename is reserved Duplicate run time configuration entry Index parameter is one based Index parameter is too high Attribute is not cacheable You cannot export a ViAddr attribute to the end user BFFA0054 DLL Calls and Examples Bad channel string in channel string list BFFA0055 Bad prefix name in default configuration file VISA Status Codes WARNINGS 3FFF0002 Event enabled for one or more specified mechanisms 3FFF0003 Event disabled for one or more specified mechanisms 3FFF0004 Successful but queue already empty 3FFF0005 Specified termination character was read 3FFF0006 Number of bytes transferred equals input count 3FFF0077 Configuration non existent or could not be loaded 3FFF007D Open successful but the device not responding 3FFF0080 Wait successful but more event objects available 3FFF0082 Specified object reference is not initialized 3FFF0084 Attribute value not supported 3FFF0085 Status code could not be interpreted 3FFF0088 S
99. uments or the VXI TTL2 line for VXI instruments 6 CHR52912_ VAL TRIG _TTL3 The power supply waits for a trigger on the PXI TRIG3 line for PXI instruments or the VXI TTL3 line for VXI instruments 7 CHR52912_ VAL TRIG TTL4 The power supply waits for a trigger on the PXI TRIG4 line for PXI instruments or the VXI TTL4 line for VXI instruments 8 CHR52912_ VAL TRIG _TTL5 The power supply waits for a trigger on the PXI TRIGS line for PXI instruments or the VXI TTLS line for VXI instruments 5 15 cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 16 9 CHR52912_ VAL TRIG TTL6 The power supply waits for a trigger on the PXI TRIG6 line for PXI instruments or the VXI TTL6 line for VXI instruments 10 CHR52912_ VAL TRIG TTL7 The power supply waits for a trigger on the PXI TRIG7 line for PXI instruments or the VXI TTL7 line for VXI instruments stopSource Variable Type Vilnt32 Pass the stop trigger source that the power supply will wait for before stopping The driver will set the CHR52912_ATTR_ STOP TRIGGER SOURCE attribute to this given value Defined Values CHR52912_VAL_TRIG NONE No Trigger CHR52912_ VAL TRIG EXTERNAL External CHR52912_ VAL SOFTWARE TRIG Software Trigger Default CHR52912_VAL_TRIG_TTLO PXI TRIGO or VXI TTLO CHR52912_ VAL TRIG TTL1 PXI TRIGI or VXI TTL1 CHR52912_ VAL TRIG TTL2 PXI TRIG2 or VXI TTL2 CHR52912_ VAL TRIG TTL3 PXI TRIG3 or VXI TTL3 CHR5
100. unction resets the power supply s output protection after an over voltage over temperature or other output protection condition occurs When an over voltage or over temperature condition occurs the output protection of the power supply disables the output This function calls the chr52912_reset function to reset output protection After the output protection is reset the power supply resumes generating a power signal only on the channel you specified You use the chr52912_error_query or chr52912 QueryOutputState function to determine if the power supply is in an output protection state Parameter List instrumentHandle Variable Type ViSession The ViSession handle that you obtain from the chr52912_ init or chr52912_ InitWithOptions function The handle identifies a particular instrument session channelName Variable Type ViChar Pass the name of the channel you want to reset Valid Channel Names chl ch2 Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 22 chr52912_error_message ViStatus chr52912_error_message ViSession instrumentHandle ViStatus errorCode ViChar _VI_FAR errorMessage Purpose This function converts a status code returned by an instrument driver function into a user readable string Parameter List instrumentHandle Variable Type ViSession Th
101. ure 3 2 Chroma 52912 Channel 1 Channel 2 Command 11 Command 21 Command 12 Command 22 Measure table 1 Measure table 2 Data 11 Figure 3 2 the concept of sequencer tables and Measure tables There are ten commands you can utilize to configure the Sequencer table Refer to section 5 1 11 chr52912_ConfigureSequencertable for details on these commands The Sequencer tables can be configured and activated separately or they can also be activated simultaneously via the trigger events Ifthe command which takes measurement of the voltage or current on the channel appears anywhere in the sequencer table the measured values will be stored in the corresponding Measure table For instance the measured value for channel 1 will be stored in the Measure table belonging to channel 1 3 5 cPCI PXT 52912 52914 Programmable Power Supply User s Manual Initialize A Initialize Stage InitWithOptions PIENE ETI E AE CETTE a a a i al a Se seen be a ee B Configure Operation Mode te Y F Y Y i Y be c Configure R G Configure Configure j I Configure Voltage Level i f Triggered Outpul Sequencer Table Measure Configuration i a y id H Configure i H Stage i i i g Current Limit With Trigger With rigger With Trigger bE PiS Configure i Configure ii 1 i Output E
102. ured data that the power supply will acquire If the total number of data in the power supply is not equal to the number you request this argument will be set to be the actual number of data in the power supply when returned measuredData Variable Type MEASURED DATA An array that consisted of MEASURED _ DATA structure This structure is defined in the chr52912 h struct definition amp member variables description typedef struct tagMeasuredData Vilnt32 index DLL Calls and Examples Vilnt32 measurementDataType ViReal64 measured Value MEASURED DATA index A zero based index indicates the time order of the measured data measurementDataType Indicate whether the data is voltage or current current 0 voltage 1 measured Value The measured value Return Value If the function succeeds status code is 0 To obtain a text description of the status code call the chr52912_error_message function cPCI PXT 52912 52914 Programmable Power Supply User s Manual 5 1 16 chr52912_Initiate ViStatus chr52912_ Initiate ViSession instrumentHandle Vilnt32 channel select Purpose This function makes the power supply wait for a trigger After this function is called if the power supply is not currently waiting for a trigger it will wait for the trigger you specify via the chr52912_ConfigureTriggerSource function After the power supply detects the specified trigger it will start to run the sequencer table
103. us error code 1 byte bit 7 6 5 4 3 2 1 0 sratus Me a Ciz oie eee a el nl error OVP OTP j OVP OTP Input Input Input Input Return Value Status code 0 is for success To obtain a text description of the status code call the chr52912_error_message function 5 41 cPCI PXI 52912 52914 Programmable Power Supply User s Manual 5 1 24 chr52912_QueryOutputState ViStatus chr52912_QueryOutputState ViSession instrumentHandle ViChar _VI_FAR channelName Vilnt32 outputState ViP Boolean inState Purpose This function returns whether the power supply is in a particular output state A constant voltage condition occurs when the output voltage is equal to the value of the CHR52912_ATTR VOLTAGE LEVEL attribute and the current is less than or equal to the value of the CHR52912_ATTR_ CURRENT LIMIT attribute A constant current condition occurs when the output current is equal to the value of the CHR52912_ATTR_ CURRENT LIMIT attribute and the CHR52912_ATTR_CURRENT LIMIT BEHAVIOR attribute is set to CHR52912_ VAL CURRENT REGULATE An unregulated condition occurs when the output voltage is less than the value of the CHR52912_ATTR_ VOLTAGE LEVEL attribute and the current is less than the value of the CHR52912_ ATTR_ CURRENT LIMIT attribute An over voltage condition occurs when the output voltage is equal to or greater than the value of the CHR52912_ATTR_OVP_LIMIT attribute and the CHR52912_ ATT
104. ys For greater power or voltage applications channels maybe used in parallel an optional front panel mounted adapter module also available Input Power To avoid excess power draw from the PXI backplane the 52912 draws input power 56VDC via front panel connections This approach not only minimizes power required from the backplane but also maintains complete isolation between backplane logic and power conversion circuitry for noise immunity Chroma provides an optional AC DC adapter A529102 which allows the instrument to be operated from 115VAC 220VAC mains Compliant to PXI and cPCI Standards The 52912 52914 power supply cards comply with the latest PXI Revision 1 0 specifications of the PXI System Alliance PXISA as well as the CompactPCI specifications as defined by the PCI Industrial Computer Manufacturing Group PICMG Thus the 52912 52914 maybe be used in either PXI or CompactPCI mainframes 1 1 cPCI PXI 52912 52914 Programmable Power Supply User s Manual Conclusion If you have selected PXI or cPCI for your next generation of ATE considering taking full advantage of its benefits by eliminating antiquated rack and stack chassis and replacing them with embedded power supplies The end result will be a more fully integrated system which is fast elegant and cost effective 1 2 Opening the Power Supply 1 2 1 Opening the Package Open the 52912 52914 Programmable Power Supply package carefully and inspect if all har
Download Pdf Manuals
Related Search
Related Contents
Chap-2010B-Alimentation Gestion moteur OmniMount OC40FM flat panel wall mount Manual Técnico Sika (Sika Technicians Handbook) Réglage des culbuteurs NTS 30 W 5-12 slim EuP 4A NTS 40 W 12-24 slim Agriculture biologique : mode d`emploi TDN 取扱説明書制作お見積りに関して Black Box DP-C262 C322 All in One Printer User Manual Samsung S23B550V Kasutusjuhend Copyright © All rights reserved.
Failed to retrieve file