04-21-2021 09:56 AM
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.
04-21-2021 11:35 AM
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…
04-23-2021 11:12 AM
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.
04-23-2021 11:25 AM
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: