Help me with connecting a scope to PC by RS232

Status
Not open for further replies.

jakjoud

Full Member level 2
Joined
Feb 6, 2005
Messages
129
Helped
10
Reputation
20
Reaction score
1
Trophy points
1,298
Location
Marrakech
Activity points
954
Scope to PC

Hi,
In fact I've a problem, I wanna connect my scope (HM 407 or HM 1507) to A computer by RS232, I've the comands of the scope but I don't know how to get the message of the scope, I can transfert some data then I hear some bip, is that mean that it receives data? so why it does not send aknowldgement, I'm using MATLAB and the comands:
s=serial('COM1');
fopen(s);
fprintf(s,'VERS?'); % asking for the version
A=fscanf(s);
fclose(s);
I can get the transfert mode in s, but A still alwayse empty
HELP please
Thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…