Hi Sharmila-
Is it possible that you were seeing error -200488? This might be caused if you are trying to create analog channels on your digital-only PCI-DIO-96.
In the example you posted, the front panel control "physical channels" is only polling for analog channels. You can change this to a digital setting by right-clicking on the control, choosing "I/O Name Filtering," and changing the I/O type to either digital input or output. You can then follow the naming convention for configuring digital ports as Ed illustrated in his example programs.
The task output name did not show up when using the create channel VI alone. Once you actually start the task, this output will show up as "_unnamed task."
Please let me know if changing the setting to reflect a digital output channel works for you. Keep in mind that ai or ao in channel names correspond to analog input and output, respectively, and that any name that mentions ports of lines corresponds to digital operations.
Thanks,
Tom W
National Instruments