Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering a Counter Pulse Width Measurement with DAQmx Base 2.1

Hello experts,

I'm working with DAQmx Base 2.1/LV8.20/MacOS10.4.8. and the hardware I presently use is a NI-PCIe-6251 DAQ board. After having learned that level gated event counting is not possible with DAQmx Base I would want to accomplish the task by measuring the Pulse Width of the digital frequency after an external digital trigger.

Now, after the creation of a channel with ''DAQmxBase Create Channel (CI-Pulse Width).vi I set up a trigger with ''DAQmxBase Start Trigger (Digital Edge).vi'' set to accept the external trigger signal at PFI1. Then I start the task, read the data and stop the task before handling the errors.

With all physical signals present at the proper inputs after stopping the vi the ''Error -200452 occurred at Specified property is not supported by the device or not applicable to the task. The error code is undefined. No one has provided a description for this code, or you may have wired a number that is not an error code to the error code input'' pops up.

Does this mean I can't externally trigger a counter/timer operation with DAQmxBase ?

Thank you for the response

Urs

Urs Lauterburg
Physics demonstrator
Physikalisches Institut
University of Bern
Switzerland


0 Kudos
Message 1 of 2
(3,007 Views)
Hi Urs,

There is a possibility to make Counter Trigger with "Standard" DAQmx and work with Property Node.

Sorry but DAQmx Base don't give a possibility to use the Properties Nodes and this way no possibility to do that on MacOSx...

In "Standard" DAQmx you also cannot use the "Triggering.vi" to do that unfortunately...

What you can do is to configure an analog input with Start Trigger and configure your counter like it take the AI Sample Clock as clock. There is a possibility to configure counter with Start Trigger.

Best Regards and have a great Day...

Matthieu Papaux
0 Kudos
Message 2 of 2
(2,993 Views)