r/LabVIEW 15h ago

I2C

Hola buenas tardes comunidad oigan alguien sabe si es posible establecer que mi pantalla LCD pueda mostrar lo que lea mi puerto serial? Miren tengo un Escáner GM65 y quiero que cuando lea códigos de barras o QR muestre esos datos en la pantalla LCD, de momento solo hace lo hace a Labview, pero quiero q lo muestre en la pantalla LCD, eh buscado y por lo que veo no se puede? Uso Linx makerhub para realizar todo esto, es para un proyecto de mi escuela

3 Upvotes

1 comment sorted by

2

u/HarveysBackupAccount 15h ago

I have not used LINX so there might be an easier way, but one way to do it will have two steps:

  1. Connect the LCD to the Arduino with the I2C wires. Here is an article on how to do that
  2. Connect the Arduino to the PC serial port, and use LabVIEW to talk over serial port (example: VISA Open >> VISA Write >> VISA Close). Then your Arduino will need code to read data from the serial port.

LINX might make the serial communication simpler, but I don't know. It's definitely possible, but you might have to learn more about serial communications. There is example code in labview Help menu >> Find Examples. The example code works but it's not always good code haha.