03-27-2006 03:33 PM
03-29-2006 05:12 PM
03-30-2006 07:03 AM
Thank you for responding, Ebele!
The equipment that I am using is very similar in function to a DMM. The machine constantly refreshes the values of measurement.
The data stream from the command 'IBRD 22' is returned as 22 Bytes of data Like this:
[0100] (cmpl)
count: 22
42 52 20 2D 36 37 2E 35 BR -67.5
2A 64 42 20 20 20 31 33 *db 13
31 32 20 20 31 0d 12 1.
If I try to force multiples of reads using the command '100*IBRD 22', then I will get the timeout between every other data stream like this:
[0100] (cmpl)
count: 22
42 52 20 2D 36 37 2E 35 BR -67.5
2A 64 42 20 20 20 31 33 *db 13
31 32 20 20 31 0d 12 1.
[c100] (err timo cmpl)
error: EABO
count: 1
0a
[0100] (cmpl)
count: 22
42 52 20 2D 36 37 2E 35 BR -67.5
2A 64 42 20 20 20 31 33 *db 13
31 32 20 20 31 0d 12 1.
I have tried changing the timeout period from 0 to Infinite (17 max on my machine) with no resolve.
Every other stream of data is as expected per the command.
I tried reading less than 22 bytes per your request with the same result. It seems almost as though its a timing problem but
changing the timeout will not cure.
Any help you can offer is greatly appreciated!
Thanks
Phil
03-31-2006 09:53 AM
03-31-2006 02:03 PM
Thank you for the suggestion Craig!
I actually saw that myself. I have since tried reading 23 bytes but then every return is a timeout. I spoke with Technical Support for the company
and she was able to replicate my problem but was unable to effect a fix. Must be a bug in their GPIB software.
Anyhow, I am just going to code the task and run a loop in my routine instead of relying on the equipment's S/W.
Thanks again for responding and offering to help!
Phil