LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga

My FPGA design downloads and runs correctly on my board.  When I try to run the Front Panel I get the following error:
Error - 1073807300 occurred at VISA Open in nirioIntfcOpen.vi:1-host.vi
where host.vi is the host.vi that I am trying to run.  How can I overcome this error?
0 Kudos
Message 1 of 4
(6,695 Views)
dmcurt,

When you say that your design downloads and runs correctly, how is this case different from when you run the Front Panel and get an error? I'm assuming in the latter case you are using a host VI and opening a reference to the FPGA using the FPGA Interface API?

What is the nature of your setup and what hardware are you using? Is your FPGA device located in the host machine, are you using CompactRIO?

If the FPGA device is in a remote machine, have you properly set the VISA Server permissions for that machine?

Does this occur on every FPGA project you have tried including shipping examples? Does is occur after restarting LabVIEW?

What versions of LabVIEW, LabVIEW FPGA, NI-RIO, and NI-VISA are you using?
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 2 of 4
(6,673 Views)

When you say that your design downloads and runs correctly, how is this case different from when you run the Front Panel and get an error? I'm assuming in the latter case you are using a host VI and opening a reference to the FPGA using the FPGA Interface API?

That is true. When I run through the host VI front panel using a reference to the FPGA I get the error. If I run the FPGA VI without the host VI I will not get the error. However once I have gotten the error by running the host VI I continue to get the error even if I run just the FPGA VI.

What is the nature of your setup and what hardware are you using? Is your FPGA device located in the host machine, are you using CompactRIO?

The FPGA is local . I am using the NI PXI-1042 with the NI PXI-7833R FPGA board.

If the FPGA device is in a remote machine, have you properly set the VISA Server permissions for that machine?

Does this occur on every FPGA project you have tried including shipping examples? Does is occur after restarting LabVIEW?

It does not occur on every FPGA project I have done. In fact this project was fine until I added the host VI to it. I have tried restarting LabVIEW to no avail.

What versions of LabVIEW, LabVIEW FPGA, NI-RIO, and NI-VISA are you using?

I am using LabVIEW 8.2 with LabVIEW FPGA 8.2. with NI-RIO 2.1 and NI-VISA 4.0.

Thank you for your help.

0 Kudos
Message 3 of 4
(6,663 Views)
dmcurt,

Here are a few things to try:

1) Make sure the RIO resource name is correct for your device on the Resource Input terminal of the Open FPGA Reference VI.  You can check the RIO resource name for your device in your project explorer window or from MAX.  Typically it is something like RIO0::INSTR

2) In Tools » Options, in the Environment category, make sure the checkbox Automatically Close VISA Sessions is NOT checked.

3) Try creating a new simple project with a very simple FPGA VI, and create a host VI, and see if this works.  If it does, I would suspect something has become messed up with the reference in and outs of the specific host VI that isn't working.  I would suggest deleting and replacing the FPGA Interface VIs and trying again. If the new simple project doesn't work either, you may want to run a repair on NI-VISA and/or NI-RIO.

Let me know how it goes!
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me 🙂
0 Kudos
Message 4 of 4
(6,658 Views)