11-14-2023 11:33 AM
Hello,
We controling the SRS DG645 with Labview 2016 via Ethernet interface. We have upgraded LabView to version 2023Q3 64bit. Now we are unable to connect to the device, ni-max does not recognize the device.
We replaced the communication cable. We checked the settings of the DG645, and there is no change. I would appreciate your assistance.
Solved! Go to Solution.
11-14-2023 12:47 PM
Do you use VISA or the TCP/IP function to communicate?
11-14-2023 02:30 PM
Can you upload screenshots of MAX and the LabVIEW VI? Do you get an error when you run the VI?
11-14-2023 11:33 PM
Hello,
We use Visa.
Attached are NI-MAX, LabVIEW vi and screenshots of the error message.
In the network devices the DG645 appears in the list due to importing a previous MAX configuration file (didn't help to solve the problem).
11-15-2023 01:55 AM
Thanks for the screenshots.
1. What is the value of the "Choose Instrument" VISA resource control that is fed to "Initialize.vi"?
2. In the MAX screenshot the IP address of the "DG645Lan" is 169.254.60.22.
- Is this the IP address you expect?
- Is the computer on the same subnet as the DG645 device? The computer should have an IP address of the format 169.254.60.xxx, and a subnet mask of 255.255.255.0
3. If you can, try excluding LabVIEW 2023 Q3 64-bit from any form of firewall. You can use the Windows Defender Firewall settings in the Windows Control Panel. If you can, you can use that Control Panel to disable the Windows firewall completely to enable testing, but don't forget to re-enable it when testing is finished.
4. You are using driver VIs that are part of the "Stanford Research DG645.lvlib" driver. Can you find the webpage of that driver and check that it's compatible with LabVIEW 2023 Q3 and/or with LabVIEW 64-bit?
11-15-2023 03:36 AM
Hi santo_13 and Petru_Tarabuta,
Thank you very much for the help. The problem has been solved, here are the steps for dealing with the problem:
Make sure that subnet mask on the device and pc are the same and the IP address on the device is correct.
Then:
The NI-MAX shows that DG645 is connected then I run the DG645 VI and it's worked.
I don't know what change because I have done these steps before.
Before these steps I went into the VISA settings through MAX and changed some of the settings, maybe that helped.
Drivers installed:
Again, thank you very much for the help.
11-15-2023 01:49 PM - edited 11-15-2023 01:56 PM
Hi EYAL_FA,
To confirm, is your issue resolved now?
Earlier today, at 09:37 UK time (also UTC time), I received an automatic email from noreply@communitymail.ni.com that suggests that the issue has been fixed. The email seems to contain text that you wrote, but I can't see your reply in the forum discussion. I'm not sure what happened. Perhaps the web forum software experienced a bug.
That email is copied below:
"
Hello Petru_Tarabuta,
A reply to a topic you are following has been accepted as a solution!
Topic: |
stanford research systems DG645 Ethernet interface with LabView |
Author: |
EYAL_FA (New Member) |
Date: |
14-11-2023 05:33 PM |
Hi santo_13 and Petru_Tarabuta,
Thank you very much for the help. The problem has been solved, here are the steps for dealing with the problem:
Make sure that subnet mask on the device and pc are the same and the IP address on the device is correct.
Then:
The NI-MAX shows that DG645 is connected then I run the DG645 VI and it's worked.
I don't know what change because I have done these steps before.
Before these steps I went into the VISA settings through MAX and changed some of the settings, maybe that helped.
Drivers installed:
Again, thank you very much for the help.
"
11-30-2023 01:07 AM
Hello,
Yes. the issue is resolved.
Thank you for the help.