03-15-2021 10:33 AM
Hello,
I have been given a supposedly operational VI to run a stepper motor. It uses the ULx package and I'm running into an error at the "Write" block. I'm getting an error 20002 "ULx Write (Digital Bool 1Line 1Point).vi<ERR>
Measurements: Write cannot be performed because this version of Write does not match the type of channels in the task.
Use the version of Write that corresponds to the channel type." I've attached a screenshot and the file in question.
Thank you for your help,
Michelle
03-15-2021 11:07 AM
You created analog output tasks, but then proceed to do digital outputs with those tasks.
Change the type of the VI where you first create the tasks.
03-15-2021 02:57 PM
Thanks for your reply. I've changed the ULx create channel block to digital output, however, I'm getting a broken arrow with the error "The polymorphic subVI is broken. You must fix all errors in the polymorphic subVI before this VI can run." I've attached the file with changes included.
Thanks again.
03-15-2021 03:43 PM
Hi there,
I've been looking at some ULx examples and I'm having the same issue. I opened ULx Cont Acq&Graph Voltage- To File(Binary).vi and ULx Write Dig Chan.vi; they're both doing similar things. I've attached screen shots of what's happening on my computer - could I be missing something in the software?
Thanks again!
03-15-2021 05:08 PM
I'm afraid I can't help much more because I don't have the ULx library installed nor do I have a Measurement Computing device handy right now.
03-26-2021 10:56 AM
The broken VI was because the MCC daq add on needed to be reinstalled. I uninstalled and reinstalled and it’s fixed now. Thanks for the help.