The rules for inputting numerical values when specifying channels/bits/ports in the input task/output task in DncDaq are shown below.
■Allowed input
・Specifying only with numerical values such as "0" and "1"
・Specifying comma-separated items such as "0,3,5"
・Specifying a hyphen delimiter such as "0-3" (equivalent to 0,1,2,3)
・Specifying a combination of commas and hyphens such as "0,1,3-5" (equivalent to 0,1,3,4,5)
■Forbidden input
・Specification including the same numerical value such as "0,0,0,0"
・Specification including reverse order such as "3-0", "1,2,3,2,1"
・Specification with consecutive hyphens and commas such as "0 ,,,,, 1" and "0-----1"
・Specifying more than the number of channels, bits, and ports of the device (AIO devices only)
・Specification including character strings other than numbers, commas(,), and hyphens(-)
*Hexadecimal input is also not supported.
■Notes on AIO devices
・In AIO devices, when specifying in bit units or port units, only a single specification such as "0" or "1" is allowed.
・When outputting analog with an AIO device, only numerical values such as "0" and "1" or sequential numbers starting from 0 are allowed.