02-04-2020 03:39 AM
Hi everyone,
i have to do a serial interface between labview and my arduino USB2 converter , using com 3.
I do this block diagram but doesn't work. Any suggestion??
best regards,
Thanks
Ciao Marcello
02-04-2020 04:20 AM
Hi Marcello,
@MarcelloeMaria wrote:
Any suggestion??
Get rid of BytesAtPort, it's wrong here!
Implement error handling to give better descriptions than just "does not work"…
02-04-2020 05:48 AM
HI GerdW KNIGHT OF NI,
I try to remove BytesAtPort, but give me error " VISA read:Contains unwired or bad terminal".
my goal is realize serial comunication between Labview and OpenEvse (https://www.openevse.com/kits.html) to be able to control it using Rapi protocol.
The problem that i encounter is that:
i run the project but communication does not work, the command written on the write buffer is not received from OpenEvse and consequently nothing appears on the read buffer.
i try serial comunication between Putty and OpenEvse and it works.
Best Regards
Marcello e Maria
02-04-2020 05:55 AM - edited 02-04-2020 05:55 AM
Ciao Marcello e Maria,
you still have to connect a numeric value to "bytes to read".
Did you look into any thread about serial communication in this forum? You really should!
You configure the serial port to wait for a TermChar: provide a value to "bytres to read" larger then the expected number of bytes in the message. VISARead will automatically read the full message as soon as the TermChar is received…