Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

trying to read digital word from agilent u2531a

dear all,

 

   i'm trying to read a digital word from agilent u2531a but it returns a error message

i've attached my file. Can anyone tell where i make some mistake or give me an example

of how to use the digital input from agilent u2531a?

 

0 Kudos
Message 1 of 2
(2,966 Views)

If you want help with an error, you really have to provide the error code and message. However, a quick glance shows that you are doing a read without issuing a query command. This would result in a timeout error. If this is the case, you need to understand some of the basics of instrument communication. An instrument will not place data in it's transmit buffer for reading until it receives a query. With SCPI, a query command is terminated with a ?. Look through the programming manual to determine the query you need and then find that in the driver. I suspect that all you need to do is use the Read function set to the Digital Pattern instance.

0 Kudos
Message 2 of 2
(2,962 Views)