06-25-2009 03:35 AM
HI
Setting of Prepend array or string to FALSE solved my problem. But at the same time i wan to know one more thing, through serial prot i may send only character sometimes and sometime i may need to send file also. Here my doubt is at the receving end how i could differentiate whether the bytes at the port received is a FILE or CHARACTER. Bcoz if file come i have to store it and if character comes i have to just display on list box.
So any suggestion for finding the Bytes received at the port is a FILE or CHARACTER.
Padhu.
06-25-2009 09:30 AM
06-25-2009 10:09 AM
Padhu,
In addition to what smercurio wrote you also need to consider how to indicate the end of a file and how to handle special bytes which may be interpreted as control characters. Make sure that all termination characters are disabled and that Xon/Xoff handshaking is disabled. You need these things because all possible combinations of bits can occur in a binary file. The special interpretations of these as ASCII characters must be ignored.
Lynn
06-25-2009 11:04 AM
It would also be quite helpful to understand what it is that you're doing, in a big picture kind of way. Your initial question was about transferring a file from one PC to another over the serial port, which as Dennis pointed out is quite an odd way of doing it since it is so slow. Now you are asking about detecting if it's meant for a string indicator. This leads me to suspect that there's more going on here than you're telling us.
Can you provide more information on your application?
06-26-2009 03:50 AM
HI
Actually i have an application to transfer text or file to a HF transmitter through a modem. the modem communication is a serial port. So in order to test the transmision and receiving of files or text here i am using only modems. So transfering and testing of the data from 1 PC to other PC through modem is done. for achieving this only i was luking for some solution.
Padhu
06-26-2009 03:58 AM
HI
I have achieved the file transfering through serial port. But even though i face some difficulty in transfering file with larger data. i am unable to understand completely the solution said by photon dan. even though u tried it. can u explain little detailed the solution said by him or with some example.
padhu.
07-18-2009 06:24 AM
Hi
Can any one provide some sample code for transferring files of larger size from 1 PC to other PC through serial port. I meant to ask for sample code consist of formation of this larger file into packets of specified size and then transferring one by one through the port (because we are aware that we cannot transfer the file in whole through serial port due to limitation of its size).
Regards,
Padhu
06-04-2011 05:14 PM
Hi, I have little experience with lavbiew and I need a program to communicate via RS232 serial port between two old pc's. I made a program but do not know how that works, and I have problems with the program settings on both pc's.
My prototype is this and I use version 7.1
10-27-2012 02:13 AM
but this solution is for serial cable , i am working with NI wsn kit so how can i transfer data through wsn nodes...what kind of interface should be given. basically programming in labview 2011. please help!
10-27-2012 09:23 AM
Then don't post in an old thread that has nothing to do with your question.
Start a new thread.