NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

read data chanels / Diadem

Solved!
Go to solution

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.

0 Kudos
Message 1 of 3
(2,743 Views)
Solution
Accepted by topic author Marse

Sorry for choosing the wrong board.

I post it again in the Diadem board.

 

 

0 Kudos
Message 2 of 3
(2,740 Views)

Duplicate Post:

 

http://forums.ni.com/ni/board/message?board.id=60&message.id=9621 

Manooch H.
National Instruments
0 Kudos
Message 3 of 3
(2,716 Views)