Support Board
Date/Time: Tue, 16 Sep 2025 03:51:51 +0000
Post From: Cannot Get Values From ACSIL ACSDrawing
[2021-12-04 22:51:56] |
maxpi - Posts: 188 |
The following code returns -1 for the begin index and end index values. It's as if the drawing is not visible in the chart when it is visible in it's entirety. s_UseTool retrievedChannel; sc.GetACSDrawingByIndex(0, 0, retrievedChannel, 1); MessageText.Format("sc.Index %i", sc.Index); sc.AddMessageToLog(MessageText, 0); MessageText.Format("retrievedChannel.BeginIndex %i", retrievedChannel.BeginIndex); sc.AddMessageToLog(MessageText, 0); MessageText.Format("retrievedChannel.EndIndex %i", retrievedChannel.EndIndex); sc.AddMessageToLog(MessageText, 0); |