Vous êtes sur la page 1sur 3

CSVSplitter:SummaryandInstructionsforUse

Title:csvSplit.exe
Author:ZacharyDeschaux
Company:PortalInstruments

Description:CSVSplitterisaprogramcreatedtoselectspecificcolumns(time,velocity,force)
from.csvfilescreatedby[REDACTEDDEVICENAME]testsandcompilefilesforthese
columnsfromanumberofsourcefiles.

Compatibility/RangeofUse:ThiscanworkonboththeoldandnewformatsPortalusesasof
March17,2016,andcanworkwithlocalfilesonyourcomputeraswellasfilesdirectlyon
[REDACTEDDEVICENAME],solongasboththeprogramanddeviceareonthelocalinternal
network.

Purpose:Thissoftwarehasbeendevelopedtoimproveefficiencyincollectingandcomparing
largedatasetsfromvariousexperiments,tests,andcompanydevices.

Setup:Theonlysetuprequiredisthatyouhaveaccesstotheprogramandthatyouarerunninga
Windowsmachine(Windows7orlaterhighlyrecommended).Youcanexecuteeitherfromthe
programinthecompanyDropbox,orcandownloadittoyourlocalcomputerfromthere.In
ordertoaccesstheprogram:
1. Navigatetothe[REDACTED]>csvSplitfolderonDropbox.
2. Ifyouwishtohavealocalcopyoftheprogram,copythefilecsvSplit.exetoyourlocal
computer.Youdonotneedtodownloadfileserror_log.txtorlastvalues.json.
3. Otherwise,runcsvSplit.exedirectlyfromDropbox.

Interface:

SelectDirectory:Selectsthedirectoryinwhichyouwanttoload/savefiles.
DirectoryPath:DisplaysthedirectoryselectedfromSelectDirectory.
cRIOAddress:ContainsthenetworkIPaddressatwhichthecRIOisconnected.
PullfromcRIO?:Ifchecked,willdownloadsourcefilesfromthecRIOatcRIO
Address.
CSVHeaders:Containslistofselectableheaderstoscrapedatafrom.
CSVsinPath:Containslistof.csvfilesindirectoryatDirectoryPath.
CSVsoncRIO:Ifconnected,containslistof.csvfilesoncRIOatcRIOAddress.
MakeCSVs:WillcreatedatafilesbasedonheadersselectedinCSVHeadersandfiles
selectedinCSVsinPath(orCSVsoncRIO,ifPullfromcRIO?ischecked).
Terminal:Providesmessagesdetailingstatusofprogram.

InstructionsforLocalUse:
1. Placeallthefilesyouwishtoevaluateintoafolder.Filesthatarenot.csvfileswillbe
ignored,andyouwillbeabletochoosewhichfilestoevaluatelater.
2. StarttheprogramcsvSplit.exe.Itmaytakesometimetostartup,butshouldnottake
morethan15seconds.
3. MakesurethatthePullfromcRIO?fieldisunchecked.
4. Intheopenedwindow,clickontheSelectDirectorybuttonandselectthedirectoryyou
createdorcontainthefilesyouwanttosplit.Confirmthatafteryourselection,thecorrect
directoryisdisplayedintheDirectoryPathfield.
5. IntheCSVsinPathsubwindow,selectallthefilesyouwishtosplit.
6. IntheCSVHeaderssubwindow,selecttheheadersyouwishtocreatefilesfor.

7. ClickontheMakeCSVsbutton.Confirmthatthefileshavebeencreatedinthesame
directoryasthesourcedatafiles.

TroubleshootingforLocalUse:
MakesurethatPullfromcRIO?isuncheckedotherwise,itwilltryconnecting
IftheCSVHeadersoptioncontainsbroken/missingheaders,checkthatthereareno
corruptedsourcefiles
Ifthecreatedfilescontaingarbagedata,checkthattherearenocorruptedsourcefiles
Ifthereismissing/incorrectdataandyouareusingbotholdandnewsourcefileformats,
makesurethatyouarenotaskingfordatathatdoesNOTexistinthenewversion
Otherwise,contactZacharyDeschauxonSlack,describetheerror,andsendthefile
error_log.txt

InstructionsforNetworkUse:
1. StarttheprogramcsvSplit.exe.Itmaytakesometimetostartup,butshouldnottake
morethan15seconds.
2. TypeintheappropriatenetworklinkinthecRIOAddressfield,usingtheIPaddress.
Besuretoincludethehttp://andfinalslashintheaddress!
3. MakesurethatthePullfromcRIO?fieldischecked.
4. Ifyouwish,createanewfoldertocontainthenetworkfiles.
5. Intheopenedwindow,clickontheSelectDirectorybuttonandselectthedirectory
whereyouwantthenetworkfilestobedownloaded.Confirmthatafteryourselection,
thecorrectdirectoryisdisplayedintheDirectoryPathfield.
6. IntheCSVsoncRIOsubwindow,selectallthefilesyouwishtosplit.
7. IntheCSVHeaderssubwindow,selecttheheadersyouwishtocreatefilesfor.
8. ClickontheMakeCSVsbutton.Confirmthatthefileshavebeencreatedinthesame
directoryaswherethesourcedatafilesweredownloaded.

TroubleshootingforNetworkUse:
MakesurethatPullfromcRIO?ischeckedotherwise,itwillnotdownloadanysource
files
IftheCSVHeadersoptioncontainsbroken/missingheaders,checkthattheIPaddress
inthecRIOAddressfield:
Includesthehttp://andfinalslash
Thedeviceisturnedonandconnectedtothenetwork
Ifthecreatedfilescontaingarbagedata,checkthattherearenocorruptedsourcefiles
Ifthereismissing/incorrectdataandyouareusingbotholdandnewsourcefileformats,
makesurethatyouarenotaskingfordatathatdoesNOTexistinthenewversion
Otherwise,contactZacharyDeschauxonSlack,describetheerror,andsendthefile
error_log.txt

Vous aimerez peut-être aussi