hy Ian, I would willingly rate you, but at the moment the answers didn´t help me really... I´ve phoned with the support of NI. The man said that there are perhaps problems with the interrupts of the different cards. So I will try it again and take the other cards out of the pc. after I can´t open your vi. I will attach you the write.vi from me. Perhaps you can have a look on it. Thanks.
Sorry, we have Labvie6 but on an other pc. I´ve tested your write.vi but it doesnt´t work. When I´ve digital channel 0, line mask -1 and pattern 0, than I thought it must be written on port 10, but there was no signal not on pin 10 and not on the others! What´s the mistake? I think Im`m too stupid!
now, the write.vi is yours. I have not done any changes to it.
1. Show radix of your digital controls (pattern/ line mask) 2. If you wanna write to line 1 (LSB), set your Line Pattern = 1 (hex) or 1 (binary) 3. If necessary, set your Line mask = 1 (hex)/ 1 (binary)
A 0 to Pattern (without line mask set) would means setting all to low.
The VI is not working with the other board since the VIs used with the 6533 are different than the ones used with the DIO-96.
You can find examples for the DIO-96 board at Search Examples->I/O Interfaces->Data Acquisition->Digital Input and Output->Immediate Digital Input and Output. Take the ones under the 8255 device.
Hope this helps. Filipe A. Applications Engineer National Instruments
Thanks, but the vi is working, now there is only one more problem. I don´t know how to change the mode of the dio-96- There are 3 modes. Do you know how to change them?