Hi Ryan,
I finally got the dpib.send command to work in delphi and NOW IT WORKS.
I don't know why, but thefocus does not return to my application until the
instrument (spectrum analyzer HP8591E) has finished the command.
Could it be because I use eotmode=1?
Or is there a significant difference between the Send32 command and the
ibwrt command?
/Anders
"Ryan M" skrev i meddelandet
news:506500000005000000E92A0000-986697009000@quiq.com...
> There really is no way to have the controller able to wait explicitly
> for the instrument to finish executing the command unless the
> instrument has a special poll response flagging completion. The
> controller will wait untill all of the data has been successfully
> handshaked from the controller to the
instrument but there is no way
> to tell if the instrument is finished unless you can determine if
> there is a response to be read or if there is a status byte you can
> serial poll for and compare. You may be able to use service requests
> (SRQ) to more easily synchronize your code.