07-26-2018 02:09 PM
Hey guys,
I'm working with Monitor OPC Items with DataScoket.vi. This is an NI LabVIEW example. I'm having a problem reading the hostname of a computer on a network from the computer which is running this VI. It looks like there isn't a network issue since we can move files around these two computers and we also can ping each other. And we also can put an IP address in Browse host box and hit ok to get the OPC tags from the network computer. It's just the application couldn't read the hostname of the network computer. Any advice on this issue would be appreciated by heartily.
Thanks,
Jatin
Solved! Go to Solution.
07-27-2018 07:58 AM
Hey Jatin,
Are you receiving any errors within the VI? The VI is pretty simple so troubleshooting should be straightforward. I would try running LabVIEW as Admin and turning off your firewalls?
-Bear
07-30-2018 11:23 AM
Hey Bear :),
I didn't get any errors within VI and I was running LabVIEW as admin and my firewalls were off. Eventually, I figured out a way to do it is by cleaning up the cache memory for dns. I ran following commands to do it.
ipconfig/flushdns
netstat -R