Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/05/09 09:49
Read: times


 
#165063 - simulate the data.
Responding to: ???'s previous message
thnks for reply..actualy i need to simulate the data on ports..u can c in my program their are three things that are need to be work with..
1. Input
2. target
3. output.

if we can simuate the target and output on the ports then we can have a facility available in keil that's is static analyzer..if we can provide the target and can be able to see the output on ports then my problem will be solved..bec in static analyzer(in keil) we will just select the ports and we have the graph for the target and output..which i have to observe....
The input and target is provided at as such in my program

double Input[NUMPAT+1][NUMIN+1] = { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1 };
double Target[NUMPAT+1][NUMOUT+1] = { 0, 0, 0, 0, 0, 1, 0, 1, 0, 0 };

and the output is generated at..

for( p = 1 ; p <= NumPattern ; p++ ) {
printf("n%dt", p) ;
for( i = 1 ; i <= NumInput ; i++ ) {
printf("%ft", Input[p][i]) ;
}
for( k = 1 ; k <= NumOutput ; k++ ) {
printf("%ft%ft", Target[p][k], Output[p][k]) ;
}
}

List of 36 messages in thread
TopicAuthorDate
help is need            01/01/70 00:00      
   What do you want to solve?            01/01/70 00:00      
   What do you want to do is not clear            01/01/70 00:00      
      clarification of requirements            01/01/70 00:00      
         I am still confused...but here goes            01/01/70 00:00      
            printf writes data on serial port            01/01/70 00:00      
               Not necessarily            01/01/70 00:00      
            reply again.            01/01/70 00:00      
               Some more clarification..try this            01/01/70 00:00      
                  To kiran            01/01/70 00:00      
                     How did you do it?            01/01/70 00:00      
                        explanation            01/01/70 00:00      
                           How to post legible source code            01/01/70 00:00      
                           Please post your actual code.            01/01/70 00:00      
                              abt actual code            01/01/70 00:00      
                                 TC?            01/01/70 00:00      
                                    to andy..            01/01/70 00:00      
                                       Confusing!            01/01/70 00:00      
                                          not to miss            01/01/70 00:00      
                                             Oh no he didn't!            01/01/70 00:00      
                                 I think there is a confusion...            01/01/70 00:00      
                                    reply..            01/01/70 00:00      
                                       Got your point            01/01/70 00:00      
                                       a question and a comment            01/01/70 00:00      
                                          double = double precision float            01/01/70 00:00      
                                             not used it after seeing the effects, thus            01/01/70 00:00      
                                                Good incentive to look at fixed point            01/01/70 00:00      
                           Please explain            01/01/70 00:00      
               But Why Keil??            01/01/70 00:00      
         two dimensional input provided at the ports            01/01/70 00:00      
            simulate the data.            01/01/70 00:00      
               seems that not the real MCU            01/01/70 00:00      
                  to jacksonc ben            01/01/70 00:00      
                     The serial port don't need to know what you transfer            01/01/70 00:00      
   this is obviously not for an embedded app.            01/01/70 00:00      
      Clearly            01/01/70 00:00      

Back to Subject List