Hi all!
I've got a problem, and i hope someone can help me. Well I've done an application in RT. The aim of this application is :
1) To read data coming from CAN bus and to send these data in AO, DO or PWM.
2) To read AI, DI, PWM and to send CAN messages
3) The time between getting the data and sending them must be 1ms
I made some test in order to know if it's possible to reach this performance i.e. i put all read and write vi in a software timed loop, and i analyse the time using the labview execution trace tool. The resultats are the following:
It takes more than 200 µs to write 70 DO (in 8 tasks), 180 µs to read 50 DI (in 2tasks), and approximatively 80µs fot the others tasks : AI, AO, CAN, PWMI, PWMO ... The problem is with all this stuff together, i can't reach 1ms cycle !!!
I suppose these times come from the hardware, and my questions is, what are the average time to access a card PXI-6254, PXI-6713, PXI-6602... ? (I didn't found these information in the handbook)...
Is there a way to improve these performances ????
Thanks a lot for your future answers ... !