05-11-2018 06:04 AM
Hello,
I am using Labview 2017 with a LattePanda, and my problem is that I can't read two analog signal.
I have to get the temperature and the luminosity, both sensor works fine alone but when I want to make them work together I have weird results. There is my example :
I have already test several way, and on this way I read the temperature one time and then I read the voltage of the light sensor
But the temp sensor vary very much and I don't understand why !
I hope you could help me ! and sorry for my bad english !
05-11-2018 06:09 AM
Hi Seypow,
does the temp sensor also vary when you read just this sensor?
On your VI:
- why are there 2 close functions, when the connection to LINX is only opened once? Delete one of them!
- why are there 2 case structures? Why don't you use just one case structure and put one of the sensors in the FALSE case?
05-11-2018 06:43 AM
Thanks for your fast answer GerdW !
When I read the temp sensor alone it works well !
I tried a lot of way to make it works and here I read one sensor on every impair loop and the other one on pair loop. I did this to "separate" the reading of sensors. But I don't know if it was good
Is that the way you wanted me to do ?
I already tried this option but it still don't work 😞