NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Meky
Posts: 5
0 Kudos
Accepted Solution

How do I merge .ADF files?

I am using the VBS script for dataplugins 

http://zone.ni.com/devzone/cda/epd/p/id/3870

 

I installed the .ADF ata plugin and can now open .ADF files in Diadem but when I run the script attempting to merge .ADF files it does not work. I basically just changed the ".CSV" references in the script to ".ADF"

When I run, I get the attached error

 

Please let me know of any solutions. 

Thanks, 

Omar

Member
AndreasK
Posts: 199

Re: How do I merge .ADF files?

Hello Omar,

 

please have a look at the DIAdem Example to concanate channels. Its delivered with DIAdem.

 

Examples > Creating Scripts > Scripts > Appending Channels to Each Other

 

I assume you only have to path the

SearchAndLoadData

method by using DataFileImport to load the adf files. If your files are already loaded just comment the line out.

 

 

P.S.: The example you tried in the web uses the ASCII loader to load the files, so it fails to load the ADF files.

 

Trusted Enthusiast
Brad_Turpin
Posts: 2,375
0 Kudos

Re: How do I merge .ADF files?

Hi Meky,

 

The error message you included states that the DataPlugin for *.adf files is not called "ADF".  In the case of *.csv files, there is a "CSV" DataPlugin, but in general the name of the DataPlugin is different from the file extension(s) that are associated with it.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page