Thank you all for helping me ,,, I managed to export the data from PIC to PC using the HyperTerminal and the process as following ,,, maybe it will help another one have the same question
Code:
X var word[400] ' Create to store results
Y var word [400] ' Create to store results
MAINLOOP:
for n = 0 to 399
ADCIN 4 , X [n] ' read channel A5 and put result in X [ array]
ADCin 2 , Y [n] ' ' read channel A2 and put result in Y[ array]
pause 1
next n
[[[X [n] and Y [n] are the veribles array]]]
'to export the data to HyperTerminal
for n= 0 to 399
SerOut2 PORTC.6, 396, [10,13,10,13]
SerOut2 PORTC.6, 396, [DEC X [n]]
next n
'then the same way for Y[n]
BUT IN THIS MOTHODS, i coudnt transfer all array elements becouse the data will delet the old one ,,, so maybe its good way to export array for nearly 200 elements
i tried to use PLX_DAQ but i had a proplem in Data Transmitted ... the PLX conected to pic and resived the data but its can not be transmitted ,,, any one have an idea why thats happened??
Best regards;
yousif
Bookmarks