From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
DIAdem 에서 채널 데이터에 상수 값을 추가하고 싶습니다. DIAdem AUTO 의 루프를 이용하여 각각의 채널에 있는 데이터 아이템에 상수를 추가하였지만 속도가 매우 느립니다. DIAdem 채널에 상수를 추가하는 더 효과적인 방법이 있습니까?
DIAdem DATA 에 formula interpreter 를 이용하여 특정 채널에 상수 값을 쉽게 추가할 수 있습니다. interpreter 에서 ch('Channel Name') := Ch('Channel Name') + constant 를 입력하면 constant 에 입력한 값이 특정 채널에 추가됩니다.
DIAdem AUTO 를 이용하여 프로그램적으로 상수를 추가하고 싶다면 아래의 함수를 호출하면 됩니다.
Call FormulaCalc ("Ch('Channel Name') := Ch('Channel Name') + constant")
|