I have a program that takes pictures every time interval (usually every 2 hours). Before the picture is taken, one of 6 ligths will be turned on. Wich light to be turned on is decided by a switch. I use a PCI 6025 E IO card to send digital signal to the switch.
When I use the test program this works just fine, the light i choose shines with the intensity I choose (analog signal), but when I use the same code in my main program I get the error message:
"Error -10008 occurred at DIO Port Write
Possible reason(s):
NI-DAQ LV: The group is invalid."
Can anyone please explain why I get this error?
(attached programs are made with LV 7.0)
Best regards,
Kristin