08-22-2022 03:53 PM
Hello,
I am wrote a problem using the NI-VISA library using C# and Visual Studio. It was working in an earlier version of Windows 10 and .Net library but now whenever I run the problem I am getting the error "Insufficient location information or the device or resource is not present in the system."
It is from the code:
using (var rmSession = new ResourceManager())
{
try
{
mbSession = (MessageBasedSession)rmSession.Open(connectionString);
Where the connctionString is "TCPIP0::10.99.0.26::inst0::INSTR" without the quote. I am running .Net 4.8, using Visual Studio 2022 and NI-VISA 22.50.
Thanks
Denny
08-22-2022 09:38 PM
Do you see the "TCPIP0::10.99.0.26::inst0::INSTR" in NI MAX remote systems?
The error states that the instrument with the specified string as identifier is nowhere to be found.