From: mo on
hi..
hope someone would help me out with my problem.
iam a totaly newbie to Simulink and dSPACE,...

what iam trying to do is to send an ascii command over dSPACE-RS232.

i connected a RS232 cable to the dSPACE UART RS232 Master...to check if iam getting an output

iam trying to use the dSPACE Package found in Simulink, from there iam choosing SERIAL, and then the

SETUP box (i did all the properties settings, easy, no problem i think)
and the
DS1103SER_TX box

i would like to send the following ASCII CODE = "$01I<CR>"
the $ has an ascii code = 36
the <CR> has an ascii code = 13

now i would like to send the code and check if it has been recieved.

how should i connect the boxes together ? and how can i see if it has been delievered ?


the block has the following inputs/outputs

Inputs
TxBytes
Numbytes

output:
numTxBytes
status

any help is really appreciated
thanks in advance
 | 
Pages: 1
Prev: Diff a struct
Next: crating function