LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SERIAL communication using VISA, with micro controller....

i am doing serial communication through VISA. I am not getting synchronization between micro controller and LABVIEW.Actually this micro controller works as ADC & DAC in my process control system.ie. as a card.  i want a programme to wait the VI till any data come in the serial buffer. please anyone help me .other solutions for synchronization also accepted.
0 Kudos
Message 1 of 3
(2,722 Views)
Communication through VISA with micro controllers, is like any serial communication.
You should have no problems. Check your settings. Try asynchronous mode also.
0 Kudos
Message 2 of 3
(2,720 Views)
Hello Anoop P S,

One very important detail you need to look at is the voltage level needed for your micro-controller.  Micro-controllers usually work with UART TTL 0-5V level, whereas your computer works with RS-232 -12 to 12V voltage levels.  You will need a RS-232 Receiver/Transceiver to convert the voltage levels.  

If you are already using a converter, I suggest trying to communicate through hyper terminal first, sending/receiving a single byte.  Also make sure you disable flow control on your COM port, make sure you are using the same baud rate/data bits/start bits/stop bits.
O. Proulx
National Instruments
www.ni.com/support
0 Kudos
Message 3 of 3
(2,685 Views)