Jump to content
Sign in to follow this  
Gary Armstrong

Preset for Two Edge Measurement under DAQmx

Recommended Posts

Porting the Two Edge Measurement Counter from TDAQ to DAQmx is proving to be impossible. Apparently NI does not support loading a PRESET with the Two Edge Measurement Counter method under DAQmx. We have also tried the Event Counter method which does allow a PRESET but does provide a technique to route the CTR OUT to stop multiple counters.


Executive Summary

This application utilizes multiple counters spread across multiple boards. The counters count neutrons except one counter that is dedicated to time. The counters need to start and stop at the same time. This is accomplished by connecting the start and stop lines to RTSI0 (start) and RTSI1 (stop). The start function (under TDAQ) is accomplished by toggling RTSI0 (see figure 1). The stop is accomplished by connecting the CTRn OUT from the (master counter) to the stop line. One of the counters is designated as the master counter (typically the clock). The master counter is loaded with a PRESET and configured to count down. When the master counter output line goes high, all counters on RTSI1 stop.

The TDAQ software permits two functions that I understand are going to go away when porting to DAQmx:

(1) The ability to toggle a RTSI line (for use as a global start/stop signal to all slave channels.

(2) Remote Device Access (RDA).

The in-ability to toggle a RTSI line in DAQmx means that a PCI-6602 channel (pulse generator) will have to be allocated to this task (a solution that HFIR scientist currently oppose, but is satisfactory for a temporary fix on GP SANs).

Test Two Edge Measurement.vi

Test Count Edges.vi

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.