I am co-simulating Labview and Multisim. I have to simulate a FPGA target using a Desktop Execution Node. I am now facing this error " Error 1055 occurred at Property Node in niFpgaGetTargetClassFromTarget.vi:6910002- >niFpgaDEN_Execute.vi:32001- >Testbench_base.vi Possible Reason(s): LabVIEW:( hex 0x41F) Object reference is invalid". The FPGA target just simulates an easy PI control. The strange thing is that it occurs at a certain point after hours of simulation.
I tried almost everything but nothing seems to fix it. I noticed that it occurs always at a certain ratio between last simulated time and DEN sampling time, in example it occurs after 0.1747 secons being the DEN sampling time setted at 8.334e-7, or it occurs at 1.747 with a DEN sampling time setted at 8.334e-6 and so on. It seems that DEN has only a fixed number of iteration before it crushes. Is that possible?? I really hope someone has some suggestions.
Thanks in advance.
Solved! Go to Solution.
I think this is a bug in the LabVIEW FPGA simulation code where we are leaking references when we shouldn't be. What version of LabVIEW are you using? I think I can post an updated VI that will fix the issue.
I've attached a VI that I think fixes the issue. I would create a back up of this VI before overwriting it. The location to copy the VI is <LabVIEW>\vi.lib\rvi\DesktopExecutionNode\Execution. Hope this helps!
it helps actually. Now it works properly. I am vary grateful thanks. May I ask you another thing? As a co-simulation i am using a Multisim Design but it allows me to use max 25 pins for a single model. Is there a chance to increase that limit? Or am I supposed to divide Multisim model in subcircuits and create a Multisim Design for each?
Thank you very much by the way. You've been very kind.
Glad the fix to the VI worked! I am not as familiar with multisim so unfortunately I'm not sure. If you think you can divide your design up I might go that route.
Yeah, it works finally. Using more than one design is the only idea that might work up to now but there are still some problems of interactions among Designs. By the way thank you again wish you the best.