Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Terminal count is reached for counter Input task

I'm inclined to expect there's a way to do the same kind of thing in C that I posted earlier in LabVIEW.  Unfortunately, I know little about the syntax.  Just an observation that the DAQmx API's for both LabVIEW and C-family coding seem to be generally congruent.  It's rare that a hardware feature is exposed via one and not the other.

 

Over on the LabVIEW side, there are also a number of restrictions about combining properties for CI and CO in the same task.  In fact, you generally can't.  Sometimes I just try stuff, partly b/c I still remember the hardware features available through the old driver back in Y2K era and figure most of them are probably still supported *somehow*.  In other words, I agree it isn't obvious on the surface how to determine what combinations of properties are allowed.  I wouldn't say you're missing anything, at least not anything you should expect to notice.

 

Here, I suspect after the fact that there's a clue in the property name.  The specific important distinction appears to be that the Output Terminal and Behavior properties are categorized in terms of signal routing ("Export Signal property node") rather than directly in terms of an output task.  That's a bit of a guess though.  All I'm sure of is that the code I posted worked the way I described.  I expect there's a way to program the same behavior in C but I couldn't do it myself.

 

Anyone else out there know the C syntax for this?

 

 

-Kevin P

 

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 11 of 11
(671 Views)