10-10-2022 12:03 PM
Hi! Thanks kindly for looking into it. There are couple of components for instance like power supplies, oscilloscopes etc that we are using labview to connect to them and perform functions ex: turning on and off etc. For each of these components there are labview associated drivers that already have .vi's that help in taking to these components Ex: Initialize.vi, Close.vi etc.
In labview 2021 version, the driver associated vi called Initialization.vi is not playing well and generating an error as its output. The error does occur when it hits visa related objects inside the initalization.vi. For example, attached is an example of how it errors out for MagnaDC powersupply. Initially it was assumed that it was only magnadc driver related but the same error seems to be reciprocating for other component drivers as well and in the same instance when it hits the visa related object in the vi.
MagnaDC initialization.vi:
Initialization.vi with Probes:
Error after being run:
Probe window after being run:
It does seem to connect to the component fine through the putty session though and we're able to send commands to it but that doesn't seem to be the case when adding labview in the equation. From the initial wireshark that was put forth it seems as if both the visa and component themselves are talking different protocols.
Putty Session:
Question:
Is there any way to remedy this initialization.vi's visa related generated error? If it helps, it is able to initialize fine with older version of device's drivers although not consistent all across.
10-10-2022 12:50 PM - edited 10-10-2022 12:50 PM
Judging by the error message (that I had to look up because you didn't bother posting it)
"Insufficient location information or the device or resource is not present in the system"
Either the device is not on the IP address or the Initialize vi is looking for a serial port.
I can't tell by your pictures it you have the initialize vi wired properly. Which is why you should always attach your vi not just insert pictures of your block diagram.
10-10-2022 03:39 PM