LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA An internal software error has occurred. memory write

Solved!
Go to solution

Hi everybody

 

We are encountering an error during compilation of an FPGA VI. It is probably related to our use of FPGA block memory. We have a non-timed while loop that is reading from an FPGA host-to-target FIFO and writing into block memory (inside a sub-VI called z_scan_write.vi). In another loop (this one is timed-loop), there is a subVI called we z_scan_read.vi, inside which we read from the block memory.

 

Does anybody have an idea what is going wrong and how we could avoid this problem? Thank you very much in advance for any hint!

 

The full error message is as follows. Note that it refers to the above-mentioned two subVIs z_scan_write.vi and z_scan_read.vi...

 

 


 

An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:
nirviUIDToObject.vi<ERR>
Error getting object reference for UID.
All text parsed:

<CodeGenErr>
<ErrorCode>-61060</ErrorCode>
<DynamicText><TreeLineInfo><LineInfo><ErrorInfoCallback><VIPath>C:\Program Files (x86)\National Instruments\LabVIEW 2010\vi.lib\rvi\ClientSDK\Core\ErrorReporting\Private\nirviPersistentNameToProjectItemLineInfoCallback.vi</VIPath>
<Data>zIntensityTuples/{29C03A58-DC8D-4BC7-BAFA-66AFAE4E42D1}/%s</Data>
</ErrorInfoCallback>
</LineInfo>
<TreeInfo><TreeID>ProjItem</TreeID>
</TreeInfo>
</TreeLineInfo>
<TreeLineInfo><LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.z_scan_write.vi_FPGACompileCopy00000021.vi</VIPath>
<UID>2747</UID>
<ObjectName>Memory Write &apos;Memory Method Node&apos;</ObjectName>
</DiagramObject>
</LineInfo>
<TreeInfo><ParentID>ProjItem</ParentID>
</TreeInfo>
</TreeLineInfo>
<TreeLineInfo><LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.z_scan_read.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>194</UID>
<ObjectName>Memory Read &apos;Memory Method Node&apos;</ObjectName>
</DiagramObject>
</LineInfo>
<TreeInfo><ParentID>ProjItem</ParentID>
</TreeInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61060</ErrorCode>
<DynamicText><TreeLineInfo><LineInfo><ErrorInfoCallback><VIPath>C:\Program Files (x86)\National Instruments\LabVIEW 2010\vi.lib\rvi\ClientSDK\Core\ErrorReporting\Private\nirviPersistentNameToProjectItemLineInfoCallback.vi</VIPath>
<Data>zIntensityTuples/{29C03A58-DC8D-4BC7-BAFA-66AFAE4E42D1}/%s</Data>
</ErrorInfoCallback>
</LineInfo>
<TreeInfo><TreeID>ProjItem</TreeID>
</TreeInfo>
</TreeLineInfo>
<TreeLineInfo><LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.z_scan_write.vi_FPGACompileCopy00000021.vi</VIPath>
<UID>2747</UID>
<ObjectName>Memory Write &apos;Memory Method Node&apos;</ObjectName>
</DiagramObject>
</LineInfo>
<TreeInfo><ParentID>ProjItem</ParentID>
</TreeInfo>
</TreeLineInfo>
<TreeLineInfo><LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.z_scan_read.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>194</UID>
<ObjectName>Memory Read &apos;Memory Method Node&apos;</ObjectName>
</DiagramObject>
</LineInfo>
<TreeInfo><ParentID>ProjItem</ParentID>
</TreeInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2803</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2816</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2803</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2816</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2803</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2816</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2803</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2816</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>


0 Kudos
Message 1 of 3
(2,429 Views)

Removing the two subVIs that read from/write to the block memory doesn't avoid the error showing up during compilation. The error details are obviously different now; they don't refer to the two subVIs (mentioned in the previous post) anymore...

 

 


 

An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:
nirviUIDToObject.vi<ERR>
Error getting object reference for UID.
All text parsed:

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2735</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2748</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2735</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2748</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2735</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2748</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>

<CodeGenErr>
<ErrorCode>-61106</ErrorCode>
<DynamicText><TreeLineInfo><TreeInfo><TreeID>1</TreeID>
</TreeInfo>
<LineInfo><VI><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</VIPath>
<Name>NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi</Name>
</VI>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>2</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2735</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
<TreeLineInfo><TreeInfo><TreeID>3</TreeID>
<ParentID>1</ParentID>
</TreeInfo>
<LineInfo><DiagramObject><VIPath>C:\NIFPGA\compilation\FPGAWrapperAK101_PXI-7813R_main_C0C9511F\MungedForFPGA\NI.Munge.main.vi_FPGACompileCopy00000001.vi</VIPath>
<UID>2748</UID>
<ObjectName>SubVI: &apos;NI.Munge.generate_DAC_voltages.vi_FPGACompileCopy00000001.vi&apos;</ObjectName>
</DiagramObject>
</LineInfo>
</TreeLineInfo>
</DynamicText>
</CodeGenErr>


0 Kudos
Message 2 of 3
(2,425 Views)
Solution
Accepted by topic author dlanger

We could solve the problem. It was actually caused by the fact that we had set some subVIs to non-reentrant. Setting them back to reentrant execution (with the preallocate clone option) solved the problem.

Message 3 of 3
(2,418 Views)