Support Board
Date/Time: Sat, 31 Jan 2026 21:51:05 +0000
Post From: Cannot Get Values From ACSIL ACSDrawing
| [2021-12-04 22:51:56] |
| maxpi - Posts: 193 |
|
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); |
