I am using labview interface for arduino and I have tried to programm asc712 sensor but i couldn't. here is the link of the sensor code: circuits4you.com/2016/05/13/ac-current-measurement-acs712/ .
i researched a lot and i found that i can modify lifa function ,but i don't know how to do so. if i modify function,is it necessary to make the same code in labview? .
can any one guide me or making labview code for this sensor.
Well to begin with LIFA has long since been deprecated and replaced with LINX
But to your basic problem, the ACS712 converts current to a scaled voltage and you are simply reading that voltage on the analog in pin of the Arduino.
So no special libraries or functions beyond "Analog Read" are needed.
You read the voltage on the proper analog pin and then do the necessary math to convert that to the current value you are measuring.
thanks for this quick response .
actually, i am not professional in labview and i i couldn't know how to make the programm in especially this line: