Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RS-232 Write Error

I am trying to communicate with a CRO through RS-232 Port. i send a query from hyper terminal *IDN?/13, CRO sends back the correct reply.

But i am trying to use Labview Basic Serial Write and Read.vi, but it is giving Write Error (Error No.: -1073807298). All the parameters (like - baud rate, stop bit etc) of the RS-232 are set properly. 

 

Thanks

0 Kudos
Message 1 of 8
(2,414 Views)

Hi,

 

Are you sure that there is no other program that is using the COM port ?

 

What kind of com port do you use. USB to RS-232 ?

 

Kees

0 Kudos
Message 2 of 8
(2,396 Views)

Yes there is no other program that is using the COM port ?

 

Yes we are using USB to RS-232 converter, as there is no RS-232 port available on my PC.

 

we are using Moxa UPort 1110 USB to RS-232 converter.

 

Thanks

0 Kudos
Message 3 of 8
(2,391 Views)

Try it with the 'VISA set buffer size' just after the port initialization and set the the Mask input to Rx and Tx buffer with the default size.

 

0 Kudos
Message 4 of 8
(2,384 Views)

Double check the flow control.

 

that "*IDN?/13 suggests to me that the XOff character needs to be sent.


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 8
(2,365 Views)

Hello RBCHAVAN,

 

Some third party devices do not implement all serial settings on their USB to Serial adapters. This causes the VISA Configure Serial Port.vi to generate error -1073807298 "Could not perform operation because of I/O error".

To avoid the problem, do not use the VISA Configure Serial Port.vi in your program. Use VISA property nodes to set each property separately until you are able to determine which property is not supported by your device (you can open the Configure Serial Port VI to see which properties it sets). If the unsupported property is needed by your application you should contact the manufacturer of the device. National Instruments USB-Serial devices do not have this limitation.

 

Sahil

0 Kudos
Message 6 of 8
(2,332 Views)

Hi,

 

I am new to LabView and to NI. So please help me with this problem. I am trying to communicate and set the voltage and current limit to 2 power supplies using RS232 cable. I was able to do this with just one power supply. But when I connect a second power supply, it shows the error, -1074003951. Should I be making any changes when am using multiple power supplies?

 

Let me know if you need to look into my code.

 

Thanks in advance.

 

   
0 Kudos
Message 7 of 8
(2,322 Views)

Dear Shail,

 

How to use VISA property nodes to set each property seperately and how to determine which property is not  not supported by our device. How to open the configure serial port VI and see which property it sets?

 

Thanks for your valuable suggetions.

 

 

0 Kudos
Message 8 of 8
(2,290 Views)