MATLAB: Plot acquired data fron data card ni-6255

ni-6255

DAQ CARD USED :NI-6255
Needed a code to plot the acquired data , Problem faced : when the signal from function generator is given to the card and the data was tried to access matlab,
any one plz provide me the code
Manjunath D M