Lime49 Forum Index
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Donnieclark
#1 Posted : 16 December 2017 07:00:19(UTC)
Donnieclark

Rank: Advanced Member

Joined: 07/11/2017(UTC)
Posts: 38
United States
Location: new york

Hi ,

I want to load from a dat file certains channels. not all of them
so i wrote the following command

Call DataFileLoadSel("D:\usr\project\Aut\3-18-2005(1_56_03(PM)).dat","DAT","[1]/Zeit")

and instead of loading only the channel Zeit , it loads all the channels but works fine if i use the following command

Call DataFileLoadSel("D:\usr\project\Aut\3-18-2005(1_56_03(PM)).dat","DAT","[1]/[1]")

the problem is that sometimes i dont know in advance the channel number so i am forced to use the channel name
also will help if for example the channel name is not in the file , i think, all channels will be loaded , if so ,

how can i avoid this?

and if a channel is not in the file , disregard it and continue with the script?

Please help.
Thanks!

I didn't find the right solution from the Internet.

References: https://forums.ni.com/t5...aFileLoadSel/m-p/203329

Marketing Explainer Examples

Users browsing this topic
Guest (2)
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2018, Yet Another Forum.NET
This page was generated in 0.021 seconds.