LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building a .exe when i only have a FPGA and a RT vi on my NI myRIO.

Solved!
Go to solution

Hello,

 

I would like to mae a .exe for my RT/FPGa programm which i made with the myRIO. Unfortunately i just figured out (or got to the conclusion that i am dumb) that you cant build a .exe for windows from just the RT/FPGA vi.

My question is, what would be the easiest workaround to get the RT.vi i wrote as a vi on "my Computer". Do i have to collect every data i want and send it via a FIFO to the host PC?

 

Best regards

 

Mismatch

0 Kudos
Message 1 of 7
(1,602 Views)
Solution
Accepted by topic author Mísmatch

Hi Mismatch,

 


@Mísmatch wrote:

My question is, what would be the easiest workaround to get the RT.vi i wrote as a vi on "my Computer"?


You don't need a "workaround"!

The RT.vi will run as startup executable on your myRIO. The FPGA bitfile will run in the FPGA.

To run an executable on your Windows computer you need to create an additional VI in the "My computer" part of the project and then create an executable from it!

 


@Mísmatch wrote:

Do i have to collect every data i want and send it via a FIFO to the host PC?


This is explained in the example projects coming with LabVIEW and RT module.

You don't use FIFOs, but network communication functions instead!

Best regards,
GerdW


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

Hey GerdW,

 

thank you for your respons.

I get it that my RT and FPGA vi´s run as startup executables and i already set them so but my problem is that i made the RT.vi really "user input" heavy so it wont run without userinput. Now i thought that i have to use some kind of fifo or like you said network communication to get the data, i had in my RT.vi, to my PC. I attached my whole project as a .rar file maybe you could take a look at it and tell me what would be my best option to solve that problem? Do i have to rewrite the RT.vi to just acquire the data and write a new .vi on my PC to filter/acquire the data as i need it? What would be my best option to get the data? Just through the network communication? 

Thanks in advance (still a beginner at labview)

 

Best regards

 

Mismatch

0 Kudos
Message 3 of 7
(1,554 Views)

Don't attach .rar files as that forces people to download 3rd party tools to be able to open them.

 

Just attach .zip files as .zip file handling is built into Windows.

0 Kudos
Message 4 of 7
(1,549 Views)

Sorry i did not think about that. Here the .zip now 🙂

0 Kudos
Message 5 of 7
(1,538 Views)

So i solved that problem now with variables where i just put the wanted singals to variables an on my PC the vi recieves these variables. But now i have a problem with the FPGA startup. Whenever i restart the myRIO only the LED2 blinks but nothing else happens. I Tried to google it but didnt find any answer for this.

0 Kudos
Message 6 of 7
(1,489 Views)

Thank you all for the help. The rhing with the variables pretty much solved my problem and i figured everything else out (there was some othwr fpga programm still on the myRIO) 🙂

Have a nice week.

 

Regards

 

Mismatch

0 Kudos
Message 7 of 7
(1,466 Views)