07-11-2005 03:41 PM
07-12-2005 02:18 AM
Hi Julia,
You don’t
import the first headline – maybe it is not important but you can choose “B3” instead
of “B4” in STP file.
The bigger problem is that you try to import channels with the same channel names like 7277 or 7307 or 7322 etc.. In DIAdem it is standard to have unique channel names within a channel group. So the default is that DIAdem makes double channel names unique by counting up the last imported name. Example: the first loaded channel is named ABCData than you try to import a second channel with the same name. DIAdem loads this channel and rename it to ABCData1 - so far so good. But in your special case your channel names are already numbers, so in case of double channel names DIAdem is counting up the number (7277 will be 7278). In your special case that could make some trouble. The solution for that problem is a separator between original channel name and the number. That is supported since DIAdem 9.1 SP2. (The latest service packs you find on: www.ni.com/support/diasupp)
Information from the SP2 Readme:
For unique channel names in the channel group, you can now specify your own separator. You use the UniqueNameSep variable to specify the separator. The variable can accept the following values: "None", "Underscore", "Dot", "Colon", "Semicolon", "Plus", "Minus", "Space".
Example:
You create three channels called "Result" in a channel group. The following
assignment results in the channel names shown: UniqueNameSep =
"Underscore" => Result, Result _1 and Result _2.
I’ve added the
command UNIQUENAMESEP
="Underscore" to your script and as far as I could verify all data
are loaded now.
I hope this
will solve the problem.
Greetings
Walter
07-12-2005 09:17 AM
07-12-2005 09:46 AM
07-12-2005 10:02 AM
Yes, I believe I have SP2. When I go to Help -> About DIAdem -> I get:
DIAdem: 9.10.2260 TDM Service Pack 1
USI: 1.1.1.2254
07-12-2005 11:24 AM
07-12-2005 11:30 AM
07-13-2005 01:30 AM
07-13-2005 08:43 AM
Hello Walter,
Yes, that script does load everything properly. However, it uses the DataFileLoad (line 25) method rather than the ExcelImport method so the Excel Import Wizard dialog box comes up, something I would prefer to avoid. Am I missing something?
Thank you again! Julia
07-13-2005 08:58 AM