LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing/Reading to Measurement/text file

Ok, so I searched the forums but was not able to find a similar instance or reference to what I'm trying to obtain. 

I should note that i'm a labview (2010) beginner, but decent code programmer. 

 

What I'm trying to do, which I think is either extremely to easy or actually harder then I'm thinking.

 

Basically I'm using a WLS-9163 to record analog voltages (either from only one channel or from two, at a time) that I convert to either a degrees of rotation (from a potentiometer) or to distance (from a LVDT) and recording the data to a measurement file.

 

What I need to do is record data based on person's ability to extend fully left (laying down on a device w/ the potentiometer center to there pivot point) then return to there "zero" form, then extend fully right and return to there "zero" form, with roughly 3 second holds at each location. Writing the raw data seems to be ok. However, each time I will be preforming the test I will be introducing different variables to be done (3 total different variables) with a total of 3 repeated trials for each different variable (total of "9" recordings). 

 

I was thinking to be able to write to one measurement file with append to data for each variable and trial (only) listed as the header for data analysis. But Im not sure/know if I'm able to write with a header for each recording then read from the measurement file and use the statistics VI to another new file. Does this algorithm seem possible or is this harder then it really i?

0 Kudos
Message 1 of 2
(2,428 Views)

Hey McCain,

 

I don't understand how your VI is not performing the way you want? are you saying that you need to acquire more signal inputs and need to know how to include it in the same TDMS file. 

 

Regards,

Z'Atari

National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,397 Views)