01-13-2010 11:59 AM
Here's what I am talking about. You could also build a single string with the ';' separator and pass to single VISA Write.
Also noticed that you wired the byte count from the VISA Write to the bytes to read of the VISA Read. This is absolutely the wrong thing to do. The number of bytes that you write have nothing to do with how many bytes the instrument will respond with. You need to read the manual and set the byte count to just something higher than you expect.
01-15-2010 07:56 AM
Hi Dennis!
Yeah!! It was exactly I wanted to do. When I read your message the day before yesterday I realized that I was wrong, because I didn't know how many data I was going to get from my machine, and it did't coincide with the data I was sending, obviously, but until today I haven't tried which works.
and using the for loops you can get all datas from the machine... I didn't try this.
Thanks for all. +1 Kudo.
Regards
Jose Ferrer