XT2640OperatingManual 13July2016 Page123of187
23.6.2 CREATINGANDIMPORTINGANASCIIHARMONICSLIMITSFILE
YoucancreateanASCIIformatharmonicslimitsfileforeithervoltageorcurrentlimitsonacomputerusingaplaintexteditorsuch
asWindowsNotepad.
ThefilemustbenamedVHLIMIT.CSVtodefinethevoltageharmonicslimits,orAHLIMIT.CSVtodefinethecurrentharmonicslimits.
Ifpresent,thesefilesarelistedalongwithanybinaryharmonicsfilespresentonthedrivewhentheHARMONICLIMITSfiletypeis
selectedintheIMPORTareaofthescreen.
Eachlineofthefilemustcontainthefollowingfieldsintheordershownwiththecommacharacterseparatingeachfield–
1.
TheletterH.
2.
Anumberofcharactersforminganintegerbetween1and500inclusivewhichsetstheharmonicforwhichalimitisbeingsetby
thisline.
Thefundamentalisharmonic1.
Ifmorethanonelinesetsthelimitforaharmonic,thelastoneisused.
Thefiledoesnotneedtodefineeveryharmonic;harmonicsnotincludedinthefilearenotcheckedagainstalimit.
3.
Eitherthecharacter1ifthelimitistobethehighestofthepercentageandlevellimits,or2ifthelimitistobetheadditionofthe
percentageandlevellimits.
4.
Eitherthecharacter0ifthepercentagelimitistobethepercentageofthefundamentalamplitudeor1ifitistobethe
percentageofthetotalsignal.
5.
Anumberofcharactersformingafloatingnumberwhichisthepercentagelimit(inpercent).
6.
Anumberofcharactersformingafloatingnumberwhichisthelevellimit(inVoltsorAmps).
Thefilemaycontainblanklinesifdesired.
Asimpleexampleofthecontentsofsuchafileis‐
H,2,1,0,0.1,1
H,3,2,1,0.2,2
Thissetslimitsasfollows–
1
st
line:Forharmonic2,thehigherof0.1%offundamentalor1VorA
2
nd
line:Forharmonic3,theadditionof0.2%ofsignaland2VorA
23.6.3 CREATINGANDIMPORTINGANASCIICUSTOMSCREEN DEFINITIONFILE
YoucancreateanASCIIformatcustomscreendefinitiononacomputerusingaplaintexteditorsuchasWindowsNotepad.
ThefilemustbenamedCUSTOM.CSV.
Ifpresent,thisfileislistedalongwithanybinarycustomscreendefinitionfilespresentonthedrivewhentheCUSTOMSCREENfile
typeisselectedintheIMPORTareaofthescreen.
Acustomscreenislikeaspreadsheetcomposedof57cellsarrangedin15rowswithrow0(thetopmostrow)onlyhavingasingle
column(column0)androws1through14having4columns(theleftmostcolumnis0,therightmostis3).
Forcellsotherthantherow0cell,fortextsizesotherthan12pixor16pixthetargetcellisexpandedtoincludesurroundingcellsas
follows–
22pixtextsize:includesthecelltotherightofthetargetcell.
28pixand36pixtextsizes:includesthecelltotherightofthetargetcellandalsothecellsimmediatelybelowboththe
targetcellandthattotherightofit.
Notethatthelengthofthetextinacellmightcausethecelltobeoverrunintoadjacentcellsforanytextheightdefined.Youmay
needtoadjustyourdefinitiontoobtainthedesiredformat.
Eachlineofthefiledefinesonecellinthecustomscreenandmaybedefinedinanyorderinoneofthefollowingformats–
23.6.3.1 DEFININGABLANKCELL
Linestodefineablankcellarenotneededasallcustomscreencellsalwaysstartasblankwhenreadingthedefinitionfromafile,
howeveryoumaywishtoincludeblankcelldefinitionsforimprovedreadabilityofthefile.
Thisisdefinedbyalinecontainingthefollowingfieldsintheordershownwiththecommacharacterseparatingeachfield–
1.
TheletterC.
2.
Anumberofcharactersforminganintegerbetween0and14inclusivewhichsetswhichrowthecellisinwhichthisline
defines.
3.
Anumericcharacterbetween0and3inclusivewhichsetswhichcolumnthecellisinwhichthislinedefines.
23.6.3.2 DEFININGACELLWHICHISTEXTONLY
Thisisdefinedbyalinecontainingthefollowingfieldsintheordershownwiththecommacharacterseparatingeachfield–
1.
TheletterC.
2.
Anumberofcharactersforminganintegerbetween0and14inclusivewhichsetswhichrowthecellisinwhichthisline
defines.
3.
Anumericcharacterbetween0and3inclusivewhichsetswhichcolumnthecellisinwhichthislinedefines.
4.
Anumericcharacterwhichdefinesthecharacterfontsizeforthiscellasfollows–
0:Textwhichis12pixhigh