10-28-2014 03:39 AM
Hello,
I'm currentyl mocking up a close loop system and I meet some performance issues. The detail is in the attachement.
Best regards
Solved! Go to Solution.
10-28-2014 02:58 PM
thumble,
10-29-2014 03:08 AM
Hi Chris,
Thanks for your reply, I will retain that it's not wise to go beyond the rate of 2KHz, but I still wonder why, because the metrics (loop durations and CPU loads) are almost low.
Best regards
10-29-2014 05:01 AM
Hi Laurent 🙂
This was puzzling me so I decided to run the test because without so many I/O and with just the Engine Demo we should reasonably be able to run above 10kHz.
Results : I was able to meet the 4kHz quite easily with no HP Count, around 50us of HP Loop Duration (25us with NIVS 2013SP1).
Only possible pitfalls that I can think of are the MXI (I was using a "small" 8102 controller) or the DAQ board (I was using a 6368 but's it's mostly the same device).
Can you check if changing the RT controller or DAQ board has an impact ? Beware with the DAQ board if you using a simultaneous or mux'ed board 🙂
If you're still struggling can you post your definition file ?
Also, were you using the built-in DAQ features right (not a custom device) ?
Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.
10-29-2014 05:37 AM
Hi Eric,
I haven't time right now for further investigations, but as I suspect some DAQ overhead, unless it has been improved in VS2013 or VS2014, I plan to use a FPGA R series board for the I/O's, expecting the performance will be better through FPGA personalisation.
++
10-30-2014 03:56 PM
thumble,
I would caution you not to necessarily expect higher performance with an FPGA card. The issue you were seeing was a function of your VeriStand system not being able to keep up with your DAQ card, not the other way around. I doubt that the VeriStand side overhead for handling FPGA devices is much different.
11-02-2014 07:03 PM
11-03-2014 01:29 AM
Hi all,
Thanks a lot for your advises
Best regards
11-04-2014 09:59 AM
Hi all,
To close this, you're certainly right about the MXI bottleneck because I’m able to run the mock-up (16 diff. AI + 4 AO + 4 Engine Demo) at 10 KHz using an embedded controller PXIe-8133 and an I/O board PXIe-6259 with only few “HP count” and even none at 8 KHz.
Best regards
11-04-2014 10:20 AM - edited 11-04-2014 10:21 AM
Awesome. Thanks for following up. I was curious.
For that specific setup here are a few more tips: