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

Plugin Script for DAT File with Multiple Channel Rows

$
0
0

So, I'll attempt to explain this the best that I can.  I have a *.dat file that we have written a data plugin to handle importing our particular data file type and identify header properties, channel descriptions, channel units, channel names, and then associated data.  However, certain files that I would like to read in will have a block of data with a set of channel names/units and then if our data user added a channel later we get another block of data with a new set of channel names/units.  I've attached a sample of the data which I've removed most of the columns and actual data but still provided the format that it's in.  I've changed the data file format from *.dat to *.txt to upload.

 

What I want to do is have DIAdem create a single channel name/unit/description row that concatenates all of the channels from multiple rows and delete the rows with extra channel names in them prior to loading in the data portal.

 

I currently have an Excel Macro that will match the channel names and create this format for me, but I would really like to get away from using excel as an interface for my team. If DIAdem has to call Excel in the background to export/import data, I suppose that would be okay but would prefer not if at all possible.

 

Any thoughts on how to do this effectively?


Thanks in advance!

Bueter


Viewing all articles
Browse latest Browse all 3196

Trending Articles



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