LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fuzzy Load System

Hi

I am doing a university project on using fuzzy control for non-linear systems but when I try to load by fuzzy system file into labview the output of the load vi is empty. If anyone could help with this it would be really appreciated. I have attached a picture of my code for reference.

Thanks

Chloe

0 Kudos
Message 1 of 6
(2,532 Views)

Hi Chloe,

 

from your screenshot it seems you run that VI on a myRIO system.

Did you also deploy the Fuzzy definition file to the myRIO?

I guess you already heard that myRIO cannot access your PC's harddrive…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,522 Views)

Hi GerdW

I have deployed the entire main VI to the myrio, but not the file on its own. Does the file need to be deployed separately? If so do you know how I could do this?

 

Many Thanks

Chloe

0 Kudos
Message 3 of 6
(2,513 Views)

Hi Chloe,

 

I have deployed the entire main VI to the myrio, but not the file on its own. Does the file need to be deployed separately?

The Fuzzy definition file needs to be deployed to your myRIO too. You can do it in one step, together with your myRIO executable.

 

If so do you know how I could do this?

When you build the myRIO executable you can include any other file in the build specs. The file will be deployed to the "data" subfolder of your executable (by default).

(This is my experience with cRIO devices.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,509 Views)

Hi GerdW

Unfortunately I have now deployed the .fs file to the myRio and it is still not finding the file correctly.

Thanks for your help

Chloe

0 Kudos
Message 5 of 6
(2,504 Views)

Hi Chloe,

 

you surely changed the file path to the correct location?

 

That's what I do to find the "data" subfolder of my cRIO executable:

check.png

(That "Get Dir" subVI strips any filenames and returns a folder path.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,502 Views)