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.
@professorholden31043 жыл бұрын
I'm glad it worked for you!
@cccccc-c2rАй бұрын
Thank you so much!! This is so helpful for me.
@polishhammer19923 жыл бұрын
This video was extremely helpful.
@AntonioRomoli2 жыл бұрын
Thank you very much for your really good video
@K_Shawn_Webb3 жыл бұрын
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?
@professorholden31043 жыл бұрын
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.
@kubas126CZ9 ай бұрын
Thank you a lot man! 🙂
@kulaniscap2 жыл бұрын
Hi Professor. This is helpful. Can you do one where you write the data to a file?
@kennerdskinnerd47942 жыл бұрын
Thanks for sharing. Is that the USB port you are using in this example?
@kennerdskinnerd47942 жыл бұрын
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 :(
@zamzamnurmuharram2 жыл бұрын
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.. 👍🏻
@mrint4713 жыл бұрын
what if 2 sensor? or more?
@meholden3 жыл бұрын
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.
@pouriabaghaei9566Ай бұрын
@@meholdenwould you please explain how to parse the serial? Is it a function in labview? I am new to this topic.
@professorholden3104Ай бұрын
@@pouriabaghaei9566 the serial data comes in as a string, and a string parse function is used to convert to a number. See around 5:40 in the video
@djtonyxxx52 жыл бұрын
is not the way a daq is supposed to work. wrong approach.
@professorholden31042 жыл бұрын
Can you be more specific? There are many ways to use labview, feel free to ignore this video if it does not suit you.
@djtonyxxx52 жыл бұрын
@@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
@djtonyxxx52 жыл бұрын
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
@professorholden31042 жыл бұрын
@@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!
@djtonyxxx52 жыл бұрын
There is also another way using termchar. If you want i can have a TeamViewer or anydesk session and show you. Best regards