LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Script a UI for interfacing with an FPGA Bitfile via Control Read/Write node

I'm looking to automate creation of a duplicate UI for a given FPGA Bitfile. I have access to the original VI, so I have an easy way to just copy and paste the entirety of the FP to a new VI. I then want to create an FPGA Open and Read/Write node which is then automatically wired to the appropriate FP elements (with read/write determined by the Control/Indicator status of the actual FP controls).

 

I typically use interactive mode, but we are experiencing some difficulties with this and the option to run the code via "proxy" UI would be of help. It would allow us to programmatically call other functions (such as Flex RIO config VIs) while executing the VI. Since we're in a rather fluid stage of development, the UI changes often. Manually maintaining this is not something I would like to be spending my days on..

 

I have found some FPGA Interface scripting methods under vi.lib/rvi/ClientSDK/Core,Scripting but it's pretty incomplete.

Intaris_0-1664805715155.png

 

I can create the node for reading and writing, but due to the lack of actual scripting references for this node, I cannot wire it programmatically, which is kind of the point.

 

I am using LabVIEW 2015, are there any additions to this in newer LV versions?

0 Kudos
Message 1 of 2
(523 Views)

Oh never mind, I think I found it.

In the "private" folder of the Read/Write node, there's a VI (which is set to public, not private) to return the terminals for the node. I can use this to wire it up. Nice.

0 Kudos
Message 2 of 2
(515 Views)