Omega Speaker Systems LCIC-WIM-BEN manual Filters, Parameter that needs no change

Page 44

4.3.3 Filters

Set_Filtering(Filter1, Filter2, Decimator)

Filter1 (Integer): 2 – 256 or 0.

Filter2 (Integer): 2 – 256 or 0.

Decimator (long): 1 – 1000 or 0.

(Refer to the ‘Filtering’ square in the variables table above.)

Set_Filtering supplies a faster way to change the filtering parameters when more that one of them has to be changed, as the change operation causes board reset which is time consuming; individual activations of Set_Variable would require this time more than once. Specify ‘0’ for a

parameter that needs no change.

For example, in order to set Filter1, Filter2 & Decimator to 11, 22 & 33, respectively, apply Set_Filtering(11, 22, 33). Now in order to change Filter1 & Filter2 to 10 & 20, respectively, and leave Decimator unchanged, apply Set_Filtering(10, 20, 0). Finally, in order to leave both Filter1 & Decimator unchanged and set Filter2 to 2, apply either Set_Filtering(0, 2, 0), or Set_Variable(wFilter2, 2).

Get_Filtering(Filter1, Filter2, Decimator)

Filter1 (Integer): 2 – 256.

Filter2 (Integer): 2 – 256.

Decimator (long): 1 – 1000.

(Refer to the ‘Filtering’ square in the variables table above.)

The Get_Filtering is functionally equivalent to Filter1 = Get_Variable(rFilter1)

Filter2 = Get_Variable(rFilter2) Decimator = Get_Variable(rDecimator)

and has no time advantage, as the get operation does not cause board reset; the Get_Filtering function has been supplied just for symmetry with Set_Filtering.

43

Image 44
Contents LCIC-WIM-BEN Servicing North America Table of Contents Programming your Application Appendices O & the LED DisplayTrouble-shooting Typical Applications IntroductionGeneral Description Installing the board in the PC Page After a while, you’ll have this display Click ‘Finish’ Setup & Running Run the setups of the LCIC-WIM utilities in the foldersUtilities Run a utilityCalibration Utility GeneralThree stages are Show Data step Pseudo Calibration stepsFive calibration steps are Page Page Page Page Save RestoreCalibrations Library Parameters Calibration Efficiency CE Settings Utility Menu BarTools / Analog Output Tools / Baud Rate for SCI port Tools / General Setpoints  The address setting takes effect only upon board reset CommunicationPort Baud RateGet results immediately Auto Zero ActivateMax Zero Min ZeroPage Filling Definition FilteringFilter1 Filter2 Decimator Commands Programming your ApplicationGet a single reading RS485 Address selection, setting & reading Misc Summary of Weight & A/D Reading Commands Parameters Parameter Parameter Description Data Number TypeBecomes effective only after a system reset either Calibration Name 32 characters max LCIC-WIM ActiveX Start/Stop CommunicationVariables GetVariablerVariable NameVariables Table Category Variable Name Description Get SetVariables Table cont’d AnalogOutputM = Manual, 1 = Auto Internal updates there will be a Filters Parameter that needs no changeFast Mode FilteringLevel IntegerTransmission sends blocks of information Stage How to work with the Fast Mode in VB using the ActiveX Misc Interpreting the data in a blockAppendix a I/O & the LED Display General Notes about the I/ODigital Inputs Analog OutputPin Function ConnectionsConnecting External Devices to the Inputs LCIC-WIM I/O & Analog Out LED Display Appendix B Scaling the Load Cell Input Appendix C Load Cell Connections Appendix D USB, RS232 & RS485 Communication ParametersBaud Rate RS485 RS485 Commands Activate address x x=1, 2, 3, …, 62, 63Page Hello Read the RS485 address of the active board Set the specified RS485 addressRS485 Responses Examples Page Page Board selection by the supplied utilities Appendix E Fill Mode IntroductionInput #1 Input #2 Input #3 Input #4 Special ModeHardware Inputs Hardware Outputs Output #1 Output #2 Output #3 Output #4Filling By Weight Filling By = WeightFilling Parameters TimeAuto Correction Averaging x last fillings Auto Tare ActivateHi Limit Lo LimitValid Limits ± … % Valid Results LimitsStart from filling # … Stabilization Criterion Tare & Stop Stabilization Criterion Stop Fast Speed ConfigFilling By = Time Filling Configurations Library Scale of the displayed weight LED Display Notations# 1 A= 40.99 Tr= 6.65 Cv= 0.00 Ft= 7527 ms St= 2554 ms Cc= Get current status small ‘s’ Response Example Error Codes Appendix F Specifications Load Cell InputAppendix G Trouble-shooting Card does not respond after PC power-onManual Zero Appendix H Zero & TareZero function Auto-Tarefunction ParameterWARRANTY/DISCLAIMER Temperature