07-06-2008 10:33 AM
Hello all, I have a trouble that transfer a file using a rs232 null modem cable to another PC and store the file. And the data type of file to transfer is mp3, mpeg, rar, avi …etc. Maybe the size of file will over 10MBytes, even more large. Like the “File Receive” and “file send” in HyperTerminal, and don’t consider ZModem or YModem in first.
Concept figure below
My problem is that how to “convert a unknown data into a string type” in write buffer of x PC, then convert the string to initial data type and store in y PC (receive PC). Because I think that if any data will to transfer using serial port, it only know string type.
So hope someone give me a hand.
Thank you very much.
07-06-2008 02:19 PM
07-09-2008 08:47 PM
Hi friend, i still have a problum that is there any function in vi can convert the binary into ascii ? Than convert the ascii into string.
Gratitude.
07-09-2008 10:05 PM - edited 07-09-2008 10:05 PM
06-05-2011 06:57 PM
Hello, I have a similar problem por developed a similar application to rs232, I have two question for the transfer read file in the other pc, ¿What configuration is use for byte count in VISA Read? and in VISA Resource name ¿what port you use for both?
Thanks for help me.
06-05-2011 08:32 PM
You would use how nany bytes at available and you would select whatever ports are connected. The first is gotten from the VISA Bytes at Serial Port. The VISA Resource Name control has a dropdown menu that allows you to pick from available ports.