01-20-2009 10:10 AM
Hi, yes, wahat I want to send is a pelco-D command,
which is something like tht for left panning:
01-20-2009 10:18 AM
sabrinabangert wrote:Hi,
I use LabView 8.5. I did not connect any hardware device to the com ports.
1. For the first I only wanted to try out the example "BasicSerialWriteAndRead.vi".
2. But I get no read-output -- (but no error message, nothing. It terminates after timeout without any message)
Then of course you are going to have a timeout. If the device is not connected, there is no way you are going to get a response from it.
01-20-2009 10:24 AM
Hi,
thanks a lot for the response. Then I will connect the compuLab on COM1.
I can send the pelco-D command from the C# program to Com1
and try to read the buffer from LV.
Is that correct? Could it work?
Sabrina
01-20-2009 10:29 AM
Yes. Connect the cable.
You will not be able to write to the serial port in C# and read from the serial port in LabVIEW. Only one program can have access to the serial port at a time.
Do you have any kind of communications manual that describes the command and message structure for communicating with this instrument?
You could try using a program such as Portmon to snoop on the serial port while the C# program is communicating with it.
01-20-2009 10:35 AM
The snooper , yeah, thats what I search. Where can I find it?
01-20-2009 10:38 AM
Aaaahhhh here -> http://technet.microsoft.com/de-de/sysinternals/bb896644.aspx -- that's super, that's phantastic.
Thanks a lot good guys.
Best regards
Sabrina
01-20-2009 10:59 AM
01-20-2009 01:37 PM