Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1250

DAQmx Basics / Trouble to get pulsetrain out of NI-6612 PCIe (Simulation)

$
0
0

Hello,

I'm a Newbie with counter/timers or any other data acquisition/generation task with hardware. So please be forgiving, when this seems to be a pretty basic question.

I am trying to get used to NI-DAQmx (without LabView). I managed to create a simulated NI-6612 Device (2 Ports, 32bit/8bit) and selftest of it is successful. I also get some sort of signals in Testpanel which I do not fully understand yet but am able to adress specific lines (PFI0-39) and put a finite/continuous signal on them by myself which makes sense to me. However, when I try to measure a pulsetrain on any of the 8 counters, the corresponding signal-to-measure-channel is already given by the internal routing as given by Pinout-Description. Given that my input-signal lies on the right channel in a separate task, nothing appears to happen when I press run. I get no error, but it does not count the edges at least. Beside that it is confusing, that some counters refer to Port1-Lines which doesn't support buffered signals at all. So I guess I have a lack of understanding how the tasks/internal routing of MAX work (although I read the manual) or what I have to do, to get the edges of my pulsetrain counted (in simulated mode).

 

Thank you in advance!


Viewing all articles
Browse latest Browse all 1250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>