Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error setting Serial port baudrate 115200 using NI-VISA functions but works fine using .net functions

I am using LabVIEW 2014SP1. I am trying to connect to a board over Serial comm which has USB-UART IC MCP2221. When I am trying to configure serial port for baudrate 115200 using NI-VISA Configure Serial Port function I am getting below error , which means this baudrate cannot be set or device doesn't support it. But actually device supports it which I confirmed from Device manager and also using realterm.

 

-1073807330 - Property Node (arg 2) in VISA Configure Serial Port (Instr).vi

 

When I configure serial port using .net functions System- Serial Port in labVIEW, I am able to set the baudrate without error.  Also the board works fine with Realterm (similar to Hyperterminal or teraterm) at 115200 baudrate.

 

I need help in making the NI-VISA Functions work with this board. I have many LabVIEW applications developed for an Older board with FTDI chip which need to be re-used on the new board MCP2221 chip. Theroretically both boards are same except this IC. So its very tedious to modify and maintain 2 codes for old board and new board for all my applications . Somehow trying to make the same code compatible with both the boards. 

 

Kindly suggest.

0 Kudos
Message 1 of 1
(373 Views)