05-18-2011 09:15 AM
I downloaded your attachment from your post of the 14th and it ran fine on my computer (XP, LabVIEW 2009). In my case the Arduino Uno mapped to Com4.
Does your com port appear in MAX? (Measurement and Automation Explorer). Open MAX and in the Configuration panel on the left tunnel down through My System->Devices and Interfaces -> Serial & Parallel. Clicking on the Com port will give you further info as to the resource name, the Alias and if it is working properly as well as troubleshooting info.
If not, have you installed the Arduino USB drivers in windows? Have a look at the Windows device manager and make sure that the USB port is working. Drivers are available in the drivers folder of the Arduino development suite.
Cheers
05-18-2011 11:10 PM
Hi i am getting the example of the below link ,, the Firmata example...
It is just reading the temp values of Lm35 which is conncted to Analog 0 pin.I have added Wave form generator also and able to display it succcessfully,,
My question is how to read the serial port data ie, temperature values in deg centigrade and plot it ,,,
the only aim of my project...
Thanks
05-18-2011 11:14 PM
Hi i am getting the example of the below link ,, the Firmata example...
http://code.google.com/p/labviewduino/
It is just reading the temp values of Lm35 which is conncted to Analog 0 pin.I have added Wave form generator also to front panel of labviewduino-v1.0.0.127\Firmata-example-AI.vi,, and able to display it succcessfully,,
My question is how to read the serial port data ie, temperature values in deg centigrade and plot it ,,,
the only aim of my project...
Thanks
05-26-2011 06:31 AM
05-26-2011 07:40 AM
I can so no Attachments in your last posting.....
05-26-2011 09:30 AM
@LOYOLA wrote:
PlZ plZ respond ,,,,,,,,,,,,,,,,,,,,,, Plz............. Plz....................
Plz, plz, PLZZZZ don't plead. It's unhelpful and unprofessional.
Learn how to attach items to your posts. You keep saying something is attached but nothing is there so we can't help.
You've already effectively closed this thread by accepting a solution. Most people skip over those. You may need to start a new thread for this problem.
05-27-2011 11:49 PM
Here is the attachment i am talking about
05-28-2011 11:58 AM
A link to the files you seek is found at the bottom of this html page that was referred to in the web page that you attached. page 2
The link to the VIs is
JohnCS
05-30-2011 11:03 AM
Well... I am not familiar with Firmata so I can't provide help with this, but I am confused. You say that you are getting readings from analog 0 using "firmata" but then you say its not working because you are getting a VISA error. If the "firmata" version is working can you just add a loop to gather the data into an array and graph it/save it? I think this is the goal for your project. You can also do any conversion/processing in the loop.
I can't open your code as I am running version 2009 and your code is 2010. I looked at your jpg and I see you are running the eval version. I don't know if this may cause VISA issues. I don't see anything on NI's website to suggest so. Also in the image background you have a number of coercion dots. I can't see enough of the code to see if this is a problem but this should be investigated as well.
05-30-2011 12:58 PM
The recurring error you have been getting:
Error -1073807360 occurred at Property Node (arg 4) in VISA Configure Serial Port (Instr).vi->SerialArduinoTempSensor.vi
The error is in argument 4. Argument 4 is SerialSettings:StopBit. You have the StopBit set to 1. The default control stop bits defaults to 10 = 1.0. The value 1 is out of range. You need to set these correctly. Put 10 in the constant if you want 1.0 bits.
BTW, you have the parity set to 8. This will cause the parity to be Space Parity. Normally Arduinos use no parity so set this to 0.
The stop bits control is a ring control and the parity control is an enum. You must enter the correct value that corresponds to the desired item in the control's list.
Your Firmata example works because the serial port is set up correctly.
You have three separate threads running with what appears to be the same topic. I notice you just started another one. Please use only one thread.
JohnCS