Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

PD-dio64

Hello!

I’m using a powerdaq PD-dio64from UEI to develop an application.
The application is being developed in LabVIEW.
Initially I just have one cycle controlling port 2 and 3 and the program was running without problems. After that I add a new cycle to control ports 0 and 1.
Now I have the two cycles in the program, one to control port 0 and 1 and other to control port 2 and 3, but when I run the program, an error occurs, "Source: PD DIO clear; Message: The value of a numeric parameter is invalid".
Can’t I control every ports at the same time?
I send the program that I’m developing, in attach.
Can you help me to solve this problem?
Thanks. Best regards.
0 Kudos
Message 1 of 2
(3,046 Views)
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

0 Kudos
Message 2 of 2
(3,035 Views)