FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA Target issues

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 4
(5,126 Views)
Hi ashm01,

I hope you are doing well today! What modifications did you make which caused that error? Also, what does the error exactly say? I found one knowledge base article which may help you out:
Error 1073807346: Error Occured at VISA Open and NI-RIO Open: Given Session or Object Reference is I...
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 4
(5,101 Views)
Hi Adnan,

I had the FPGA VI along with the whole project compiled in another PC for testing and then finally moved it on the intended target.(Same configuration). Like I had mentioned, everything was working fine until I had to recompile the VI due to changes. Since then, I started receiving the mentioned error. I had already check the properties and the RIO0::INSTR was already there.

In another thread, someone else was receiving the other related error code and he mentioned to disable automatic close VISA settings. I did the same in the Project RT Target and within the labview options. Rebooted the PC and PXI chassis and the RIO device was accessible. Smiley Surprised I clicked on reset and no error dialog boxes either.

To be curious, I reenabled the automatic close VISA settings and it still works normal.Smiley Surprised

I never realized how significant this checkbox turned out to be in this version .Smiley Very Happy

Thanks,
Ashm01
0 Kudos
Message 3 of 4
(5,075 Views)
Hi ashm01,

I hope you are doing well today! I am glad you were able to resolve the issue. The solution you mentioned had been documented in our knowledge base but I was not sure if it was the right answer to your question. I will post the link to the solution over here if any other customer has the same issue and lands to this post. Thanks for coming back and posting the steps that solved your issue!
VISA Error -1073807346 When Opening a VISA Session in LabVIEW

Have a great day!
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 4 of 4
(5,068 Views)