Login Page - Create Account

Support Board


Date/Time: Thu, 26 Jun 2025 09:25:15 +0000



Post From: Cannot Get Values From ACSIL ACSDrawing

[2021-12-04 22:51:56]
maxpi - Posts: 183
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);