By Ricardo de Abreu
Hi guys. This semester I'm starting a course system development for control and automation engineering, witch will be based on LabView. Therefore, my University doesn't have a NI hardware, even a MyRIO for us to test our VI and the teacher said that we should test our projects with our own Arduino...
So, I have a little experience in Arduino and I know the basics for LabView. Now I'm in a point that I know that with Arduino I'll not take the best from LabView. I cannot even deploy a code to it.
So, there is where my question comes in...
I'm looking for a new board better then Arduino to use in the classes. I would buy a MyRIO card if I had the money but in Brazil this board is too expensive for me
Witch one should I get that is closest to myRIO and less expensive than that? I would like to try de deployment of a VI and FPGA..... Is this possible?
Thanks a lot for the help!
In my project i have 2 task
(1).Read data of sensor (attached to arduino board) serially and display on LabVIEW.
(2).Control output(just ON-OFF) pins of arduino using LabVIEW.
So,for that i am using TAB in labview.created 2 TAB called Oscillospe and Input.
If i first start Oscilloscope it work well.
But when i come to Oscilloscope tab after using Input tab.
It gives Time out error (VISA read)
If i am executing in Highlight mode it works well
I need a little help.
I want to send from LabVIEW to Arduino via serial port the string for example "ABC" and so on.
The problem is that when I send the string from LabVIEW .......the Arduino do nothing. Sometimes shows some kind of sign.
When I send the string via Visual Studio it works perfectly.
Is there someone who can help me.
I attached picture of vi and Arduino code
Thank you very much.
New on this site, new to Labview, new to RS232 and actually new to pretty much everything!
Hope I'm not posting in the wrong section... I feel a bit out of place anyway to be posting among experts but well, for lack of a better place...
So here's the context of my problems :
I'm trying to set up a (crude) acquisition system based on an arduino and a couple of multiplexers / Thermocouple conditionners.
My arduino is sending via its own USB-RS232 converter a string of all the values (approx. 20) as characters.
I figured out I could use Labview to do a nice displaying and logging of these values.
Now, I identified and downloaded VISA to communicate via RS232.
OK so, in the MAX explorer, I have under port & peripherals the VISA test panel and if I try the viReadtofile under Basic I/O, it gives me a nice file with one set of values (one line). So it does communicate ! YAY!!!
Onto the next part... I used a template from Labview, continuous datalogging and I just put the read to file VI but now when I press the RUN button, it gives me the two following errors.
Error 1 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->Test_Read_VISA_1.vi Error -1073807346 occurred at VISA Read To File in Test_Read_VISA_1.vi Why is it already blocking my progress? And after that, I'm not sure I understand how can I process the output of the reading of the serial (basically, slicing the string of characters in it's values and displaying and logging them)? All the VI seem to directly process the serial readings to one thing without the opportunity for me to do anything to it... I'm attaching my VI even though it's pretty much only the read to file VI... I'm even ashamed to be that bad but I hope you guys will find enough faith in Labview to teach the basics to a newb like me! Thanks by advance! Marc Test_Read_VISA_1.vi