Discussion in "AVR Discussion Forum" started by    vijay    Apr 4, 2014.
Fri Apr 04 2014, 12:36 pm
#1
My Project work good on baud rate of 38400..But it give distorted waveform..So i tried for baud rate 76800 and 115200..Using this baud rate nothing is shown on my graph ..?what problem controller side or labview?

i am using 16 mhz external crystal and giving 1Mhz clock to ADC..Please look at my attachment...
Attachment


[ Edited Fri Apr 04 2014, 01:36 pm ]
Mon Apr 07 2014, 11:32 am
#2
Did you check the % error for 76800 and 115200 bauds? Also check in datasheet for right baud rate generator values.
Mon Apr 07 2014, 03:21 pm
#3
hi vijay ,

kindly convert the Vi to Lv12 .So that i can open and see the code in Labview.
i am using Lv12.

Regards
Pravin
Mon Apr 07 2014, 03:46 pm
#4
@ Ajay Bhargav-for 115.2k error is -3.5% and for 76.8k error is 0.2%...but for this 2 particular baud rate i am not getting output...what is the problem???
At which value i am able to get good waveform???How we can reconstruct signal well???
Mon Apr 07 2014, 03:56 pm
#5
@pravin bro...---look at labview12 file
Attachment
Tue Apr 08 2014, 03:32 pm
#6


@pravin bro...---look at labview12 file

Attachment

vijay.parmar1992




hi..

Still i could n able to Open that are you sure that converted to previous version...

Go to File >Save as previous Versions> Select 12 from menu.....


Rgds
Pravin
Wed Apr 09 2014, 10:06 am
#7
@pravin
Attachment
Wed Apr 09 2014, 11:12 am
#8


@pravin

Attachment

vijay.parmar1992



Hi Vijay ,

you cant able to read anything by this Lv code... since you have not connected any wires. Your code is incomplete.
Seems you are not Familiar with the Basics of Labview..
Go to examples and open Serial read write Example Vi and choose the Com port Baudrate..and then try to execute the code...

Let me Know Further

Rgds
Pravin


Wed Apr 09 2014, 02:08 pm
#9
Ohhh ...dear so sorry please look at this file
Thu Apr 10 2014, 10:04 am
#10


Ohhh ...dear so sorry please look at this file


vijay.parmar1992



hi,

Try to give some delay in while loop and den try i have simulated the graph its working fine .now you have to check with the Controller side weather data is Transmitting or not .. and then try with your same code ..... that you have created.... PFA modified code.


[ Edited Thu Apr 10 2014, 10:05 am ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

carpinteyrowrl
Fri Apr 19 2024, 02:51 pm
DonaldJAX
Fri Apr 19 2024, 01:08 pm
Lewisuhakeply
Thu Apr 18 2024, 06:00 pm
Darrellciz
Thu Apr 18 2024, 11:07 am
Charlessber
Thu Apr 18 2024, 09:29 am
BartonSem
Thu Apr 18 2024, 04:56 am
DonaldKnown
Thu Apr 18 2024, 12:24 am
utaletxcyw
Wed Apr 17 2024, 10:21 am