For example, LINX Blink example can send command 400 times per sec. ![]() ![]() Suggestion to set delay in Packet Number.vi helps because it slows down communication. If you would get -5003 error you can try simple Serial test LabVIEW example to see that example gets Serial port from Windows but can't write any data!Īnother confirmation that the issues is in Arduino is that this error disappears after rebooting Arduino device. Probably, LINX application in Arduino hangs USB interface and COM port over USB interface doesn't work at all. LabVIEW application sends second command but LINX application hasn't finished to process first command. LINX application in Arduino starts to process first commandģ. LabVIEW application sends first command through COM interfaceĢ. ![]() I think it happens due slow Arduino internal or external device, like AI in NI article or I2C device. In my case it happens when application uses I2C device on Arduino. NI provides suggestion but it isn't useful.
0 Comments
Leave a Reply. |