Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Factory Pattern on a VI running on RT target

Highlighted

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

0 Kudos
Message 1 of 3
(260 Views)
Highlighted

crosspost on LAVA: https://lavag.org/topic/21715-factory-pattern-on-a-vi-running-on-rt-target/ 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(250 Views)
Highlighted

This LAVA's post it's from me

0 Kudos
Message 3 of 3
(243 Views)