LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

about counter output to digital io pins on PCI-6023e

I have a PCI 6023e daq board.  I want to route my Counter0's output signal to a digital io lines ,or PFI lines, so I call the function Select_Signal as follow:
 
 iStatus = Select_Signal (iDevice, ND_PFI_0, ND_GPCTR0_OUTPUT,
        ND_DONT_CARE);
 
when I try, a error of "-10003 invalidValueError The value of a numeric parameter is invalid." come out.
WHY?
another question:
How could I rount my Counter0's output signal to a digital io lines? Since the parameter panel of  Select_Signal on which I choice the signal name to " I/O pin 0",it will autotively change to ND_PFI_0 when I insert function call into my code.
Last question:
Currently,I have to route my Counter 0's output to my Digital IO Line through a physical wire.So I have to read this Dio input line in a CVI timer call in a time interval.
but I think  the more perfect way to deal with is use the Change Notification,so I try  DIG_Change_Message_Config.but my board seems don't support this.And I try Config_DAQ_Event_Message (),it doesn't work neither. What can i do if I want to use such event driven way like this?
  
0 Kudos
Message 1 of 1
(2,917 Views)