Home
Data sheet
Contents
1. frequency 50Hz of signal are sending Next the U1 channel is enabling for harmonics and turning in to the operate mode The U1 voltage is generating the harmonics signal as long as the STOP button is not pressed If the STOP button is pressed connection with the calibrator is closing and calibrator is going to automatically turning of all outputs in to the standby state For harmonics defined in the Harmonics table output U1 voltage should have shape like on the picture below Oscilloscope Amplitude or an 180 270 360 Phase T 4 2 Automatic characteristics for voltage meter For presenting how to perform measurement of electronic equipments characteristics three example projects can be helpful All examples realized the same task but the ways how the measured points are determining are different C300 LabView Driver User s Manual 16 Calmet C300 Simplel ChVoltageTestProcedureByNumber vi First way 1s taking to characteristic constant number of measurement points from specific range of measured voltage Serial port name COMI Start voltage V i End voltage V 200 Measured volta _ Number of steps Ep gt sess FP Step V li Current voltage V di STOP Measured voltage vs voltage setting u 140 0 l 0 0 50 0 100 0 150 0 Voltage setting V c 2010 Calmet ALL RIGHTS RESERVED Calmet C300 SimplelChVoltageTestProcedureByStep vi Second way 1s ta
2. Harmonics vi example how to use this function 3 5 3 SetHarmonics vi Instance im Instance out Channel Harmonics error in no error error out Enables disables channel harmonics Before calling this VI you need to upload harmonics calling UploadHarmonics vi to calibrator s buffer and call SetChannelHarmonics vi to copy uploaded signal shape to the channel Then you can enable or disable channel harmonics The Channel Harmonics input is an cluster of Boolean variables represents U1 U2 U3 I1 I2 I3 channel where TRUE means that channel use its harmonics shape and FALSE that use default sinusoidal shape See Calmet C300 Harmonics vi example how to use this function 3 6 Photohead 3 6 1 StartPhotoheadImpulseCounter vi Instance in Instance out error in no error START error out Starts the photohead impulse counter You can read impulse counter values number time status by calling Get mpulseCounter Values vi 3 6 2 StartPhotoheadImpulseByNumber vi Instance in T Instance out Number of impulses l TART error out Timeout ms error in no error Start the photohead impulse counter to count a given number of impulses Vumber of impulses input and start counting a time in milliseconds from first to last impulse counted You can read impulse counter time and status by calling GetImpulseCounter Values vi Timeout input set the maximum time in milliseconds between counted impulses C300 LabView Dri
3. LabVIEW Driver for C300 Power Calibrator C al m ef Three Phase Source and Automatic Tester C 3 0 0 LabVIEW DRIVER FOR THREE PHASE POWER CALIBRATOR AND POWER ENGINEERING APPARATUS TESTER type C300 USER S MANUAL calmet Ltd POLAND 65 472 ZIELONA GORA Kukulcza 18 tel 48 68 324 04 56 fax 48 68 324 04 57 e mail mail calmet com pl internet www calmet com pl 2011 02 C300 LabView Driver user manual C300 LabView Driver User s Manual CONTENTS Lek ie ld OR Ap PC AOU nececuicesne chcnsaiiee nc E 2 Driver ANS CAN ANON a anos 2 Ag OYSteNl FEQUITEMENILS dais 2 2 MSTalatOn Process ip na on e A A A ARTE Ay Aes canard ncaa yan ue ahaa un aed E ae ena ne haan edie ROS Va o ee ee eee ee ee eee Oe lel O O 3 0 PHOLONCAG escitas A OTE a N E 00 0 ois a eo ee E I ee 4 1 Generating a harmonics signals ccccee cece eee e cece cece eee e noes 4 2 Automatic characteristics for voltage meter ccc cece cece ee ees C300 LabView Driver User s Manual 3 1 FIELD OF APPLICATION This document is an user manual of LabVIEW driver for Calibrator C300 designed by Calmet Ltd Document described driver installation process functions included into the driver and examples of use the driver in application 2 DRIVER INSTALLATION 2 1 System requirements Driver was written for National Instruments LabView 2009 program For communication with the calibrator driver use dedicated DLL libr
4. ary CalmetC300 dll which was created in Microsoft Net 2 0 platform and for using the driver user have to install Microsoft Net 2 0 Framework It can be downloaded from Microsoft Download Center site http www microsoft com downloads en default aspx 2 2 Installation process Driver is distributed in a ZIP archive All files from archive should be copied in to instr lib catalog in LabVIEW program localization Default localization is C Program Files National Instruments LabVIEW 2009 instr lib Driver is automatically added by the LabVIEW when it is starting In the functions palette it is localized in Express Output Instr Drivers Calmet C300 directory C300 LabView Driver User s Manual 4 3 FUNCTIONS Each function has an error in input and error out output that can be used to handle errors if they occur during program execution 3 1 Tree vi The VI Tree displays all the user callable VIs of the instrument driver in an organized table 3 2 Initialize vi Serial port name Instance out error in no error IHITIALIZE error out Before calling any function provided by the driver it must to establish connection with the C300 calibrator by the nitialize vi calling subroutine Required parameter is the name of the serial port to be used for communication with the calibrator such as COM or other serial ports Serial port name Serial port name After initializing the calibrator in the Instance out of the te
5. for a given channel It also provides information about measurements units The ADC Input can be one of the following values O RANGE 10V_ DC l RANGE 20mA DC 2 RANGE 10V AC 3 RANGE 100mA AC 4 RANGE 5A AC C300 LabView Driver User s Manual 10 ADC Input ADC Value ADC Input TRANG E 10V DC lt RANGE 10V DC RANGE 20mA DC RANGE 10V_AC RANGE 100mA_AC RANGE 54 AC ADC Value cluster of 2 elements Value single 32 bit real 6 digit precision Units string 3 5 Harmonics 3 5 1 Upload Harmonics vi Instance in Instance out Harmonics P error out error in no error Uploads a new harmonics shape to the calibrators buffer This shape can be copied from buffer to the shape memory of individual calibrator outputs by the SetChannelHarmonics vi function The Harmonics input expect an array of clusters with number relative amplitude and angle of harmonics See Calmet C300 Harmonics vi example how to use this function 3 5 2 SetChannelHarmonics vi Instance in Instance out make CHAHHE error out error in no error Sets channel harmonics signal shape based on a shape uploaded to calibrator s buffer Before calling this VI you must upload harmonics to the calibrator s buffer by calling UploadHarmonics vi The Channel input can be one of the following values 0 DEFAULT SIN 1 Ul 2 U2 3 U3 4 Tl C300 LabView Driver User s Manual 11 5 P 6 13 See Calmet C300
6. g Get mpulseCounter Values vi C300 LabView Driver User s Manual 13 3 7 Utilities 3 7 1 GetCalibratorInfo vi Instance in Instance out y PA Calibrator Info error in no error error out Gets the calibrator s description like firmware version and serial number 3 7 2 VoltageRangeChangeNeeded vi Voltage ranges cm eoa loo Mew voltage ranges Voltages A la Y ny de Change to higher needed Change to lower needed This VI provides information if a voltage range change is needed It also computes the new voltage ranges Voltage ranges terminal input must be connected to the actual voltage ranges of the calibrator and the Voltages input must be connected to voltages value demand If there is a need of voltage range change to higher on any channel the Change to higher needed Boolean TRUE signal 1s asserted If it 1s possible to switch voltage range to lower on any channel the Change to lower needed Boolean TRUE signal is asserted Calculated voltage ranges from New voltage ranges output are always optimal and can be send to the calibrator by using SetVoltageRanges vi function 3 7 3 CurrentRangeChangeNeeded vi Actual current ranges A New current ranges Currents gt Change to higher needed gt Change to lower needed This VI provides information if a current range change is needed It also computes the new current ranges Actual current ranges terminal input must be connected to the actual cu
7. king to characteristic measurement points calculated with constant step of voltage defined by user Number of steps l 11 Current voltage V 11 1100 Measured voltage vs voltage setting Plot 0 Measured voltage V l l l l l 0 0 20 0 400 60 0 80 0 100 0 Voltage setting V c 2010 Calmet ALL RIGHTS RESERVED C300 LabView Driver User s Manual 17 Calmet C300 Simplel ChVoltageTestProcedureByTable vi Last presented way is taking to characteristic measurement points defined bay user in table Seriat port name Test points Iv Plcom to i H a a as A mn ule ee ofa a Ss 0 VIE Ln SS Number of steps CC J 0 Current voltage V 500 0 I i l l l 100 0 200 0 3000 4000 500 0 STOP Voltage setting V 2010 Calmet ALL RIGHTS RESERVED sae For use example programs in real measurement system user have to use a virtual instrument which takes one measurement from Device Under Test Virtual instrument created by user should be placed instead of DUT in example program It is necessary to initialize DUT instrument before for loop in program and closing communication with DUT after for loop JODODODODOODOODOODOOOODOODOOOOCDOOOOOODO OE Stop bee
8. oolean TRUE or FALSE B Standby boolean TRUE or FALSE 3 4 9 GetStandbyOperate vi Instance in error in no error Instance out Standby Operate error out Gets the calibrator s standby operate state for each output channel Boolean TRUE means that output channel is turned off Standby and Boolean FALSE that output is turned on Operate Standby Operate cluster of 6 elements UI Standby boolean TRUE or FALSE UZ Standby boolean TRUE or FALSE US Standby boolean TRUE or FALSE fi Standby boolean TRUE or FALSE I Standby boolean TRUE or FALSE E Standby boolean TRUE or FALSE C300 LabView Driver User s Manual 3 4 10 GetStandbyOperateFrequency vi Instance in Instance out fa Standby Operate error in no error i error out Gets the calibrator s standby operate state for each output channel and power network frequency measurement from calibrator s internal frequency meter Standby Operate STE FR Standby Operate cluster of 6 elements U Standby boolean TRUE or FALSE U2 Standby boolean TRUE or FALSE U3 Standby boolean TRUE or FALSE I Standby boolean TRUE or FALSE L Standby boolean TRUE or FALSE B Standby boolean TRUE or FALSE 0 F Hz single 32 bit real 6 digit precision 3 4 11 GetADC Value vi Instance out ADC Value error out Instance in ADC Input error in no error Gets the measurement from internal ADC
9. rminal the handle of calibrator connection is available It must be used by all subsequent sub controllers used 3 3 Close vi Instance in kabe error in no error error out Function Close vi must be used for terminate the connection in any program where C300 driver was used Instance in input must be connected with handle from Jnitialize vi program C300 LabView Driver User s Manual 3 4 Basic functions 3 4 1 SetVoltageRanges vi error in no error Sets the voltage range for each voltage output channel The Voltage Ranges can be one of the following values 1 60V 2 130V 3 250V 4 500V Voltage Ranges 3 4 2 SetVoltages vi Voltages cluster of 3 elements Esj U1 V single 32 bit real 6 digit precision U2 V single 32 bit real 6 digit precision U5 V single 32 bit real 6 digit precision C300 LabView Driver User s Manual 6 3 4 3 SetCurrentRanges vi Sets the current range for each current output channel The Current Ranges can be one of the following values 1 0 5A 2 6A 3 20A 4 120A Instance in Current Ranges error in no error 1004 3 4 4 SetCurrents vi Instance in Currents error in no error Instance out error out Sets the current for each current output channels Currents A single 52 bit real 6 digit precision B A single 52 bit real 6 digit preciston 3 4 5 SetPhaseAngle
10. rrent ranges of the calibrator and the Currents input must be connected to currents value demand If there is a need of current range change to higher on any channel the Change to higher needed Boolean TRUE signal is asserted If it is possible to switch current range to lower on any channel the Change to lower needed Boolean TRUE signal is asserted C300 LabView Driver User s Manual 14 Calculated current ranges from New current ranges output are always optimal and can be send to the calibrator by using SetCurrentRanges vi function 3 7 4 SampleDUT VoltageMeter vi Input Voltage Measured value OUT This is fake Device Under Test DUT provided only for driver testing purpose It emulates a simple voltage meter with an measurement error 4 EXAMPLES Examples for applications with C300 driver are placed in Examples folder of driver 4 1 Generating a harmonics signals Calmet C300 Harmonics vi program demonstrate how to use LabVIEW C300 Driver to generate simple voltage with harmonics shape a Harmonics one Me FF E ds Tn 1 z do Eb C300 LabView Driver User s Manual 15 Program is going to connect with the calibrator by the COM serial port The harmonics shape defined in control table Harmonics is sending to the shape buffer and then copping to the U1 channel shape memory After that the voltage ranges 60V values of voltages from Voltages table 10V for U1 and the base
11. s vi Setting the phase angles and angles between voltages C300 LabView Driver User s Manual Phase Angles Phase Angles cluster of 5 elements UII Angle single 32 bit real 6 digit precision UZ Angle single 32 bit real 6 digit precision USE Angle single 32 bit real 6 digit precision UIU Angle single 32 bit real 6 digit precision UIUS Angle single 52 bit real 6 digit precision 3 4 6 SetFrequency vi Instance in Instance out eee aros error in no error Setting the frequency of the output signal F Hz F Hz single 32 bit real 6 digit precision 3 4 7 SynchronizeFrequency vi Instance in EE Instance out error in no error error out Enable frequency synchronization with the power network For disable the synchronization just send the new frequency by the SetFrequency vi function 3 4 8 SetStanbyOperateState vi Instance in Instance out Standby Operate State error in no error error out Sets the calibrator s standby operate state for each output channel C300 LabView Driver User s Manual 8 Boolean TRUE means that output channel is turned off Standby and Boolean FALSE that output is turned on Operate Standby Operate State Standby Operate State cluster of 6 elements U1 Standby boolean TRUE or FALSE U2 Standby boolean TRUE or FALSE U3 Standby boolean TRUE or FALSE U Standby boolean TRUE or FALSE Standby b
12. ver User s Manual 12 3 6 3 StartPhotoheadImpulseByTime vi Instance in 7 Instance out Counting time ms g START error out Timeout ms error in no error Start the photohead impulse counter to count the impulses in a given time in milliseconds Counting time input You can read impulse counter time and status by calling Get mpulseCounter Values vi Timeout input set the maximum time in milliseconds between counted impulses 3 6 4 GetImpulseCounterValues vi Instance out ta Impulse Counter Values Impulse Counter Status error out Instance in error in no error Gets the photohead Impulse counter values such as number of counted impulses measured time in milliseconds from 1 to last impulse counted internal time in milliseconds of the test procedure and Impulse Counter Status The Impulse Counter Status output can be one of the following values 0 NOT READY procedure is not finished yet Impulse Counter Values are temporary 1 READY procedure is finished 2 ERROR timeout error occurs Remember that if you want to correctly calculate the electricity meter error of full n turns of the rotor disc you must count n impulses 3 6 5 StopPhotoheadImpulseCounter vi Instance in Instance out error in no error STOF error out Stops the photohead impulse counter Function stops photoheads impulses counting and procedure time measurement You can read impulse counter time and status by callin
Download Pdf Manuals
Related Search
Related Contents
窓編 はじめての建材選びガイド PixelLine 1044 Manual Thomson 27" LCD TV Hi-Pix Philips LCD monitor with LED backlight 220V3LAB Interquartz 98390K telephone Skuttle Indoor Air Quality Products 2100 Humidifier User Manual HP PhotoSmart M407 User's Manual CandleQuote User Guide 2.1 デウォルト電動工具 取扱説明書 DC900K 36V充電式 振動/ドリル User`s manual Copyright © All rights reserved.
Failed to retrieve file