LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA: (Hex 0xBFFF0011) Insufficient location information or the device or resource is not present in the system.

Solved!
Go to solution

Instrument available but error persistsInstrument available but error persists

 

Even though all my instruments are found by NI-MAX and their names populate the Select instrument dropdown list the WRITE action tells me the instrument addressed can not be found. What am I doing wrong ?

Connection is via Ethernet to a wireless access point on my network.

Other ways to send the command *IDN? like directly from NI-MAX work fine.

0 Kudos
Message 1 of 6
(598 Views)

Can you communicate with any other instruments (that don't have an X)?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 6
(534 Views)

I am not sure why you ask this question and what you mean by it "not having an X"

 

I can communicate via telnet to the 3 Siglents I have

I can communicate via NI-MAX to the 3 Siglents and the Rigol I have

I can communicate via Labview to the Rigol I have but not the 3 Siglents as they give an error on the write vi, not on the open or close vi icon

 

Rigol example via NI I/O Trace (difference of the metamagically auto generated code in BOLD)

7. VISA Open ("TCPIP0::192.168.1.75::inst0::INSTR", False, 0 (0x0), 0 (0x0), "TCPIP0::192.168.1.75::inst0::INSTR")
Process ID: 0x00000334 Thread ID: 0x00004814
Start Time: 13:20:52,3608 Call Duration 00:00:00.0904
Status: 0 (VI_SUCCESS)

8. VISA Write ("TCPIP0::192.168.1.75::inst0::INSTR", "*IDN?", 5 (0x5))
Process ID: 0x00000334 Thread ID: 0x00004814
Start Time: 13:20:52,4513 Call Duration 00:00:00.0070
Status: 0 (VI_SUCCESS)
9. VISA Read ("TCPIP0::192.168.1.75::inst0::INSTR", 100 (0x64), "Rigol Technologies,DSA815,DSA8A214301141,00.01.19.00.02.")
Process ID: 0x00000334 Thread ID: 0x00004814
Start Time: 13:20:52,4583 Call Duration 00:00:00.0029
Status: 0 (VI_SUCCESS)
10. VISA Close ("TCPIP0::192.168.1.75::inst0::INSTR")
Process ID: 0x00000334 Thread ID: 0x00004814
Start Time: 13:20:52,4612 Call Duration 00:00:00.0028
Status: 0 (VI_SUCCESS)

 

The not working Siglent example

 

13. VISA Open ("TCPIP0::192.168.1.36::inst0::INSTR", False, 0 (0x0), 0 (0x0), "TCPIP0::192.168.1.36::inst0::INSTR")
Process ID: 0x00000334 Thread ID: 0x00004814
Start Time: 13:23:40,7568 Call Duration 00:00:00.0113
Status: 0 (VI_SUCCESS)
> 14. VISA Write ("TCPIP0::192.168.1.36::inst0::INSTR", "*IDN?", 0 (0x0))
> Process ID: 0x00000334 Thread ID: 0x00004814
> Start Time: 13:23:40,7681 Call Duration 00:00:00.0006
> Status: 0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
> because the line is printed in red <
15. VISA Close ("TCPIP0::192.168.1.36::inst0::INSTR")
Process ID: 0x00000334 Thread ID: 0x00004814
Start Time: 13:23:40,7688 Call Duration 00:00:00.0020
Status: 0 (VI_SUCCESS)

 

Although I do not change anything the viWRITE uses or responds with either a 5 or a 0

This is not under control of me as far as I can tell

0 Kudos
Message 3 of 6
(525 Views)
Solution
Accepted by topic author waterwin

Issue found (read the manual) ...

 

Programming Guide SDG_ProgrammingGuide_PG_E03B.pdf
page 71
6. Communicating with the device via TCP/IP is similar to USBTMC. But you need to
change VISA Write and VISA Read Function to Synchronous I/O. The LabVIEW
default is asynchronous I/O. Right-click the node and select Synchronous I/O
Mod>>Synchronous from the shortcut menu to write or read data synchronously

 

The Rigol can handle both asynchronous and synchronous over TCP/IP, the Siglent can only handle synchronous I/O over TCP/IP

Message 4 of 6
(521 Views)

waterwin_0-1622993231553.png

 

TCP/IP for Siglent needs synchronous communication

0 Kudos
Message 5 of 6
(507 Views)

Hey, sorry you had to find the solution on your own, but I'm glad you did.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 6
(472 Views)