Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

when does write(string data) return?

Solved!
Go to solution

My question is in regards to NationalInstruments.NI4882.Device.Write(string data)

 

If I issue this command while the GPIB bus is busy, will it return once the message I passed in is queued, or will it return once the message I passed in is sent out successfully on the GPIB bus?

 

Thank you for your help

0 Kudos
Message 1 of 2
(3,585 Views)
Solution
Accepted by topic author Peter.Baugman

This function will actually wait until the message is sent, and it receives an acknowledgement from the receiver. The Status array that is returned is updated after the write is complete before it is returned to the calling program.

 

---

Peter Flores
Applications Engineer
0 Kudos
Message 2 of 2
(3,560 Views)