04-08-2008 01:47 PM
04-08-2008 01:53 PM
Hi Jim,
are you sure that there are only 20 Bytes to read? You can check size this of available bytes with a property node.
Mike
04-08-2008 02:00 PM
Yes I know. My original code had it looking at hte property node as the input to the read. That property node always tells me 0 bytes are on the port. So I changed the code to a hard coded value just to see if I would get any data back off the bus.
Basically what is happening is everytime I run the vi I send the 2 commands to the supply just fine but nothing comes back. After the first run, the supply then gives me an error beep because it still detects data that is ready to send back that has not yet been retrieved.
As I said if I use meas and auto explorer this process works just fine. I can send my 2 commands, and then when I read it gives me the data thats there.
04-08-2008 02:32 PM
Hi Jim,
are you sure that baudrate and parity and ... are correct?
Mike
04-08-2008 02:36 PM
04-08-2008 02:51 PM
04-08-2008 03:03 PM
04-08-2008 03:06 PM