I was trying to output just the reading of a load cell with HX711 from arduino to labview and ended up trying to use Linx and other tools. Your approach is simple and just works! Thank you very much.
Thnx so much. Saved me so much hassle !! are there any benefits to using LINX over this method? also is it possible to send signals to Arduino rather than just receiving?
The advantage with LINX is that you don't have to write the arduino side of the software, you use the linx code instead, and it has more options with sending and receiving and other peripherals built-in. Without linx, you can send data to the arduino over the serial port if you write arduino code to read from the port and a labview VI to send the data.
OK finally got it working. LabVIEW 6i, Windows 10, Genuine Arduino Uno. This was very helpful once I got past COM port issues (not showing up in NI-Max or VISA control window). Did a few things and not really sure which one fixed the issue :(
Thank you for serial comunication tutorial. Thats great, i have tried serial comunication and i design the block diagram so i can change the comport and baudrate without turning off the simulation, but the data wont show up. Do you have a solutions for my case? thank you.. 👍🏻
If they are on separate arduinos you could duplicate this with separate serial ports. If a single serial stream you would have to parse the serial data into the separate channels.
@@professorholden3104 is not about labview. you are using arduino like master.so happen that it fill up buffer if not quick. When you use a daq you or ask for data or tell instrument to acquire data and then retrive. In the way you use the system you cannot decide the tick time becouse is decided by ardu cycle. Linx in fact correctly use master slave comunication. None 9f instrument i use work in this way. Sorry for bad english
Just to improve your approach ardu can wait for a specific char. Only one byte to be as quick as possible. No crc or other things. And agter it recive the byte sends out the reading. So simply adding a write one char give a timing to your implementation. That becames a master/slave
@@djtonyxxx5 That's a good idea. This is a very simple system and sacrifices capability to make it so you can use the most basic arduino print statements that many arduino hobbyists are comfortable with. I agree there are better ways that do not require much more effort however, and your suggestion is a good one to let labview trigger the reading. Thank you for following up!
I was trying to output just the reading of a load cell with HX711 from arduino to labview and ended up trying to use Linx and other tools. Your approach is simple and just works! Thank you very much.
I'm glad it worked for you!
This video was extremely helpful.
Thnx so much. Saved me so much hassle !! are there any benefits to using LINX over this method? also is it possible to send signals to Arduino rather than just receiving?
The advantage with LINX is that you don't have to write the arduino side of the software, you use the linx code instead, and it has more options with sending and receiving and other peripherals built-in. Without linx, you can send data to the arduino over the serial port if you write arduino code to read from the port and a labview VI to send the data.
Thank you a lot man! 🙂
Thank you very much for your really good video
Thanks for sharing. Is that the USB port you are using in this example?
OK finally got it working. LabVIEW 6i, Windows 10, Genuine Arduino Uno. This was very helpful once I got past COM port issues (not showing up in NI-Max or VISA control window). Did a few things and not really sure which one fixed the issue :(
Thank you for serial comunication tutorial. Thats great, i have tried serial comunication and i design the block diagram so i can change the comport and baudrate without turning off the simulation, but the data wont show up. Do you have a solutions for my case? thank you.. 👍🏻
Hi Professor. This is helpful.
Can you do one where you write the data to a file?
what if 2 sensor? or more?
If they are on separate arduinos you could duplicate this with separate serial ports. If a single serial stream you would have to parse the serial data into the separate channels.
is not the way a daq is supposed to work. wrong approach.
Can you be more specific? There are many ways to use labview, feel free to ignore this video if it does not suit you.
@@professorholden3104 is not about labview. you are using arduino like master.so happen that it fill up buffer if not quick. When you use a daq you or ask for data or tell instrument to acquire data and then retrive. In the way you use the system you cannot decide the tick time becouse is decided by ardu cycle. Linx in fact correctly use master slave comunication. None 9f instrument i use work in this way. Sorry for bad english
Just to improve your approach ardu can wait for a specific char. Only one byte to be as quick as possible. No crc or other things. And agter it recive the byte sends out the reading. So simply adding a write one char give a timing to your implementation. That becames a master/slave
@@djtonyxxx5 That's a good idea. This is a very simple system and sacrifices capability to make it so you can use the most basic arduino print statements that many arduino hobbyists are comfortable with. I agree there are better ways that do not require much more effort however, and your suggestion is a good one to let labview trigger the reading. Thank you for following up!
There is also another way using termchar. If you want i can have a TeamViewer or anydesk session and show you. Best regards