06-03-2015 05:53 AM
my project include FPGA program with various timming loop and real time program include two timed while loop one is fast and the other is slow for ex. 50 Hz and 15 Hz). I am using the serial port of the target as a comminication port between the target and the host, my problem as follows the program work as well in host through the ethernet but when i am trying to run the program as standalone program on target by the build and real time application it dosen't work as expected especiffically i received the excepected data from the target through the serial port but the target don't receive the command from the host through the serial port. some key points i used a queue to transfer my data between the two timmed loops.
thanks hoppfully u can got my problem.
06-03-2015 06:12 AM
Make a ZIP file of your project and attach it. It is very hard to analyze code that you cannot see.
Bob Schor
06-04-2015 05:06 AM - edited 06-04-2015 05:11 AM
Thanks I attach my real time program, I delete most of sub vi’s in order to simplify the program, the problem as I discuss before comes from the serial port of my target as I indicated in red color in the attached vi Hopefully u discover what is the problem please contact for further explanation
06-04-2015 09:30 AM
Learn to use sub-VIs. I would need a dozen monitors to see your Block Diagram. Try to get everything to comfortably fit on a normal (I use 1280 x 1024) screen -- you can fit a lot of 32 x 32 pixel sub-VIs in that space (leaving plenty of room for wires, controls, indicators, etc.).
Sorry I had to "give up" looking at your code. Between the broken wires and huge size, it was an impossible task (without having you to take me through it).
Note that you can attach a lot of code by embedding it in a ZIP file.
Bob Schor