ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
09-24-2007 03:46 PM
09-25-2007 07:01 AM
Hi,
Maybe you are receiving a timeout error but because you are not receiving the return value you maybe missing it.
The default timeout is 10 secs.
Regards
Ray Farmer
09-25-2007 09:02 AM
Hi,
In your Receive statement, it is currently setup like so:
Call Receive(iBoardID, iDUTAddr, idnStr, DABend)
where it is using the termination of DABend. However, the DABend termination is for the Send call. For terminating the Receive call, try using STOPend instead, as shown below:
Call Receive(iBoardID, iDUTAddr, idnStr, STOPend)
According to the online help for Receive, the Termination STOPend stops the read when a byte is received with the EOI line asserted.
Hope this information helps!
gpibtester