LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA RIO Target Issue

Hi,

I am facing the multiple problems on my system after recompiling the FPGA vi. I
I have the following:
PXI RT Controller 8196, PXI 7833 R connected to a few cRIO modules. Things were working perfectly until we had to modify the FPGA VI. Upon Compilation, it started giving me this error.
 I have already tried the following:
  • Repaired RIO (No luck) Smiley Sad
  • Repaired VISA (No luck) Smiley Sad
  • Repaired FPGA (no luck) Smiley Sad
  • Repaired LV RT (no luck) Smiley Sad
  • ReFORMATTED PXI Controller and reinstalled all software (No luck) Smiley Mad
  • Ensured that VISA is able to access the PXI 7833R by going into MAX and checking whether I can read/SET vaues. (That works)
  • In the process it cannot now load the NI-DMM DLL's. (Disabled DMM code) but still no luck.
I also get this error
−1073807346 The given session or object reference is invalid.
when I go into the project explorer and right click on the FPGA device and click reset

Please someone assist on this.

Regards,
Ashm01
0 Kudos
Message 1 of 3
(3,978 Views)

Can you run the your FPGA VI in emulation mode?  Right click on your FPGA target in the Project Explorer window and go to its properties.  Set its emulation to On- Use Target Hardware for I/O.  Then run the VI?

Regards,

Joseph D.

0 Kudos
Message 2 of 3
(3,962 Views)

Hey Joseph,

Another post in the fieldpoint forums had the same problem... Apparently, if we have the "Autolmatically close VISA sessions" LabVIEW environment setting enabled, we get this error.  Disabling this solved the problem.

Once I disabled this, I was able to control the cRIO modules.

Thanks,

Ashm01

0 Kudos
Message 3 of 3
(3,939 Views)