In my LabVIEW code, I am using a visa constant that references the instrument by its hostname. TCPIP0::K-N6700C-20530.local::INSTR::inst0. Suddenly, this constant no longer works. I get instrument not present in the system errors. If I go into MAX, I can specify the instrument by its IP address, I can get a visa test panel and communicate with the instrument. When I try to put the host name in the appropriate box in MAX, the visa test panel gets grayed out and it won't let me save the configuration. If I just go with the IP address (TCPIP0::169.254.132.6::INSTR::Inst0 shown in MAX), I can alter the constant in the source code and all works fine, but unfortunately, I am unable, for administrative reasons, to recreate the .exe, so I must get the host name back in MAX.
One other possibly related bit of information. The two local instruments on this stands local network (the other one uses HTTP and is not affected by this issue) do not show up in the list of instruments on the local network, but 5 other instruments somewhere else in the building do.
I have tried entering the hostname with and without the .local, with and without uppercase letters.
Does anyone have any idea why referencing an instrument via its hostname would spontaneously stop working, or what I might do to be able to specify the instrument using its hostname in VISA again? Thanks.