DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading excel file

Hello,

I have a little problem when loading an excel file with the "excelimport" function into the data portal.
The problem is that I would like to load several excel files into the data portal and each file in a different channel. But when I do this using a While loop instruction, the name of the channel appears as "NoName" and I would like than each channel had the name of the Excel file.
Do you know what am I doing wrong?

Thank you
0 Kudos
Message 1 of 2
(3,308 Views)
Hi leiabcn,

The only reason I can think that the imported Excel channels would show up in the Data Portal with the name "NoName" is if there was a discrepancy between the STP file you are using and the actual structure of the Excel file, at least as far as the location of the channel name texts in the Excel file goes. Do you get "NoName" channels if you load the Excel files by hand? Do you get "NoName" channels if you load the Excel file programmatically, but only load 1 file? Are you really talking about channel names or group names in the Data Portal?

You can always rename channels in the Data Portal with the "ChnName()" function, and you can always tell how many channels are in the Data Portal at any given channels with the "GlobUsedChn" variable.

It would help quite a bit if you could send over your VBScript file, the STP file, and one or more Excel files, for us to reproduce this behavior here.

Regards,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,294 Views)