11-19-2007 11:00 AM
11-19-2007 11:14 AM
11-20-2007 02:08 AM
firstable with this Vi I will only test read Data and if it work I will save it in File. Is it possible to read all data in a singel read? I tested with other delays but I receive only a part of data?
I Have 22000 Line termineted with CrLf to be read. I send the d\r\n and I Have to read all data. is that possible? if not any other suggestion!!
I will be happy for any suggestion with changing my VI
Thanks
11-20-2007 08:23 AM
11-21-2007 06:02 AM
11-21-2007 08:50 AM
Try it without the flush buffer. You have that after your wait and all that will do is delete whatever has been sent already. If you want to do a flush buffer, do it after the VISA Configure Serial Port.
Also, the shift register and string concantanate is going to use quite a bit of memory if you do manage to read 4M of data. It would probably be more efficient to save to file as soon as the data is read. Using Write Characters to File is not the best function to use in that case. Every time it is called, it will open and close the file. Using a lower level function such as Write Text File would work better. You would open the file before the while loop starts and then close it when done.
11-22-2007 04:34 AM
Hi Dennis,
Thank YOu it s running.
I tested without the flush buffer. and the delay time of 1000ms is in the loop. I used the Write to text file too.
Best Regards
Rachid