Divide External Clock For DAQmx Task in VB.NET

Updated Feb 28, 2018

Reported In

Driver

  • NI-DAQmx

Programming Language

  • Visual Basic .NET

Issue Details

I have created an Analogue Voltage DAQmx task in MAX with an external clock. The issue is that the frequency of the external clock is too high, and I would like to divide the clock 2 or 4 times to reduce it. Is this possible? In the final application I use a custom VB .NET program which uses the NI-DAQmx API. 

Solution

It is possible to divide the external clock. However, this cannot be done through MAX. There is a Divide Down an Encoder Signal or an External Clock by an Integer Value using One Counter in DAQmx community example which demonstrates how to do this in LabVIEW. When the DAQmx task is used in other programming environments, the functions used in the example and their terminals are the same as the ones used in LabVIEW. 

WAS THIS ARTICLE HELPFUL?

Not Helpful