02-28-2023 12:01 PM - edited 02-28-2023 12:05 PM
Is there a way to work around TestStand 2020, reload a VI, then Labview has Fatal Internal Error? This is getting very persistent as my test steps increase. The only thing that seems to work is avoid opening or reloading Labview from TestStand.
Solved! Go to Solution.
03-02-2023 12:01 PM
I've seen this behavior only when there is a memory leak going on that where LabVIEW stomps on the memory space of TestStand or vice versa. Or that same error on a LabVIEW VI when the front panel got corrupted.
When you say you reload the steps, are you first running something and then reloading. Or does this happen if you just open up TestStand, lets the steps load, and then reload them?
It would be helpful to look in your temp directory for a file called SeqEdit_[bitness]_20.0.1....txt, SeqEdit would be whatever you exe is called, or it may be LabVIEW instead. But if you look at that after a crash it may help you pin point the exact vi that is bad.
03-06-2023 04:17 PM - edited 03-06-2023 04:19 PM
@ShockHouse wrote:
When you say you reload the steps, are you first running something and then reloading. Or does this happen if you just open up TestStand, lets the steps load, and then reload them?
Well, its your seconds case I noticed most of the time. I open TS, let the steps reload, manually reload a step and crash happens. I fixed all broken compiled VIs and this still happens. Seems to get worse as I add steps. I'll check out that temp directory you mentioned. Thx.
Oh, I should add, the PXIe has 8G RAM 2 threads, wondering if I'm just overwhelming the processor/RAM.
03-06-2023 06:13 PM - edited 03-06-2023 06:27 PM
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9QYSA0&l=en-US . Doesn't solve my problem, I have no time to dig into the matter.
Edit!
OK, I take that back. I have a work-around for fix. Mass Compile all LV files in your project that TS loads, save your project. Next time TS loads no crash, labview just loads. You may want to repeat as your make code changes breaking old code that no longer compiles.
03-23-2023 03:17 PM
@richjoh wrote:
Edit!
OK, I take that back. I have a work-around for fix. Mass Compile all LV files in your project that TS loads, save your project. Next time TS loads no crash, labview just loads. You may want to repeat as your make code changes breaking old code that no longer compiles.
It is a one-time fix not permanent. Mass Compile your VIs, fix ones that are broken and next time TS2020 reloads VI it should succeed. Repeat when necessary to avoid the TS2020 crashing.