Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3197

Plugin Script For CSV file with mixed data types

$
0
0

I need to create a data plugin for the example csv format attached. It only has one one line with a time stamp, then the next line is channel names and then data below. All the columns are float numbers except for a few that are hex (written as 0xAB). I am new to writing my own data plugins so I'm a little lost as how to sort through each row of data and specify a different data type for just the hex columns? I was going to import them as strings and then manipulate them as needed. Hex could be converted to decimal as well. I just need to get it all in the data portal. The actual data files have much larger row lengths so the Plugin Wizard doesn't quite get the job done. 


Viewing all articles
Browse latest Browse all 3197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>