LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Advanced session resources

I remember there being an old NI Labs software for programmatically interrogating bitfile interfaces for Controls and FIFOs. We're haivng all kinds of problems with apparent lack of propagation or updating of Bitfile reference data and wanted to try this out.

 

https://forums.ni.com/t5/NI-Labs-Toolkits/LabVIEW-FPGA-Advanced-Session-Resources/ta-p/3500447

 

Unfortunately, the toolkit only has a package up to LV 2019. And a couple of older VIs which were in the rvi folder used to allow reading out the control and FIFO names from the bitfile located on disk, but these seem to no longer exist in LV 2025.

 

<\vi.lib>\rvi\Bitfile\Public\nirviGetControlsFromBitfile.vi

<LabVIEW>\resource\RVI\compilationResultUtilities\niLvFpgaGetDmaChannelInfoFromXML.vi

 

Is there a replacement, an alternative method? The issues we are seeing are starting to really prevent us from being productive.

Message 1 of 7
(317 Views)

LabVIEW FPGA Advanced Session Resources is included with the R Series device driver versions 21.0 and later.

 

Those VI are now at

  • C:\Program Files\NI\LVAddons\nilvfpgahostcomm\2\vi.lib\rvi\Bitfile\Public\niFpgaBitfileGet_ViInfo.vi
  • C:\Program Files\NI\LVAddons\nilvfpgahostcomm\2\resource\RVI\compilationResultUtilities\niLvFpgaGetDmaChannelInfoFromXML.vi
-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
Message 2 of 7
(225 Views)

Perfect, thanks.

 

I didn't even think of searching in the Program Files\NI subfolder.......

0 Kudos
Message 3 of 7
(201 Views)

So.... to continue on this, I have found the VIs and can parse the info in my bitfile, but the part where I can cast then to usable FPGA references I don't see. I think this is the "Advanced Session Resources" mentioned above.  For the life of me I cannot find a version of this to install......

0 Kudos
Message 4 of 7
(114 Views)

The VIs are available under FPGA Interface palette.

ZYOng_0-1768368658481.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 5 of 7
(94 Views)

 

This is the code I'm referring to, it takes the information about the interface which is returned by the VIs mentioned above and transforms it into an FPGA reference which can actually do something. I do not have these nodes.*

 

*Or at least that was the case, I've since installed the 2018 version of the toolkit, but have yet to be able to restart LabVIEW, busy debugging FPGA code

0 Kudos
Message 6 of 7
(55 Views)

If you install the Advanced Session Resources this installs an example, which contains these VIs.

I attach the example here (might be missing some ctl, but the VIs should be there).

Message 7 of 7
(29 Views)