![]() With LINX you can very simply read or write values on digital or analog pins. Second approach can be based on LabVIEW plugin LINX. I experiences some issues with reading data from serial monitor, LabVIEW sometimes read a blank row and I had to add some buffer and data filter and the VI started to expand to a messy mixture of nodes. A tutorial on the topic of LabVIEW/Arduino data transfer through serial is published on Instructables. The easiest approach from the point of view of Arduino programming is usage of Serial monitor and read the data with LabVIEW VI Visa node, since Arduino/Ds18b20 measurement is well documented. I like Ds18b20 sensors from several reason: sufficient accuracy and time constant for many applications, Onewire bus (for one Pt100 or thermocouple is needed a dedicated channel or multiplexer) and good price. ![]() The motivation is to read temperatures from multiple Ds18b20 temperature sensors, however be able to modify easily the code to control relays, read analog inputs etc. In this post, I will try to describe an approach of LabVIEW/Arduino communication using Modbus protocol. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |