Define 'but its nt working' meaning what errors did you get, why you think it isn't working, what voltages its getting, how you are controlling it, relevant source code, etc.
We know nothing about your setup
actually when i tried nothing will show ..
i have tried in matlab and labview
matlab code is given below:
s = serial('COM3');
for n = 1:100