From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: fuzzy logic - Labview

Sir how to create program fuzzy logic  on sbrio?

why my fuzzy logic file path can't detect when i run my real time vi?

0 Kudos
Message 1 of 9
(2,798 Views)

Hi zrohman,

 

why my fuzzy logic file path can't detect when i run my real time vi?

Most often the problem is: the sbRIO doesn't has access to your PCs harddrive!

 

The sbRIO is a computer on its own! You  need to transfer any needed data/files to your sbRIO while deploying your software…

Best regards,
GerdW


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

So how to transfer my fuzzy logic file/data path from my pc drive to sbrio? 

Please tell me sir, 🙂

 

0 Kudos
Message 3 of 9
(2,734 Views)

Hi zrohman,

 

when you build your RT exe you include all data files in the build (as additional file).

Those additional data files will (by default) be stored in the data subfolder next to the RTEXE. Load them from that path…

Best regards,
GerdW


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

Nanya Fuzzy.png

 

this is my front panel, still can't access my fuzzy logic files

0 Kudos
Message 5 of 9
(2,706 Views)

Hi zrohman,

 

did you deploy that file together with your RTEXE to the sbRIO?

You still don't try to load this file from the "data" subfolder as mentioned before!?

Best regards,
GerdW


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

To be honest I am very layman using sbrio ni labview, i do not understand what you say sir, huh huh 😞
could you explain; guide; tell; me step by step to create fuzzy logic on sbrio with picture?

0 Kudos
Message 7 of 9
(2,696 Views)

Hi zrohman,

 

create a new executable for your sbRIO. When doing so add the data file as additional file to the build.

The AppBuilder will show you the file path, where that data file is stored on your sbRIO…

 

Did you read all those free resources on cRIO/sbRIO for beginners?

Best regards,
GerdW


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

I know its an old post, but still...

-suppose you can ftp into your controller? Then place the .fs file in the same folder as where you found the other files?

-if you set as file path ..\fuzzy.fs  then it should work? Found even with LV2023 the .fs file needs to sit in the same folder as the vi that is using it. So this is what ..\ does, gets the file from the same folder.

0 Kudos
Message 9 of 9
(362 Views)