LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -200524_digital output setting

Solved!
Go to solution

When I run the code, always appear error- 200524.

I use USB- 6343 to match my code.

I have 8 digital output need to use.

I don't know if the digital output setting is wrong. I need to use the digital output to control my multiplexer, but it always jumps out of error.

Where is the clear digital pin setting about USB-6343 in Labview code?

 

Thank you.

0 Kudos
Message 1 of 2
(2,353 Views)
Solution
Accepted by topic author just911353

Hi Just,

 

why don't you read that error message?

There are two values in the appended array, but your DO task is configured for just one port!

(DAQmxWrite expects an array with just one element.)

When you want to combine those bits from "D0-3" and "D8-11" then you should use some bit shifting in your code, like:

output := "D8-11" * 16 + "D0-3"

Why are there all those coercion dots in your code?

Why don't you create U16 FP elements when your DAQmx functions expect/output them?

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,340 Views)