DIAdem Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
nimic

Default parameters for DataBlDel

Status: Already Implemented

Hi Michael,

If you use the Data-API you find your requested feature.

 

Dim oMyChannel

Set oMyChannel = Data.Root.ActiveChannelGroup.Channels(1)

Call oMyChannel.RemoveValues(3, 4)

 

The second parameter of the method RemoveValue is optional.

It seems to me that your request is already implemented, so I have changed the request status accordingly.

 

Greetings

Walter

Hi

DataBlDel comes with 4 parameters,

1. ChannelList

2. RowNr

3. ValNo.

4 ValDelOnly (optional).

 

Now I'd find it handy to have (at least) parameter #3 optional and default to 'all values to the end'. Looking at discussion posts in the forum, many people use some

        CL("[1]/[1]") - PfoundEndVariable

syntax.  An alternative could be the use of 'GlobChnLength'. 

Kind regards

Michael

 

Whether '1' would be a 'natural' default for parameter 2, I don't know. But for sure, all subsequent values for parameter 3 might make sense....

1 Comment
Walter_Rick
NI Employee (retired)
Status changed to: Already Implemented

Hi Michael,

If you use the Data-API you find your requested feature.

 

Dim oMyChannel

Set oMyChannel = Data.Root.ActiveChannelGroup.Channels(1)

Call oMyChannel.RemoveValues(3, 4)

 

The second parameter of the method RemoveValue is optional.

It seems to me that your request is already implemented, so I have changed the request status accordingly.

 

Greetings

Walter