LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read error using RS232

Solved!
Go to solution

Hi, yes, wahat I want to send is a pelco-D command,

which is something like tht for left panning:

 

 

0 Kudos
Message 31 of 38
(2,232 Views)

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.

0 Kudos
Message 32 of 38
(2,227 Views)

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

0 Kudos
Message 33 of 38
(2,224 Views)

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.

0 Kudos
Message 34 of 38
(2,222 Views)

The snooper , yeah,  thats what I search. Where can I find it?

 

0 Kudos
Message 35 of 38
(2,219 Views)

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

0 Kudos
Message 36 of 38
(2,218 Views)
0 Kudos
Message 37 of 38
(2,215 Views)
This is getting a bit silly. You've posted a large image with no explanation of what it is or what it is supposed to mean. You have consistently failed to provide a detailed explanation. Any person in any type of technical field should be able to provide a lot more details than what you have.
0 Kudos
Message 38 of 38
(2,182 Views)