03-05-2015 05:38 PM
Hi Folks:
I'm a noob. I'm sure I'll feel like an idiot after someone answers this. .... So i'm trying to output a count to port0/line0:7 on my glorious new NI PCIe parallel io card. In my DAQmx create channel cartoon, I try to set the Lines using palette items found in ... I assume ... measurementIO -> NI_DAQmx
The two I/O constants are "Task Constant", and "Channel Constant". I'd have thought that "Channel Constant" would be the required type, but when I use that I get thrown an error saying that the Lines entry does not want a global definition. This after defining my port and card via the MAX config script that is embedded in the "Channel Const" config script. Being desperate I found out that the "Task Constant" won't work either, but funny thing the "Channel Constant" works as a input to the Task (input). Like I said, I'm a noob and I'm easily confused.
Getting even more frustrated I pulled up a digital IO example from the nice stock of examples, and I see a I/O constant that's not on any of my palett's. However I can still copy and paste it to my Vi. Properties calls it a "DAQ IO Controls Properties". I can't find it anywhere in my palette list.
I'm assuming that this control constant is coming in from DAQ, and is not listed in my palette because I'm supposed to be using DAQmx. This is so basic, I'm sure I'm missing something. I'm hoping someone can inform me as to what the DAQmx version of the "DAQ IO Controls Properties" is. For the life of me, I can't find it. Or, perhaps I'm supposed to use DAQ menu item's with DAQmx. If so, am I supposed to have a DAQ palette? I don't. Did I miss something on install?
I'm confused.
Thanks.
Andrew
03-05-2015 05:48 PM
What example are you referring to? Where did it come from?
Built into the LabVIEW examples (Help->Find Examples), I think you should have a look at Digital - SW-Timed Output.vi. It can be found in Hardware Input and Output->DAQmx->Digital Output when braowsing by task.