DP filtering using dpNames (pattern negation condition)

Find and share HowTos to various installations / configurations!
Search

Post Reply
1 post • Page 1 of 1
User avatar
luis.bustamante
Posts: 7
Joined: Thu Jan 24, 2019 8:11 am

DP filtering using dpNames (pattern negation condition)

Post by luis.bustamante »

Hello,

My question is related to DP filtering using dpNames().

I have a list of DP:
ASENSOR1
BMOTOR2
CVALVE3
CENT_SENSOR1
CENT_MOTOR2
CENT_VALVE3

I would like to know if in the dpNames() function a pattern negation condition can be introduced.

// It does not work.
dyn_string ds = dpNames("*:{!CENT_}*", "AGC_Device");

// It does work, but it is not dynamic.
dyn_string ds = dpNames("*:{A,B,CV}*", "AGC_Device");

Thanks.

Best regards,
Luis Miguel BP.

Post Reply
1 post • Page 1 of 1