rs232gui problem

Post Reply
Posts: 2
Joined: Wed Apr 20, 2011 3:37 pm

rs232gui problem

Post by alex » Wed Apr 20, 2011 3:45 pm

hello ,
i am trying to use a demo version before the real version , and i have a problem.
after building the same diagram from the presentation i pass the compilation and i get a wrong massage when i try to connect to rs232 gui in order to get a graph of accelerometers value.
(after connection i push "start" and i get the massage:

redefinition SerialCOM
??? Attempted to access s_control_pos(1); index out of bounds because numel(s_control_pos)=0.

Error in ==> C:\Users\alex\AppData\Local\Temp\Rar$DI00.579\blocks\RS232_analyzBloc.p>RS232_analyzBloc
at 78

Error in ==> C:\Users\alex\AppData\Local\Temp\Rar$DI00.579\blocks\rs232gui.p>pushStart_Callback at 305

Error in ==> gui_mainfcn at 96

Error in ==> C:\Users\alex\AppData\Local\Temp\Rar$DI00.579\blocks\rs232gui.p>rs232gui at 43

??? Error while evaluating uicontrol Callback

what may be the problem?

>> thank you

Site Admin - Expert
Posts: 616
Joined: Wed Mar 07, 2007 11:23 pm
Location: Bayonne- France

Re: rs232gui problem

Post by LubinKerhuel » Wed Apr 20, 2011 5:07 pm

Did you use the block Tx_Output_Multiplexed_For_Matlab-Labview ?

Is the baud rate right ? (are you using an RC oscillator which have low precision, or a precise quartz ?)

You could try to press "Raw", bottom left of the interface to get the raw value that the PC is receiving. Try to check if data received are Ok or not.


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest