07-07-2022 06:53 PM
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.
The first error out came from the VISA Configure Serial Port and overflow it for the others error in/out pins.
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.
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.
I hope someone can help me, and I thank you all for take a time for read my post.
07-08-2022 06:58 AM
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?
07-08-2022 10:47 AM
Hi, I have the following serial modules adapters:
A) FTDI 1911-C G0370111 FT232RL (like the red board).
B) FTDI 1422-C GP010511 FT232RL (like the blue board).
C) WCH CH-340C 205295396, this chip it´s embebed in an Arduino Nano.
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.