DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

channel namming system

Hi everybody

When using this command:
DataFileLoadSel("../myfile.dat","DAT","Fernlicht\Lichthupe")

i got an error , even though I know that this channel really exists in myfile.dat and when I load from the selective data load in the Navigation Panel
i can actually see the name of the channel as is Fernlicht\Lichthupe


but once the channel is loaded   other functions work well
for example :  k=CHD(10, "Fernlicht\Lichthupe")

I guess the problem is the "\" in the name , how can i load the channle wiout changing ist name

Thanks in advance
0 Kudos
Message 1 of 8
(4,421 Views)

Hi Arkangel,

I've tried the following command:

Call DATAFILELOADSEL("Drive.dat","DAT","Drive/Geschwindigkeit","")

It worked fine. Do you use the latest service pack of DIAdem?

Greetings

Walter

 
0 Kudos
Message 2 of 8
(4,417 Views)
Hi Walter
I have downloade the SP2b  and still have problems  when I use the "\" ,  but not when , like in your case, it is used the "/", or should I change the names of my channels ,

Thanks in advance
0 Kudos
Message 3 of 8
(4,406 Views)
Hi Arkangel,

Sorry I didn't recognize the "\" character. The delimiter between group name and channel name is always the "/" and not the back slash. So with a regular slash it should work fine.

Greeings

Walter
0 Kudos
Message 4 of 8
(4,403 Views)
Hi Walter

sorry for the annoyance 🙂
I dont see why this line gives me an error ,  as U said , this should be a valid name , i use the "\" to avoid problems with the group-channels separator "/" and still have the error , DD8x ( when using the Diadem i got this error when the channel is not found ), and I got this report from another machine , then I tried here and in both cases it seems to the same problem

call DataFileLoadSel("D:\usr\Round\load\5-18-2005(7_47_08(AM))-1000ms.dat","DAT","[1]/MMI HK CD\TV")

what it is confused is, once the channel is loaded ,all the other commands work fine ,

Thanks in advance
0 Kudos
Message 5 of 8
(4,397 Views)
Hi Arkangel,

I've done some tests, but it works fine every time.   I can load partially a channel named "Spe\ed" without any problems.

Example:
call DataFileLoadSel("Drive2.dat","DAT","[1]/Spe\ed")

Sorry, but I don't know what happens. To go in more details I need a reproducible environment like script files, data files etc. - only than I could have a chance to find the reason for the problem.

Greetings

Walter
0 Kudos
Message 6 of 8
(4,387 Views)
Hi Walter
In my machine the script ,  the second line works but not the first one , I tried to see any difference between the names in the .dat file , apart form the "\" are the same

this i16 file contains 5 channels 3 "normal"  and 2

My diadem installation is 9.10.2345 SP2b

Thansk so much in advance


script:

call DataFileLoadSel(":\\5-16-2005(10_25_31(AM))-500ms.dat","DAT","[1]/Sitz vor\zurueck")
call DataFileLoadSel(":\\5-16-2005(10_25_31(AM))-500ms.dat","DAT","[1]/ACC Set")

0 Kudos
Message 7 of 8
(4,382 Views)
Dont anwser this question Smiley Wink i found out what my error was

anyway thansk
0 Kudos
Message 8 of 8
(4,354 Views)