Re: [RTnet-users] rtnet fundamentals
Brought to you by:
bet-frogger,
kiszka
|
From: Klemen D. <kle...@ya...> - 2014-02-05 16:12:08
|
Hello everybody, I will just continue this thread... I noticed the Stage_1_configuration_frame data file has to end with EOL (x0A), otherwise the Configuration_length parameter is set to 0 and no Stage_1 configuration_data are sent. But when the data file ends with the EOL, the EOL character is also included in the configuration data. I am not sure what would happen if EOL character is also included in configuration data itself? What i am also not sure is how should i write the Stage_2_configuration_frame data filewhen Stage_2_Burst_Rate is more than 1. How should i mark the data that are transfered with first frame, and the data that are sent with the second frame, etc. What is the delay between Stage_2_configuration_frames. I would like to make sure the rtnet client has enough time to process the data in one frame and than wait for new frame and process that one. Is there a way to somehow cut this command: rtcfg <dev> add <address> [-hw <hw_address>] [-stage1 <stage1_file>] [-stage2 <stage2_file>] [-t <timeout>] and send stage1 frame first and after that stage2 frames by parts. I tried to send the stage1 frame only with: rtcfg <dev> add <address> [-hw <hw_address>] [-stage1 <stage1_file>] but the empty stage2 frame is added automatically. Any idea how to solve this, Best Regards Klemen |