DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Import Channels

When using the Importing Data From Multiple ASCII Files .VBS script the max channels that get imported is 241.  When opening the raw data file with the .stp file all channels are imported.  What am I doing wrong.  I am sending the script files and a sample data file.
0 Kudos
Message 1 of 4
(3,990 Views)

Hi bm2cox,

I have reproduced the bug you reported with DIAdem 10.  When I load the data file interactively with the ASCII Import Wizard I get all 259 channels.  If I load the data file programmatically using the STP file, I get only about 240 channels.  I went ahead and created a test DataPlugin for your data file using the new ASCII DataPlugin Wizard in DIAdem 10, and I was able to verify that the DataPlugin loads all the channels both interactively (drag&drop) as well as programmatically.  There is a DataPlugin version of the concatenation VBScript you are using, so this appears to be the way to go.  I will file a Corrective Action Request for the bug, nonetheless.

So what version of DIAdem are you using?  You can only use DataPlugins with DIAdem versions 9.1 and above.  Also, in DIAdem 10 files that have a DataPlugin written for them are immediately available for querying with the DataFinder.  The quick DataPlugin I created with the Wizard does not have all the details I think you should have for use with DIAdem 10 and the DataFinder.

Before I spend any more time on this, however, I want to make sure that you can use this approach in your DIAdem.  Please confirm if you have DIAdem 9.1, then I will send you the DataPlugin and point you to the DataPlugin concatenation application.  If you have DIAdem 10, then I will spend a little more time making the DataPlugin that much more useful in conjunction with the DataFinder.

Regards,
Brad Turpin
DIAdem Product Support Engineer
National Instruments

 

0 Kudos
Message 2 of 4
(3,962 Views)

Brad,

I am using DIAdem version 9.1.  Where is the datapliging you were referring to.

 

Thanks

Larry

0 Kudos
Message 3 of 4
(3,956 Views)

Hi Larry,

Here is the fancy version of the DataPlugin.  I went ahead and compiled it in USI 1.1 so that you could use it in DIAdem 9.1.  When you do upgrade to DIAdem 10, you can uncomment the "File.Formatter.NoValueSign" assignment in line 15 that only works in USI 1.3 and DIAdem 10.  This will automatically map any "-999.99" value in the data file to a NoValue in DIAdem.

You can use this DataPlugin with the concatenation application found at the following web site:

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=C34F36CBFA7173C3E034080020E74861&p_...

You should then choose the following link to select the correct ZIP file to download:

"Download - DIAdem_91_Importing_Data_from_Multiple_Binary_Files.zip"

The ...binary.. naming is a little counter-intuitive, in this case it just means that this flavor of the application is using a DataPlugin, which in your case is actually loading an ASCII file.

Finally, note that in DIAdem 9.1 this DataPlugin will run a lot slower than in DIAdem 10.0, where DirectAccessChannel loading in DataPlugins was seriously accelerated.

Ask if you have further questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments

 

0 Kudos
Message 4 of 4
(3,948 Views)