Error -307727 When Setting up a Counter Input Task in VeriStand

Updated Apr 9, 2018

Reported In

Hardware

  • PXIe-6363
  • PCIe-6363
  • Multifunction I/O Device

Software

  • VeriStand

Issue Details

I am trying to set up a counter input task in my VeriStand project using an X Series DAQ card, but see error -307727 when I try to deploy the project.
What is wrong with the timing source in my project?

Solution

This error is occurring because your counter input task is looking for the sample clock source on the Trigger lines of your DAQ card, and you do not have a remote clock being passed into your X Series device.

If you do not have a 2nd device that can provide this sample clock, then you can use the analog input sample clock on-board your X-Series device by setting up a dummy Analog Input task.
  1. Open your project's System Explorer
  2. Expand your project and target Controller>>Hardware>>Chassis
  3. Ensure the chassis master hardware synchronization device is set to automatic, so your chassis will allow the X Series device to become your master clock spirce
  4. Create an analog input task on the same X Series task as your counter task, by right clicking on the DAQ target and select Add Channels. Set up your analog task according to the following image. Note: The analog task needs to be single-point hardware.
  1. After creating this task your DAQ device should appear blue in the System Explorer (as seen below). This confirms your X Series device is now the master clock source for your controller. 
  2. Go to the Chassis tab, seen below, to confirm the export sample clock is your analog clock "ai/SampleClock"
  1. Now that you have set up an analog clock, return to your counter task and set the sample clock source of your counter task to "ai/SampleClock"
You should now be able to successfully deploy a single-point counter input task that works for measuring frequency and duty cycle of pulses.
  1. If you are still having issues performing a frequency or duty cycle measurement, be sure to check you are using the appropriate counter channels on your DAQ module. The appropriate PFI lines for different counter tasks are spelled out in this X Series Signal Connections help page.

Additional Information

Please note that, according to the Supported Hardware List for VeriStand, only X Series devices can be used for counter tasks. 

WAS THIS ARTICLE HELPFUL?

Not Helpful