11-07-2008 02:20 AM
Hi,
I have more .CSV files, that have inside tree chanels( load force; opening force;travel distance) captured from two motors.
I want to load more CSV files and analyze only two chanels ( opening force and travel distance) and send them to a report (travel distance to X-axis, and Opening force to Y-axis), but in the report to be all the chanels from all the CSV files that I loaded. ( to do a multi-load)
My question is how can I read from the csv files the chanels that I am interested and then analyze them?
I use this exemple from HELP to load the data:
Dim MyFileNames, iCount
Call FileNameGet("ANY", "FileRead","D:\BOF-MIU\BOF Archive\", "CSV data (*.CSV),*.csv", "All.lst", True, "Data selection")
MyFileNames = Split(FileDlgFileName,"|")
For iCount = 0 To Ubound(MyFileNames)
Call DataFileLoad(MyFileNames(iCount))
Next
' and then I try to analyze, but I don't know how to split the csv file to get only the chanels that I want
Call ChnSmooth(filedlgfile &"[1]/Axis 1: Position (uu)","/Smoothed",12,"maxNumber") '... Y,E,SmoothWidth,SmoothType
Thank you for your time.
Solved! Go to Solution.
11-07-2008 03:53 AM
Sorry for choosing the wrong board.
I post it again in the Diadem board.
11-10-2008 10:44 AM
Duplicate Post:
http://forums.ni.com/ni/board/message?board.id=60&message.id=9621