01-07-2026 05:51 AM
Hello
first time posting here, thank you in advance for help. and sorry for lack of knowledge
i keep getting timeout when building simple VISA VI. Open, write, read, close. regardless of command. trying "*IDN?"
device is setup in NI MAX, connected and in NI MAX query works great for "*IDN?"
with Trace i noticed 1 identifier is missing in my VI and present in MAX.
i dont know what is this "identifier" and how to set it, or if it even is the reason. pls help
picture of trace, first session is MAX, second VI, third is MAX again to confirm "identifier" is different for every session.
ignore the red in IMAX, enable term char fixes this, but we still get read and i wanted to keep trace data to relevant only.
X = (0x097128B8)
identifier X is given in ParseRsrc , in both MAX and VI
identifier X seems to bet set at OPEN in max, i can't find set for it in VI VISA opan
in MAX identifier X is also used for write/read and not on VI VISA write/read (gets slightly altered)
is the identifier set already in device under name (TS2000)? if so why i get request time out
01-07-2026 07:48 AM
I suspect you need a Carriage Return added to your command string. The Carriage Return acts as the termination character, telling your instrument that the whole command has come in and it can act on it.
01-07-2026 01:19 PM
Have you set "TS2000" to be an alias for something in NI-MAX? If so, can you show us the screenshot of where it's configured?
I would expect it to be something like "TCPIP0::127.0.0.1::35555::SOCKET" when it's not an alias, based on the other debug screenshots.
Also, did you check to see if you have a Windows firewall enabled? It could be that you've got it up and NI-MAX has it set to pass but LabVIEW is set to block.