Discussion:
change notification syntax in 6527: DIG_Change_Message_Config
(too old to reply)
delowar
2007-02-02 22:10:11 UTC
Permalink
I like to add discrete I/O input pins from 2 ports to be monitored (generate events). When I use  DIG_Change_Message_Config function for one port, it works.The

riseChanStr and fallChanStr string syntax is confusing for more than one port. I used function refence and followed this pattern.., but it doesnot work.

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

It only accepts one port setting. Please give me a description of the syntax for multiport. For instance:

* fallChanStr ="0.7, 1. (0, 3, 5), 2.0:4"   ... htis doesnot work.

Thanks

 
delowar
2007-02-06 02:10:11 UTC
Permalink
Thank you Erik. I am using Traditional NI-DAQ (Legacy) driver in CVI environment.
 
After trying many different possible syntax, I think the port string syntax would be
 
string ="(0.2,3,6,7), (1.4,6,7)"... translates to    port0 line 2,3, 6,7  and port1 line 4,6,7
 
It seems to work. Thanks again.
 
Delowar

Loading...