3 Replies Latest reply on Mar 22, 2016 10:07 PM by user_342122993

    Trouble generating API for USB HID component

    alexandre.courtemanche.1

      Hello,

         

       

         

      I am trying to generate the API for an USB HID component.

         
          

      Error in customizer for component "USBFS_v3_0" : ICyAPICustomize_v1.CustomizeAPIs : (System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) at System.Collections.Generic.List`1.get_Item(Int32 index) at USBFS_v3_0.CyUSBCodeGenerator.GenReportTable(Int32 rptIndex, String instName, String qualName) at USBFS_v3_0.CyUSBCodeGenerator.GenReportTables(CyDescriptorNode node, String instName, String qualName) at USBFS_v3_0.CyUSBCodeGenerator.GenReportTables(CyDescriptorNode node, String instName, String qualName) at USBFS_v3_0.CyUSBCodeGenerator.GenReportTables(CyDescriptorNode node, String instName, String qualName) at USBFS_v3_0.CyUSBCodeGenerator.GenReportTables(CyDescriptorNode node, String instName, String qualName) at USBFS_v3_0.CyUSBCodeGenerator.GenReportTables(CyDescriptorNode node, String instName, String qualName) at USBFS_v3_0.CyUSBCodeGenerator.GenReportTables(CyDescriptorNode node, String instName, String qualName) at USBFS_v3_0.CyUSBCodeGenerator.GenerateHIDReports() at USBFS_v3_0.CyUSBCodeGenerator.GenerateCode() at USBFS_v3_0.CyCustomizer.CustomizeAPIs(ICyInstQuery_v1 query, ICyTerminalQuery_v1 termQuery, IEnumerable`1 apis) at CyDesigner.PSoC.CyDsFit_ApiGen.RunAPICustomizer(CyInstCustomizerProvider custProvider, ICyInstQuery_v1 instQuery, ICyTerminalQuery_v1 termQuery, IEnumerable`1 apis) at CyDesigner.PSoC.CyDsFit_ApiGen.DoAPICustomization(String blockName, CyInstCustomizerProvider custProvider, CyInst apiCustomizerInst, ICyInstQuery_v1 instQueryIntf, ICyTerminalQuery_v1 termQueryIntf, List`1& allAPIs)).

         
         

      What I can I do to fix this?