DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Editable DataPlugin for CSV file type

Solved!
Go to solution

Hi,

 

I would like to set up a DataPugin for a csv file type but when I use the text-based loading wizard it creates an encrypted plugin file of type VBCrypt, which I can't view in DIAdem's SCRIPT window. On previous occasions, perhaps with other file extensions, this hasn't happened and I've received plugins of type VBS.

 

It isn't certain yet, but it's possible that the csv files I want to open will not be consistent and so I wanted to see if I could utilise a plugin script, perhaps by calling it from a main script, to cope with variable file contents. However, I see that when a plugin VBS script is open in DIAdem's SCRIPT window the play button is greyed out. Are they not the same as normal vbs files?

 

If this is not an appropriate way forward, can I just use commands like TextFileOpen and TextFileReadLn on my csv files? I can see this method taking a very long time to open a file with a lot of lines in it, so I feel a plugin would be the best way if possible.

 

Regards, Simon.

0 Kudos
Message 1 of 2
(1,170 Views)
Solution
Accepted by topic author Simon_Aldworth

If you open DIAdem help it contains a section about VBS DataPlugins.

The zip file contains some examples to help you start creating a dataplugin.

Have alook at the examples. Hope they help you how to write the scripts you need.

 

AndreasK_0-1613127605361.png

 

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