Hi Folks - trying to use the API to create a task to measure frequency using a 9401 module in a cDAQ-9174 chassis.  When I create a task in DAQmx, and run it it - no problem at all.  The measured frequency is really close to the expected number:
 
This  gives me --->
 gives me --->

 
But when I try to do it thru the API, that is creating a virtual task, it doesn't work.  I get a timeout error.  Specifically, this 
 just results in --->
 just results in --->

What am I doing wrong here?  I've tried a lot of things (implicit timing, property nodes, starting the task, reserving the task, etc.) with no success.  How do I get it to stop timing out?  It runs fine using the task created in DAQmx, so I don't believe there's any hardware issues.  Moreover, I've very successfully created AI, TC, & AO tasks for other modules on this very same cDAQ-9174 chassis simply by using "create task.vi" with no troubles.  That is, without first creating the task in DAQmx.  Any suggestions?  Any info anyone can provide is most appreciated.  Thanks, Phill 🐵
 
For reference, I'm using LV 2016 and DAQmx 19.