LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga labview 8.2

I am having issues programming my FPGA using Labview FPGA.  I already have a bitfile that I am using with the FPGA reference, but the FPGA is not getting configured.  I am using Teststand software and calling Labview code to set up a reference to the FPGA.  That reference is then being saved to a station global.

 

Also, the FPGA PXI card that I am using does not appear in MAX explorer as a RIO device.  I tried reloading NI RIO 2.1 but that did not help.  The FPGA pxi card is PXI-7833R.  Any suggestions?

0 Kudos
Message 1 of 13
(3,967 Views)

Hello panninos,

 

Does your PXI card show up in MAX at all?

Also, does your PC recognize the card in Device Manager?

What type of OS are you working with (including 32 vs. 64 bit)?

Are you getting any kind of error message as you try to configure your FPGA? If so, a screen shot of the error would be very helpful.

I'm assuming you are on LabVIEW 8.2, what version of the FPGA Module are you using?

What version of TestStand are you working with?

Have you looked over the known issues for using NI-RIO 2.1 with LabVIEW 8.X within the driver's Readme file? The link is below

 

NI-RIO 2.1 Readme

http://download.ni.com/support/softlib//reconfigurable_io/NI-RIO%20Driver/NI-RIO/NI%20RIO%202.1/read...

Erin D.
0 Kudos
Message 2 of 13
(3,931 Views)

I upgraded to RIO 3.0.1 and now the pxi card appears in MAX, but I still have same issue.  

I am using a 32 bit machine, and I do not see any error messages when configuring the FPGA.

The Teststand version is 3.5.

0 Kudos
Message 3 of 13
(3,925 Views)

Yes, Labview 8.2 and Labview FPGA 8.2.0.

0 Kudos
Message 4 of 13
(3,921 Views)

Hello panninos,

 

I'm glad you can now see the PXI in MAX! Can you please clarify what you mean by configuring your FPGA, do you mean trying to compile your code to it? Are you able to compile and run your FPGA code within LabVIEW first before you tried running it from within TestStand? I would like to pinpoint whether the issue is coming from the LabVIEW code or your TestStand setup.

Erin D.
0 Kudos
Message 5 of 13
(3,870 Views)

The labview code has been compiled.  To initialize the FPGA, Teststand is calling Open FPGA reference vi.  We are using a bitfile to open the reference.  The reference is getting saved to a station global to keep it active.

0 Kudos
Message 6 of 13
(3,846 Views)

I'm glad that the LabVIEW code has been compiled. Can you run this compiled code interactively within just LabVIEW and not TestStand and have it run without error? I am trying to pinpoint whether the issue is coming from your LabVIEW architecture or the way you are calling it within TestStand.

Erin D.
0 Kudos
Message 7 of 13
(3,828 Views)

I tried placing the VIs that I use to open the FPGA reference and then close the FPGA reference into another VI.  I did notice that there was a broken arrow from the FPGA reference out of the Open FPGA reference vi and the FPGA reference in of the close FPGA reference vi.  The error message stated cannot connect different refnum types.

 

I did then copy the indicator from the open fpga reference VI to the close FPGA reference vi and converted it to a control.  That did remove the broken arrow I was seeing.

0 Kudos
Message 8 of 13
(3,820 Views)

I'm glad you were able to fix the broken run arrow. It is usually helpful to pres Ctrl+H to see the Context Help when hovering over a broken wire to see the cause of error. Once you had a run arrow, were you able to run your code interactively in LabVIEW and have it run without error? Just because you have a solid run arrow does not mean that the application architecture is without error. You may find that you are able to run the program, but still receive errors. 

Erin D.
0 Kudos
Message 9 of 13
(3,804 Views)

There was no error seen in the error out when the VI was run in Labview.

0 Kudos
Message 10 of 13
(3,773 Views)