Method: SkipValue for File
- Updated2024-09-12
- 1 minute(s) read
DataPlugin > Methods > Method: SkipValue for File
Method: SkipValue for File
Skips a value in a line.
bSkipValue = Object.SkipValue
| Object | File Object with this method |
| bSkipValue | Boolean The value is TRUE if the method was successful. |
The following example reads the following line from a file.
XAxis; ;1.000.000; 2.000; 301¶
This line contains the name and the generation parameters of an implicit channel. The example skips the text between the channel name and the start value of the generation parameters. The example then generates a channel group that contains an implicit channel.
File.Formatter.LineFeeds = vbNewLine File.Formatter.Delimiters = ";" File.Formatter.ThousandSeparator = "." Dim ChannelName: ChannelName = File.GetNextStringValue(eString) Call File.SkipValue() Dim StartValue : StartValue = File.GetNextStringValue(eI32) Dim Increment : Increment = File.GetNextStringValue(eI32) Dim ChannelSize: ChannelSize = File.GetNextStringValue(eI32) Dim oMyGrp : Set oMyGrp = Root.ChannelGroups.Add("MyChannelGroup") Call oMyGrp.Channels.AddImplicitChannel(ChannelName, StartValue, Increment, ChannelSize, eI32)