09-22-2008 04:43 AM
09-22-2008 06:35 AM
09-22-2008 07:47 PM
im using a water logger and and use a conveter ADAM-4250(RS-232 toRS-422/RS485 )isolated conveter...to retrieve data from the logger to my vi... currently i fix the buffer rate to be in this rate 38400...because if i put lower i can't fetch all the data...but fixing the buffer rate i think is not a proper way...because currently wat am i doing is fetaching only 2 weeks data.... with has nearly 1000 of data..but in future ... i want to fetch 2 month data... i scared the data will be missed out while fetching..
can anyone give me a idea how to fix this problem?thnk u
09-23-2008 12:46 AM
I don't know wha you mean. The buffer size I know, the baud rate also but buffer rate is something new for me.
What you need to do is to make sure that you communicate fast enough (baaudrate) to make sure that transfer is faster than production.
The buffersize is meant to have a software buffer in your system to allow your labview app to do something else and then catch up on the data.
Send your vi, and we can have a look at it.
09-23-2008 04:47 AM
im sorry its actually buffer size...
i cant attach the vi cos it too big..
if i set my bound rate as 9600... is i set my buffer size as 2804/4096..it can read the completely.. why this occurs?with out setting the buffer size ..is the any way tht i can get the buffer size automatically depending on my data size?
09-23-2008 07:36 AM
Hi
if your buffersize is too big you do not have to wait until it is filled completely.
You always can ask how many bytes are available in the sserial port buffer and then read the data according your own algorithm.
So a buffer too big can only give problems with bad hardware (some usb serial converters) but serious hardware can cope with big software buffers.