Hello Jorgep,
I don't have the library "PD DIO" so I can not open, see in detail you VI and run it.
But I noticed that you don't handle well the cluster error. I suggest you to see some LabVIEW examples in DAQmx or Traditional DAQ to understand the error handling (Exp : Write to 2 Dig Ports(8255).vi that you can found on "C:\Program Files\National Instruments\LabVIEW 7.1\examples\daq\digital\8255.llb\Write")
Then, I advice you also to use the function "PD DIO Clear" out of the while loop.
Please see DAQ example.
By doing some modification and by looking at some NI examples, I’m sure that you will not have this error any more.
Hope this help,
Sanaa T
National Instruments France
Sanaa T.
National Instruments France