Hi, I'm having a hard time with Thorlabs Stepper Motor controller (BSC202), which is controlled via an Active-X environment.Since it is only one piece of hardware in a larger setup intended to work automatically, power to this and other devices is supposed to be controlled via NI-cDAQ (9174-9481) relays. However, if the relay was switched off before starting the .vi, an error message will pop up informing me of "+5V digital under voltage" inside the controller somewhere. If I close the message, everything will work fine, despite this notification - not a surprise, as error state is false (investigated with sondes). If the controller was powered on before executing the .vi, no message will appear and everything works fine.
I could actually live with the notification, if it wasn't requiring manual interaction. I tried several things so far:
1. Both devices (cDAQ, BSC202) are connected via USB, so I changed cables, ports and added a powered USB-Hub. Especially, the latter had helped with similar issues in the past, but not now.
2. I tried to ignore the pop-up by disabling automatic error handling
a) in "Vi-Execution..."-properties
b) and "tools-options-block diagram..."
It will pop up anyway and I don't know why (the official error output of the wire is false!).
3. I tried different waiting intervals to establish USB-communication (>1Min)
Worse: the entire setup had been working correctly for several months (unfortunately developed by someone else). So my first guess was: the hardware was actually damaged during a transport. But why would it be working, when switched on before program start, if actually damaged?
Is there a better way to control the hardware? I'm afraid it's an Active-X issue, which I don't get, because I'm not really familiar with Active-X.
Are there more options to ignore pop ups requesting manual interaction, which I don't know and couldn't find in other posts?
Is it a real hardware error?
System is Win7, LabVIEW 2012, screenshots of minimum code example and pop-up dialog box attached attached.
thanks,
Carsten
![code code]()
![event_info_panel.PNG event_info_panel.PNG]()