RSRC LVINLBVWxA X@ (L\fLf. df. LPf<D Xfe1$ffAPS UPC interface.vie4 f pE"AsPۗwջi3 ʕLVINAPS UPC interface.viLVINRead Characters From File.vi  $@2file path (dialog if empty)"@number of characters (all:-1)&@ start of read offset (chars.: 0)@!convert eol? (no:F).@2%new file path (NotAPath if cancelled)@0character string @!EOF?@mark after read (chars.)PTH0:Utilityfile.llbRead Characters From File.vittP @0UPS FlexEvent String@UPS FlexEvent Code@2Path for pwrchute.logPT`$vP"@P@flg@oRt@eofudfP2Path for pwrchute.log p2dfd P2exd P2txd P2oldpP"@P@flg@oRt@eofudfP0Last text line: p0dfd P0exd P0txd P0old P``P"@P@flg@oRt@eofudfPUPS FlexEvent CodepdfdPexdPtxdPold P" P@@VP"@P@flg@oRt@eofudfP FlexEventpdfdPexdPtxdPold`vP"@P@flg@oRt@eofudfP0UPS FlexEvent String p0dfd P0exd P0txd P0old  0 0 `lengthV P$@P@0P@ P@@@@0String4`@@0StringArray of FlexEvent Texts< P@@@ @Numeric``0String0`@ @NumericArray of FlexEvent Codes` 0@UPS FlexEvent Code@ FlexEvent@0String@0String@index of element!`@offset past number000@offset past match0@offset past match00@0character string`.@2%new file path (NotAPath if cancelled) @!EOF?`@mark after read (chars.)@2 appended path"@number of characters (all:-1)&@ start of read offset (chars.: 0)@!convert eol? (no:F)`"@2Path for pwrchute.log`@` 0 0` `$ ` ` `$ ` ` `$ ` ` `$ ` ` `$ ` ` ```PTH0c_etsapc . pwrchute.log ..Lost communication with UPSUPS Output OverloadUPS Self-Test FailedUPS battery is dischargedComm lost while on batteryCheck Smart Cell SignalUPS on Bypass: FailureBase Module Fan FailureBae Power Supply FailureBattery needs replacingAmbient Temp out of rangeHumidity out of rangeAbnormal Position: Contact 1Abnormal Position: Contact 2Abnormal Position: Contact 3Abnormal Position: Contact 4Max Internal Temp ExceededUPS on BatterySystem Shutdown CompleteUPS enabling SmartBoostLow Battery ConditionRun Time Calibration AbortedUPS enabling SmartTrimUPS on Bypass: MaintenancePowerChute PLUS StartedPowerChute PLUS StoppedCommunication EstablishedUtility Power RestoredUPS Self-Test PassedAdministrative ShutdownShutdown CancelledReturn from Low BatteryUPS Battery ReplacedOverload Condition SolvedRun Time Calibration StartedRun Time Calibration FinishedSystem Shutdown StartingUPS Return from BypassSmart Cell Signal ReturnedPosition Normal for Contact 1Position Normal for Contact 2Position Normal for Contact 3Position Normal for Contact 4Ambient Temp. In RangeHumidity in RangeUPS Internal Temp. in Bounds. Comms. error.    ! " #LMN` ` F:\Projects\lv51\lvsource\gencode.cGenRangeCheckF:\Projects\lv51\lvsource\gencode.cGenCopyProcs1F:\Projects\lv51\lvsource\gencode.cGenCopyProcs2$F:\Projects\lv51\lvsource\gencode.cGenCopyProcs3nF:\Projects\lv51\lvsource\gencode.cGenDefaultProc$0<DP\lx~^VIDSAPS UPC interface.viVIDSRead Characters From File.vipPTH0(2.1Oldest compatible BridgeVIEW.f,ffHfPpPPP@2Path for pwrchute.log@0Last text line:@UPS FlexEvent Code@ FlexEvent@0UPS FlexEvent StringAPC UPS interface. This subVI reads the pwerchut.log file from the directory specified and decodes the last entry to reveal the FlexEvent Code and corresponding text. PowerChute Plus must be running and logging enabled for the log file to be updated. It is recommended that the size of the powerchute log file is limited to approximately 100k max for rapid response from this VI. Note that not all FlexEvents are available with all models of UPS. See the PowerChute Manual fo details. This VI (c) Warwick Technology Limited 1999. 11`Q!!Aρ݁ϝ3<333033033333030330333330333303003303330333033++++++++++++++++##+++++++++++++++##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++##########################################################################################hDTHPDLf88`g~.@2Path for pwrchute.log&@2 appended path0"@2 base path$  $@2file path (dialog if empty)"@number of characters (all:-1)&@ start of read offset (chars.: 0)@!convert eol? (no:F).@2%new file path (NotAPath if cancelled)@0character string @!EOF?@mark after read (chars.)0$@2file path (dialog if empty)2"@number of characters (all:-1)6&@ start of read offset (chars.: 0)$@!convert eol? (no:F)>.@2%new file path (NotAPath if cancelled)*@0character string @!EOF?.@mark after read (chars.)@4@@@0StringArray of FlexEvent Texts@0String @length(@0regular expression&@offset past match.@0UPS FlexEvent String&@index of element$@0Last text line:<0@@ @NumericArray of FlexEvent Codes!@ FlexEvent$@offset past number$@UPS FlexEvent Code @Numeric\R,@,,`(L,D,`D`,,,x,,,,`,,,,,DxD,,8tt,88D cD"4`L64aL6APC UPS Log File reader`D!%.!&. UPS FlexEvent StringLD2+F82,B8UD#0#0  FlexEventM7D7D0H$0g6Gv6Cv^D&' UPS FlexEvent CodePD(])]3000[D%d&d Last text line:LD+u,uaDd%qd&q Path for pwrchute.logWDw/w0 c:\_ets\apcgD()Code not found in code listRDqrStringXDN"O" Comms. errordD-.Array of FlexEvent TextsMD))0RD0L1LStringgD34Lost communication with UPSREab True hDpt}pu}Read Characters From File.viHDhg`m|`m|XD KK pwrchute.logHDeSC`SD`RDo*|Ho+|HlengthMD@GAG4HDTgHDDgv_v`ND4A4A-1HD g__dD !Array of FlexEvent CodesMD  0SD#K$KNumericPD$M%M3000.Lost communication with UPSUPS Output OverloadUPS Self-Test FailedUPS battery is dischargedComm lost while on batteryCheck Smart Cell SignalUPS on Bypass: FailureBase Module Fan FailureBae Power Supply FailureBattery needs replacingAmbient Temp out of rangeHunidity out of rangeAbnormal Position: Contact 1Abnormal Position: Contact 2Abnormal Position: Contact 3Abnormal Position: Contact 4Max Internal Temp ExceededUPS on BatterySystem Shutdown CompleteUPS enabling SmartBoostLow Battery ConditionRun Time Calibration AbortedUPS enabling SmartTrimUPS on Bypass: MaintenancePowerChute PLUS StartedPowerChute PLUS StoppedCommunication EstablishedUtility Power RestoredUPS Self-Test PassedAdministrative ShutdownShutdown CancelledReturn from Low BatteryUPS Battery ReplacedOverload Condition SolvedRun Time Calibration StartedRun Time Calibration FinishedSystem Shutdown StartingUPS Return from BypassSmart Cell Signal ReturnedPosition Normal for Contact 1Position Normal for Contact 2Position Normal for Contact 3Position Normal for Contact 4Ambient Temp in RangeHumidity in RangeUPS Internal Temp in Bounds$FPHPAPS UPC interface.vi FPHPD f88  ~ f h> fLf)fB<$ XL,X . , `X< (X `0 .P4 3_M7, 0 R0 T04|.4QX $I;3 $X4 F  $/, 4 6 1*G9, p 7+ 1&G(1&G(1&G(0  /$I;0(A<|,PW "II@n$T4 F<"1, 4 J< 6E, < 2< 5Hw, 8g0  2</;xB0  <4I0Jl|,X@P%8K@d(`H4 F %- 4  6 '^, @ : @ %p p l@ :  %ookH : '-0'0'/(.)-*0  %`0 :D |)l4 Q$x89 X 04 F $e- 4 6 *v- p 7+ &(&(&(0  $x0   $ |'4 [ `c$   , ` 4 F  c$r- 4 6 v. - p 6 +  x&, qx&, qx&, r0  t$ 7|  X      ` ,<` ^BDHPAPS UPC interface.viLVINRead Characters From File.vi PTH0CBDHPD\f88CC~ fC,=$g\f)qY36)><,'@3 l..- l ,,X*`Tp))l (\%'4/&FQp$ l5#\40l?,A6p l6D'440lx@6A;p$ l740lG,61pX,LRL h @@5 #\ @@7x @@4, x,,,|x H4 '0,X B #\0.<=2>8 h Bx0->X  @5,2$4QJ$X0t4 J$ p4 2$ M#0 $ J$ B, 0-\ 4l0l , l $<D M)m X L , @, L00E |M ]U , @ 20E ])me @ 0E D M(]$U   0 ,  $ B  #\ B x @ , D0, pP , $HR D  / $ $ h 4 F  ,@Pv B4* dRA  84 v $ *@ 6 $ @hhh@ 6 $ ggg0 _ $ *0 W   ,0 w  /l0 U ,4Q /,QH|4 J  /M4 2 20  / B ,,,4`0\,U@U } $ ,4 0e 4$U@ $   <$1P 4` 4/@m `0  740 5`  %40 6  8P%40 80  44440 <4/4}$X( 8xD40FX #40E H$ 40|D}( %40C} 3h`40LB}4/Qqw  `3h`40`aqiw `9< 40`pQaYw ` l40`QaYw `; 40`@QaYw4/s0 T9 40T~ -& T:( 40T\~ 4/ ,8p@ p=@40p$  p> X40p!8 p?D40p" p:( 40p\#  p,40p$ p pL40p,%  p`l40p' @4/~,p@x =(@40\1~  040d+ ?D40*x4/ ~ , I+L@,+x++,(4 J+  n)}Iț4  2+ ~?H̛H :+  :@0'0'/(.)-*0 3+ }>I0@'8,4 B,Xě0@'^~n,4 B,u^ @'6-@'4,'-lH-v- @P-@2C-@-..X4  2- 3BH :- 4@0'0'/(.)-*0 3- 2C0@'4X #.4 B.` @'4/ 44, '/8L/L .H R/ /O1`$ //101`14 F/L @!P v/LB40,NA !0L0014!  v/ @" 6/ @hhh@" 6/ ggg0" _/ 0" W/L 0" w/L "Ol0" U/L R@"P/L"O2M@,"2,2`224" J1 "L4# 21 #NH$ :1 $0'0'/(.)-*0$ 1 "O\$3h4456789:; ??@8A4B04$330H$3hi$4$444$488$.4$5500$4$.4$66,!$586@6$h4$77($6:;@:$- $4$88$$711$`4$99 $8P$X,X04$::0 $9P4&i4Y4iR$)l4$;;0 $:$4$<\<H$;CY$*4$<<0 H$>@0 $> $84$??< H$?$x4$@?0H$?$$L 4$A@l2$@8[w[$&!t4$BAh0$A4+K+$(\&p4$CBd2$B0K@v<<v%$'&l$((  7'X (8\r t\  l7lm@T6 V% p5 E U -IanIanIan Ian Williams Ian Williams Ian Williams Ian Williams Ian Williams+C:\ffsa\SubVIs\General\APS UPC interface.vi C:\_ets\apc\APS UPC interface.vi Ian Williams( tgxf      Yf   MS Sans Serif MS Sans Serif MS Sans Serif02 MS Sans Serif202RSRC LVINLBVWxA XPC i 4,RSIDHLVIN\BDPWpLIviCPTMDSTMDFDSLIdsversDLDRFPTDCPMp$STRG8ICONLicl4`icl8tDTHPTRec!CPSTDLIfpXFPHPlLIbdBDHPHBINHBUFHISTFTABffeee$e tfe(pgT\gtPgXg(@gH,ggxgԀg%@g%g& g&\g&g' g 'Xg 'g (g (pg (g)(g)g)g*Hg*g+ g+`g+g,$g,|g,g-4g-g-g.4g.g.g/ g /th!/h"0(h#0| h$0h1(g5lf5ܸgBhfBhh@h h8$hAPS UPC interface.vi