01-06-2011 05:27 AM
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
01-07-2011 01:45 AM
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
01-07-2011 02:42 AM
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
01-07-2011 04:47 AM
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.
01-07-2011 09:20 AM
Double check the flow control.
that "*IDN?/13 suggests to me that the XOff character needs to be sent.
01-09-2011 10:37 PM
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
01-10-2011 02:39 AM
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.
01-11-2011 04:34 AM
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.