10-26-2009 04:49 PM
10-27-2009 11:35 AM
visa serial read wrote:
Let me tell you that there is a total of 3600 millisecond delay byusing 11.0592 MHz Crystal in the 8051 side for the purpose ofdisplaying data in LCD and for ADC. I don't think 12sec delay isrequired for reading from serial port because in '0' read before delayI can see the datas available at read string but neither gauges andindicators nor the log is working. Could you please post the waveformchart property node.vi because I am unable to open the new.vi
have you removed property node for serial port? if not remove it and replace with number of bytes in the data frame. if you removed it,
please post the string that u see
and the data frame that u send from micro controller.
10-27-2009 04:30 PM
I can see the following string:
v
255
h
255
c
255
w
255
l
255
r
255
Please note that the datas are for examples. Could you please post waveform chart property node.vi so that I can open new.vi and how many bytes shall I put instead of property node in this case?
10-28-2009 05:07 AM
In your code you have given spaces between letters and digits. Including those spaces there are 35 bytes in your string.
Remove those functions indicated in the attachment, if value corresponding to v is 25 and the string should be in the format
v 025 h 255 c 255 w 255 l 255 r 255
such that total no of bytes is always 35.
in the post written by you, you wrote that it is appearing as v
255
h
255..
it is not clear whether u are getting space between digits and characters.
If at all there are no spaces the total character count(35) has to be changed accordingly and
the string format in you code must also be changed so that there is no space between v and %d and h......
try these modifications.
11-04-2009 08:36 AM
Dear Naqqash,
your front panel is looking so good how did you get those controls and indicators?
11-04-2009 09:37 AM