NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel calculation

Hey, I have a txt. data file from 60 sensors, located in different position. In the file, each sensor's data is in one line with time stamp, from the first one to the 60th one, then go back to the 1st as circulation. the raw data need to be processed according to the datasheet.Those sensors are  in 3 different types. what I'm doing now is to import the data, show the sensor's name in a list, by choose the name on the list, the processed data will be plotted on the graph and logged in the background. this was succeed for signal sensor, however, I want to make it capable to choose several sensors together. for example, I push "ctrl" and choose severl sensors together, then i expect several curves will be plotted on the graph at the same time. I used an array to make a lookup table, I pick the certain number from the array and verify the different types. However,my problem is: how do I do the caculation? I dont want to make 60 case structures to do the parallel calculation. how can I acrualize this function?

 

here attached part of the data, please give me some suggestion in how to achieve my design.(this is an example of 3 sensors)

cheers!

 

Base Time,1236337167.745374519
Real Time,03/06/2009,10:59:27
Fractional Seconds,0.745374519
Index,Reading,Value,Unit,Status,RelativeTime,Channel
1,+09.95588 kOhm,9.9558753E3,Ohms 2wire,0,0,000000000,1001+
2,+054.9297 mV,5.4929651E-2,Volts DC,0,0,024938107,1002+
3,-000.0293 mV,-2.9336165E-5,Volts DC,0,0,057852983,1031+
4,+09.95669 kOhm,9.9566896E3,Ohms 2wire,0,0,110721350,1001+
5,+054.9319 mV,5.4931855E-2,Volts DC,0,0,135663986,1002+
6,-000.0301 mV,-3.0136876E-5,Volts DC,0,0,191517353,1031+
7,+10.15015 kOhm,1.0150149E4,Ohms 2wire,0,599,269007444,1001+
8,+055.1064 mV,5.5106418E-2,Volts DC,0,599,292948246,1002+
9,-000.0214 mV,-2.1421115E-5,Volts DC,0,599,325862646,1031+

 

0 Kudos
Message 1 of 1
(3,063 Views)