AnsweredAssumed Answered

Custom module instantiation SigmaStudio for Shark

Question asked by Volodymyr_Sydoruk on Jun 4, 2014
Latest reply on Jun 10, 2014 by JJoseph

Hi guys,

 

I created the custom module for SigmaStudio for shark following guidelines.

The created dll is linked and module is visible in the tree toolbox. I am also able to instantiate it in the schematics.

However whenever I try to compile the project, I get the following error:

 

---------------------------

Application Exception

---------------------------

Object reference not set to an instance of an object.

 

 

   at SharcPubLib.DLMManager.FindEntryPointOffsetFromPrefix(Byte[] aDLMData, String prefix, Boolean bIsVISA)

 

 

   at SharcPubLib.DLMManager.GetBProcessEntryPointOffset(Byte[] aDLMData, Boolean bIsVISA)

 

 

   at SharcPubLib.BaseSharcIC.CheckEntryPoints(ArrayList algorithmarray)

 

 

   at SharcPubLib.BaseSharcIC.GenerateObjectCode(String arguments, Boolean delgenfile, ArrayList sampleBlockList)

 

 

   at SharcPubLib.Sharc46xDSP.Compile(ArrayList algorithmarray)

 

 

   at SStudio.LinkWnd.CompileNL_Click(Object sender, EventArgs e)

 

 

   at SStudio.MainForm.ShowCreateLinkWnd(Boolean showlinkwnd)

 

 

   at SStudio.MainForm.LinkCompileDownload(Boolean download, DesignFrame desFrame)

 

 

   at SStudio.MainForm.LinkCompileDownload(Boolean download)

 

 

   at SStudio.MainForm.ultraToolbarsManager1_ToolClick(Object sender, ToolClickEventArgs e)

 

 

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)

 

 

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)

 

 

   at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)

 

 

   at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)

 

 

   at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)

 

 

   at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)

 

 

   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)

 

 

   at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e)

 

 

   at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)

 

 

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

 

 

   at System.Windows.Forms.Control.WndProc(Message& m)

 

 

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

 

 

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

---------------------------

Abort   Retry   Ignore  

---------------------------

 

Could you please help me to figure out what is going on.

 

Thank you,

Volodymyr

 

SigmaStudio v3.10 Build 4 Rev 1326

SigmaStudio for Shark Rel2.1.0

Outcomes