Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5351

send file to serial port using comfromfile

$
0
0

Hi,

 

I am current working on a project with requires to transfer a bin file to the controller, if the file is valid i will get the correct respose.

if we send a file in hyperterminal using send text file option i am getting response from the controlller as file valid.

I want to send a file through the code i used comfromfile function i am getting invalid file reponse from the controller even i tried byte by byte with comwrtbyte also i received the same invalid response..

I cross checked the rs232 configuraiton of both hyperterimal and my code..both are same..even i checked with port sniffer tool to capture the port data..both are same.

I am not able to find what is the issues with my code. what is the differece in the Hypertemail and CVI functions..

 

Regards
Vikram Kumar P


Viewing all articles
Browse latest Browse all 5351

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>