Search found 5 matches

by odedyech
Sat Mar 10, 2012 8:36 pm
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22871

Re: send and receive multiple data using GUI

Hi again Saeed, I am not sure that this block you used (Data Store Write) is suitable for burning on the dsPIC.. remember that this block is transferred to C code. Again I am not sure, I started using these blocks just a few months ago as well. As for your questions: 1. I attached 2 simulink models:...
by odedyech
Sat Mar 10, 2012 11:45 am
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22871

Re: send and receive multiple data using GUI

Hello again, I can see that the BaudRate in your dsPIC is 19200, and in the Real-Target the BaudRate is 9600. You should change the settings (Serial Port, and BaudRate) until the test passes. Are you sure that the Serial Port is COM2? You can check that by going to Manage, and check the PORT connect...
by odedyech
Tue Mar 06, 2012 9:26 am
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22871

Re: send and receive multiple data using GUI

Hello Saeed, I see that you used Lubin's rs232 GUI block. If you wish to use this block you need to open it (by the way, you dont have to burn it on the dsPic's block diagram) select the COM Port you have connected your device to (the dsPIC or other device) select the BaudRate (this is important!! y...
by odedyech
Thu Mar 01, 2012 8:53 am
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22871

Re: send and receive multiple data using GUI

Hello Saeed, There are a few options for sending data from the Matlab/Simulink to the dsPIC: 1. Open a serial port in the Matlab command line using "serial" command, and send data using "fwrite" command. Pros: you can create a GUI. Cons: you need a good understanding in Matlab. 2. send data using si...
by odedyech
Sun Feb 05, 2012 2:31 pm
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22871

send and receive multiple data using GUI

Hello lubin, I am tring to send and receive data thru UART from dsPIC30F4011 to the comp. I am using your block "Tx Output Multiplexed For Matlab-Labview" and I was wondering what are the variables I need to insert in order to send data thru this block to the dspic (instead of sending with the send ...