LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to read a running VI on cRIO from LabVIEW

I am currently learning to use LabVIEW currently so there may be a method I am not seeing of doing this.  But, I was handed a project by a co-worker that recently left the company which includes a cRIO with a NI-9264 card providing some voltage and current output reference signals. What I am looking to do is see how to either see the code running on the cRIO providing the signals with my LabVIEW software (or other?).

 

To elaborate more.  The files used to load into several sbRIO units has a complete project folder with the LVPROJ and VI files but the file folder with the cRIO only has the VI files, at least I think so given the quick handoff of the project.  I am being asked to rinse and repeat the setup on additional NI-9264 cards which might be a pain given my level of understanding and the missing LVPROJ and VI files.

 

As a possible secondary option if possible, can I use LabVIEW to "see" the values from the NI-9264 instead and therefore backward engineer the file and rebuild it?

 

Thanks.

0 Kudos
Message 1 of 4
(1,527 Views)

Hi spark,

 


@spark706 wrote:

What I am looking to do is see how to either see the code running on the cRIO providing the signals with my LabVIEW software (or other?).

 

but the file folder with the cRIO only has the VI files, at least I think so given the quick handoff of the project.  I am being asked to rinse and repeat the setup on additional NI-9264 cards which might be a pain given my level of understanding and the missing LVPROJ and VI files.


Place the VIs you got from your coworker into a new project. You still can open and examine them…

Best regards,
GerdW


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

Unfortunately, I have 3 VI files in the folder and all three are similar but with small differences which make that solution not feasible.  As mentioned there are several VI files handed off ass opposed to a single VI file.  I have opened the VI and looked at them but without knowing which is on the cRIO I am still working blind.

 

I am guessing that there is no current method to read the file via an ethernet connection, which I have, and read the exact file located on the FPGA?  Seems to me like a pretty good option given such situations.  

0 Kudos
Message 3 of 4
(1,463 Views)

Hi spark,

 

when there is a routine running on your sbRIO boards right after powering up then it is a "rtexe" (RT executable) set to "run as startup". As the name implies it is an executable and not a VI, and so it doesn't make sense to try to read that rtexe from your sbRIO.

 

Steps to take:

  • Learn LabVIEW, then learn LabVIEW/RT (and LabVIEW/FPGA, if needed).
  • Ask the guy who created the VI(s), read the manuals your company should have made for that project.
  • Try to find the old project on your company's SCC tool server (or backup, atleast).
  • Then choose the VI which suits best for your observed sbRIO behaviour and create a new project with it.

 

Best regards,
GerdW


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