解決策
The
WfChnToChn() command has changed slightly between DIAdem 2018 and before and 2019 and later.
- Prior to DIAdem 2018... This function always returns an array.
- As of DIAdem 2019... The function returns an array for multiple channels, but a scalar for single channels.
This alteration could have impacted the processing flow, potentially triggering errors. To address this, you might want to contemplate modifying the script. One strategy involves utilizing the IsArray() method to ascertain whether the return value is an array or a scalar. This way, you can implement distinct processing logic for each scenario.