11-14-2007 08:31 PM
11-15-2007 01:43 PM
Hi Jon,
You can configure the trigger edge property using the niSwitch_SetAttributeViInt32 function. You can find the function in CVI by selecting Instruments » National Instruments Switch » Configuration Functions » Set/Get/Check Attribute » Set Attribute. Under Attribute ID, select Scanning Configuration » Trigger Input Polarity. You can then set the Attribute value to NISWITCH_VAL_RISING.
For more details, the C reference help file (switchCRef.chm) is installed with the driver and can be found under … Program Files\IVI\Drivers\niSwitch\Documentation.
I hope this helps.
11-15-2007 02:50 PM
Worked great!
Thanks!