Hello!
This will be kind of tricky to answer since you didn�t specify which board you are using, which error message you got in LabVIEW among other things.
You say it works in Measurement & Automation, and that�s great since it shows that the board actually works. Have you verified that the output actually changes though when setting the output on or off?
If it then works in MAX and it doesn�t work in LabVIEW it might be so that LabVIEW have problems to access or find the specific DLL that LabVIEW uses (if you use DAQmx the DLL in question will be nilvaiu.dll). A repair of the driver would most likely be enough then.
But it can also be so that the configuration you are trying to set with the VI in question is not allowed.
Cheers,
Jimmie A
Nationa
l Instruments
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region