03-05-2007 09:21 AM
03-06-2007 03:07 AM
Hi Diana,
there are so many different ways to do that. To decide which way is the best, we need more information from what file do you get the values and what do you want to do with these values besides showing in VIEW or GRAPH and which version of DIAdem(?) you use.
I think the best way is to 'save' the values in channels, ie with ChnVal, ChD or ChDx:
ChD(Column,ChannelNo) = value
So, I see the following steps:
1. load (import) the first file and extract the values and save the values in variables
2. load (import) the 2nd file and extract the values and save the values in variables
3. prepare channels to include the values, call ChnAlloc("Frequency",2) and call ChnAlloc("Voltage",2)
4. save the values with ChD in the channels
5. showing the (two) channels in VIEW or GRAPH
Hope that helps
03-06-2007 03:51 AM
03-06-2007 07:22 AM
03-06-2007 08:23 AM
03-06-2007 08:36 AM
03-06-2007 04:11 PM
Hi Diana,
Here is a DIAdem VBScript application which imports multiple Excel files. It was originally designed to also concatenate the channels of the different files together, but I commented out the concatenation calls so that it only loads the Excel files into the DataPortal.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-07-2007 02:04 AM
03-07-2007 07:21 AM
03-07-2007 09:36 AM