Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Settings: Serial End Mode for Reads Not Executed LabVIEW NI VISA.

Hello, I'm new user, and I have some issues trying to use NI-VISA complements, my block diagram is simple, I want to send a character by serial port when a boolean variable is in certain position. When I run the project, I show an error, but I don't know how to solve it.

 

This is my block diagram and front panel.

JRC22DAC_1-1657234735542.png

 

The first error out came from the VISA Configure Serial Port and overflow it for the others error in/out pins.

JRC22DAC_2-1657235100939.png

 

 

When I run the project step by step, in the second step, show it me the next window, and the serial settings chart is pulsing.

JRC22DAC_0-1657233863420.png

 

I'm being look for any solution, I've read in NI forums that it can solve whit the termination char enabled, and it's enabled with the others setup parameters, but it doesn't work, the error is the same and I can't send any character.

 

JRC22DAC_3-1657237980511.png

 

 

I hope someone can help me, and I thank you all for take a time for read my post.

 

0 Kudos
Message 1 of 3
(1,080 Views)

Help->Explain Error will give you and explanation for the error.  You error code gives me "VISA: (Hex 0xBFFF00A6) The connection for the given session has been lost."  So it seems like you have an issue with your serial port.  Is it a cheap USB-RS232 adapter?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(1,047 Views)

Hi, I have the following serial modules adapters:

 

A) FTDI 1911-C G0370111 FT232RL (like the red board).

JRC22DAC_3-1657291095256.png

 

B) FTDI 1422-C GP010511 FT232RL (like the blue board).

JRC22DAC_6-1657293959806.png

 

 

C) WCH CH-340C 205295396, this chip it´s embebed in an Arduino Nano.

JRC22DAC_4-1657292028020.png

 

The A and B it´s for test the project with an Arduino Pro Mini 3.3V 8MHz, and the C it´s for test project in that board, Arduino Nano 5V.

0 Kudos
Message 3 of 3
(1,042 Views)