02-22-2022 02:34 PM
All I am trying to do is to write to multiple channels. I want to control 8 different relays. I kept getting this error:
02-22-2022 02:36 PM
Hi GRCK,
check the manual of your ULx device…
@GRCK5000 wrote:
All I am trying to do is to write to multiple channels. I want to control 8 different relays.
Then why do you use "1chan 1sample" mode, when it comes to multiple channels???
02-22-2022 02:58 PM
I fixed it and now I have Error 10034
02-22-2022 03:17 PM
02-22-2022 03:30 PM
Yes, I did and kept having the same problem.
02-22-2022 03:39 PM
Please share the latest VI if updated.
02-22-2022 03:56 PM
Hi santo,
I have attached the latest VI updated.
By the way I am using MCC DAQ (USB-TC-AI) hardware. I even tried to open the software for this device for configuration and kept getting the same issue.
02-22-2022 04:29 PM
@GRCK5000 wrote:
Hi santo,
I have attached the latest VI updated.
By the way I am using MCC DAQ (USB-TC-AI) hardware. I even tried to open the software for this device for configuration and kept getting the same issue.
Do you mean that even with MCC DAQ software, you get some errors? - if so, there is something wrong with the hardware itself.
General feedback - it would be best to reconsider your state machine architecture, your method of using local variables to control hardware is not best.
About the error you got, do you know which exact subVI call returned the error? in general, you seem to use 8 element boolean arrays everywhere and the DO task has 8 channels (0:7)