ni.com is currently experiencing slowness/issues due to ongoing maintenance.
Support teams are actively working on the soonest resolution.
ni.com is currently experiencing slowness/issues due to ongoing maintenance.
Support teams are actively working on the soonest resolution.
03-27-2001 05:46 AM
03-28-2001 02:50 PM
02-13-2006 02:54 PM
None of NI documents describes how to configure the digital channel in detail (only analog examples).
Could any one tell me about:
1) How to configure the digital channel parameter chanStr to use 0.3 in 6527 (Line 3 in port 0)?
2) How to configure the DAQEvent and DAQTrigVal0/1?
02-14-2006 05:20 PM
The document titled Traditional NI-DAQ C Function Reference Help
(located under Start >> Programs >> National Instruments
>> NI-DAQ >> Traditional NI-DAQ Reference) contains some
good documentation about how to configure a digital channel.
Specifically, check out the help for the function
DIG_Change_Message_Config, which has the following description of how
to configure chanStr for digital lines and ports.
Value of riseChanStr | Meaning |
---|---|
0.0 | port 0, line 0 |
0.0:7 | port 0, line 0 through 7 |
1.(0,3,5) | port 1, lines 0, 3, and 5 |
1.0:5,2.1:4 | port 1, lines 0 through 5 port 2, lines 1 through 4 |
I'm assuming that you are trying to configure your NI PCI-6527 to produce an event when a change is detected on one of the digital lines. Take a look at the following example program for an idea of how to do this.
In VB 6.0: Using Change Notification with the NI 6527 in Visual Basic
02-15-2006 10:37 AM
Thank you for your response.
(1) This message is about how to use General DAQ Event Control (ActiveX) in VB, So could you tell me how to use the digital channel in the the control?
(2) I knew how to use "Change Detection" for 6527, please refer to: http://forums.ni.com/ni/board/message?board.id=70&message.id=1053
02-15-2006 10:41 AM
02-17-2006 06:02 PM