08-12-2020 08:38 AM
Hi everyone,
I have a myRIO that i try to use to implement a factory pattern of OOP.
I have to classes that i need to load dynamically on the VI running in the RT target.
Firstly, i saved my classes in the myRIO's memory on the path /home/lvuser/natinst/LabVIEW Data/Host_Class in the directory Host_Class.
And i give to the VI "Get LV Class Default Value" this path but i had this error :
Error 7 occurred at : Get LV Class Default Value.vi
Possible reasons :
LabVIEW: (Hex 0x7) File not found. The file may be in a different location or may have been deleted. Use the command prompt or file explorer to verify that the path is correct.
=========================
GPIB interface not existing.
LabVIEW tried to load the class this way:
/home/lvuser/natinst/LabVIEW Data/Host_Class/Accelerometer/Accelerometer.lvclass
But when i check this directory, my classes are there
08-12-2020 09:10 AM
crosspost on LAVA: https://lavag.org/topic/21715-factory-pattern-on-a-vi-running-on-rt-target/
08-12-2020 09:16 AM