02-13-2014 04:09 AM
Could you please repost labviewAdressWorkLV1.vi in a different version? I can't open it with Labview 2010.
I'm still trying to get multiple sensors to work. Three sensors would be sufficient for me.
Thank you
02-13-2014 01:29 PM
Here it is saved for 2009 but just remember that if you use it, you cannot use LIFA. So, if you have other functionality using LIFA, this won't work as-is.
02-16-2014 01:58 AM
Hello!
Now next ver. of control.
1/ Out door temp - for now manual ( debugging program is further connected to the sensor OUT door )
2/ MAT temp - computation graph (factor) Weather-compensated control
02-16-2014 05:22 AM
Thank you Nathan and Black for pointing me the right direction.
I now read multiple sensors via serial (visa). Instead of using LIFA I use a stripped version of the onewire example sketch.
Cheers.
Message was edited by: JR--------
04-11-2014 06:19 AM
update:
20 sensors dallas ds18b20 connecting OK!
R= 2kOh ( power - data wire )
04-11-2014 07:00 AM
last foto of wire
05-03-2014 01:03 PM
HI all,
succesfully buil vi to read three temps. If runs alone all works correctly, but if i add a loop in vi to control a dc motor (pvm write) temps reading doesn't works. Probably my fault in adding anothen control?? Can someone help me?
05-03-2014 03:12 PM
There shouldn't be any inherent issues when adding in the PWM write function. You will need to attach your VI so that we can look at it to see if we can help fix your issue.
05-03-2014 03:39 PM
Hy Nathan,
thank you for your help.
Uploading the vi.
regards
Riky
05-03-2014 08:10 PM
The biggest thing that I notice is that you don't have a stop button for your while loop. This means that you are using the abort button to stop your VI. This is something that you should always avoid when using resources that need to be closed gracefully (like LIFA). If you use the abort button, you risk LIFA not being able to connect to the Arduino again after the first time. If you do need to use the abort button, you need to then open the LIFA Close.vi and select the COM port and then run it so that you close the connection to the Arduino. Then, you can run your VI again.
I only see one temperature reading along with the PWM. Do you have a modified verison of the DS1820 VI? I'm assuming you have one that outputs three temperatures.
If adding the stop button to the while loop and using it to stop your VI (instead of the abort button) doesn't fix your problem, you should either post or link to the VI that you are using to read the temperatures.