06-28-2010 03:52 PM
@viCam wrote:
I am also trying to connect with a device via RS232 cable and am able to transmit and receive signal when using hyperterminal but unable to do so using labview.
Can you post your code? Are you setting the Termination Character in your VISA Initialization function to something other than default? Is the termination character enabled? If you are sending \r with your command, maybe you need to disable the termination character enable. Or maybe set the character to \r, and enable it in the VISA initialization function, and don't put the \r in your command string. Just send the command itself. VISA will put the \r in for you.
06-28-2010 04:02 PM
Are you referring to in labview? Because if so I am just starting to work on it. I am not sure I even know where to start yet, since I have done only a little in labview. I will try to post code when I can. If you have any examples or know how to make a program that I could type a string into and have it sent to the device that would be great.
06-28-2010 04:05 PM
@broken Arrow wrote:
What did you do to get it working?
I got it working by restoring the factory defaults apparently they were off. The flow was set to hardware instead of none.
06-28-2010 04:14 PM - edited 06-28-2010 04:16 PM
@ybur wrote:
Are you referring to in labview? Because if so I am just starting to work on it. I am not sure I even know where to start yet, since I have done only a little in labview. I will try to post code when I can. If you have any examples or know how to make a program that I could type a string into and have it sent to the device that would be great.
Sorry, my reply was meant for ViCam, who hijacked your thread. Go to the help menu and select Find Examples. Then in the search box type in serial. You will get some examples. Study them.
06-28-2010 04:21 PM
@tbob wrote:
Sorry, my reply was meant for ViCam, who hijacked your thread. Go to the help menu and select Find Examples. Then in the search box type in serial. You will get some examples. Study them.
yeah...I realized that a couple of minutes later. Thanks though.
06-28-2010 04:25 PM
tbob wrote:Sorry, my reply was meant for ViCam, who hijacked your thread. Go to the help menu and select Find Examples. Then in the search box type in serial. You will get some examples. Study them.
That was not my intention. But point taken, I'll start my own.