08-21-2024 05:24 AM - edited 08-21-2024 05:29 AM
Hi, I have a non-visible window application (contain ApplicationMgr, SequenceFileViewMgr, ExecutionViewMgr and SemiconductorModuleManagerFactory). There is no error when I run a test program sequence file in TestStand sequence editor, however I got a "vi broken" error when I run using my custom UI. This happen to when I configure the LabVIEW adapter to RTE or even Development System. I check the vi that causing the error, I do not see the "broken run arrow" in LabVIEW and I am able to run the vi. I am guessing that the issue happen when LabVIEW not able to find nidcpower.llb or nidcpower_64.dll when I run the sequence file using custom UI.
What is the possible root cause and what is the different when I run using custom UI compare to run in sequence editor?
Environment: LV 2020 64bit , TestStand 2021 64bit
Thanks in advance
08-26-2024 02:31 PM - edited 08-26-2024 02:33 PM
Try changing the version/bitness of the TestStand LabVIEW adapter.I think I misread the question. Not sure I understand it, sorry.
08-27-2024 01:14 AM
Sounds tricky....is the NIDC Power related code the first LabVIEW Code which gets executed? If you comment out "Init DCStuff", will you see other broken VIs then?
08-27-2024 10:54 PM - edited 08-27-2024 11:03 PM
Update on my findings:
I realize that I need to configure the complete file path of the dll file for "Call Library Function Node". the default value was nidcpower_*.*
The vi file that use the dll is "niDCPower Initialize With Channels.vi"
Is there any configuration that can configure where the LabVIEW runtime will search for the dll so that I can remain the default value as nidcpower_*.*
But I am also curious that why this error does not appear when I run the sequence file using sequence editor (also using LabVIEW runtime)