03-22-2010 04:08 PM
Hi
no problem.
The best way is to pack data in small blocks (upt 1k seems nice)
Send not only the block but also the size (as before) and the blocknumber (start at 1)
The last chunk can be send with blocknumber -1, or the total size has been transferred with the first block.
Before you write the next block wait for an acknowledgement from the other side.
If no acknowledgement comes the connection is broken and you have to wait, either a fixed time or until you get a message from the other side that it is OK to continue.
03-22-2010 11:56 PM
ya,i have done it,but it would be better if i can detect the link is live or not.so that the transmitter does not need to be polled.if i don't have any other option,one that you have mentioned is the best way to do.thank you for your help.and i will upload the completed programs for your consideration as soon as possible.
regards,
shanaka
03-23-2010 12:13 AM
03-23-2010 01:31 PM
03-29-2010 05:33 AM
Hi,
These are the File transfer VIs.i have simulated the line break with a pause button in the transmitter or the reader side.
and it is working fine.but still could not get any information of how to detect the broken serial line while both transmitter and the receiver are running.
Regards,
Shanaka
03-26-2011 11:01 AM
Hello everyone!
I am a beginner with Labview. I have a prolem with controlling PC.
I want to control data from my friend's PC through labview (for instance,control graph wave).
Thank you in advance!
03-28-2011 06:06 PM
Hi Joja,
Please respond with some more information on your setup. Are you using a Serial connection as well? If not this should be a brand new forum post. Do you both have the same version of LabVIEW or will you be using an executable? Can you post a screenshot or the VI?
Thank you,
Deborah Y.
03-30-2011 02:11 AM
Hi Deborah Y!
I have labview 8.5 version and use USB-COM for transferring data between 2 PC. I have a problem that I don't know what is the function to transfer data from VISA read for plotting a graph. I attached the picture and file below. Please give me some advice !
Thank you in advance!
03-30-2011 04:57 PM
Hi JoJa,
From your VISA Read, I'd suggest converting the output string using the String to Number VI (depending on if it's Decimal or Hexidecimal) then plotting that. Here is an example that may be helpful.
Cheers,
Deborah Y.
04-02-2011 06:19 AM
Hi Deborah Y!
I have a problem to transfer data from my PC to my friend's PC through Labview version 8.5 (I used COM to transfer data). I tried many ways to get and recieve but I can't. For instance, I want to change frequency sin wave on my friend's PC through labview and vice verse. This is my front block I could try to do...Please give me some advice
Thank you very much