cant wrire the sensor value

in the analog pin iam receiving the sessor value of 0 to 5 volt linearly varying voltage .my question is can i control this voltage using PWM pin or digital pin.how to do?

You say you are receiving, so I assume you mean that you mean you are taking an input. But you want to control that input as an output? I don't understand the question. What is giving you the input? What do you mean by controlling it? Do you want to have some effect on some external device? What device is that? Can you please provide some specifics?

actually my task is to get an output of 0 to 5 linearly varying dc with respect to time using labview and arduino . how to do it ???

try looking at this article:
http://www.chemie.unibas.ch/~hauser/open-source-lab/Arduino-DAC/Arduino-DAC.html

The article describes ways you can create an analog output from an Arduino. unfortunately there is not direct way to get a varying DC voltage output without any other components.

Actually, a digital output can switch from close to zero volts to close to five volts in microseconds (nanoseconds?) in a nearly linear fashion. It all depends upon the unspecified time scale and the unspecified degree of linearity.