06-11-2014 03:46 PM
Hi,
Thank you for your response. I am having trouble understanding what is posted however. I am finally able to get an output from the R Visa, but it only returns "U". So I was wondering what is within the case structure labeled "12 bit"? It seems like a lot is going on there, but I would like to be able to see what the outputs are in Dec or number format.
Thank you.
06-11-2014 03:50 PM
Yes, and the ascii code for an upper-case U in decimal is (drum roll please): 85!
Mike...
06-11-2014 03:51 PM
Capital U is an 85 (you really should keep an ASCII Table near by at all times). Did you change the string to a byte array? From there, Jeff was combining bytes to get larger data types based on the manufacturer's command structure for a 12bit acquisition.
06-11-2014 04:29 PM
Thank you Everyone!!!
06-11-2014 04:51 PM
@mikeporter wrote:
Yes, and the ascii code for an upper-case U in decimal is (drum roll please): 85!
Mike...
Not bad for coding from spec!