10-15-2013 03:12 AM
Nathan - Your a star !!!
It worked, thanks for your help..... I'm learning lots....
d
10-23-2013 04:44 AM
So having now had success with reading my DS18B20 devices (Thanks to Nathan_B !!).
I'm now having some issues with generating a standalone EXE via the Application builder.
When running the generted EXE on another PC, it starts and then throws an error. See the attached.
One of the issues I've had in the past was getting the comm port correct moving to another PC.
I've adjusted the comm port so it reflects that used in PC used to generate the EXE. But still
get the error.
Ideas?
10-24-2013 05:30 AM
You have installed visa530runtime and the Labview RunEngine?
10-26-2013 07:25 AM
Does it work now?
10-29-2013 03:45 AM
Still not working on that particular machine.
But I took another laptop and installed Arduino/Labview Runtime/NI-VISA 5.2 & .NET framework as previous machine and the runtime VI ran fine. So I think I have a particular machine problem. Now the machine in question is a faily low spec affair (2GHz/512MB) and I think that maybe the issue. i.e I'm going to upgrade the memory. The error I'm getting is 5003.
10-31-2013 09:14 AM
Hi guys, I'm new in working with arduino too and trying to get my DS18B20 work with your posted LIFA and LabVIEWInterface files. At the moment I am trying to verify the firmware but can't find or understand the mistakes in the code. I am using these files, see attachement. Could you give my some advice and how I could try to fix that?
Here is the error code while having all files opened in the Arduino Software:
LIFA_Base.ino: In function 'void setup()':
LIFA_Base:46: error: redefinition of 'void setup()'
DS18S20:10: error: 'void setup()' previously defined here
LIFA_Base.ino: In function 'void loop()':
LIFA_Base:67: error: redefinition of 'void loop()'
DS18S20:14: error: 'void loop()' previously defined here
LabVIEWInterface.ino: At global scope:
LabVIEWInterface:24: error: redefinition of 'OneWire oneWire'
LIFA_Base:33: error: 'OneWire oneWire' previously declared here
LabVIEWInterface:27: error: redefinition of 'DallasTemperature sensors'
LIFA_Base:36: error: 'DallasTemperature sensors' previously declared here
And this is how it looks like in my fimware folder:
10-31-2013 01:49 PM
DS18S20.ino is causing the problem and should not be in the folder.
10-31-2013 02:50 PM
Thank you very much for your reply. Ok I removed DS18S20.ino, now I am getting this error:
LabVIEWInterface:24: error: redefinition of 'OneWire oneWire'
LIFA_Base:35: error: 'OneWire oneWire' previously declared here
LabVIEWInterface:27: error: redefinition of 'DallasTemperature sensors'
LIFA_Base:38: error: 'DallasTemperature sensors' previously declared here
11-01-2013 12:11 AM
You have duplicate code for the sensor. Once in LIFA_Base and once in LabVIEWInterface.
11-01-2013 06:58 AM
Thank you, it's getting better, but don't know about the custom code of PentairDave. Sensors not declared...mhhh so I have to add "int sensors;"? But where? I red this http://arduino.cc/en/Reference/VariableDeclaration but don't know where the variable has to be declared?