From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I merge .ADF files?

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(4,542 Views)
Solution
Accepted by Meky

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.

 

Message 2 of 3
(4,534 Views)

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

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