02-11-2013 06:10 AM
Hi,
I'm trying to create a custom scale in LV. Unfortunately I got the error "-200212".
But I can't see what might be wrong.
Does anybody fas an idea?
Thanks for any help
Yves
02-11-2013 06:33 AM
Yves,
error -200212 has the following description:
Measurement units specified for the channel are not valid for the Measurement Type of the channel.
I marked the important keywords in bold.
Reading this indicates the following possible source:
a) Selecting mA for a Voltage input or V for a Current input
b) Due to the property node "AI.<meastype>.Units" set to "From Custom Scale", you try to set invalid (empty?) units to the channel.
Regarding b): Make sure that error handling is done properly to identify the node throwing this error.
hope this helps,
Norbert
02-11-2013 07:21 AM
Thank your for your help.
I expected that I can set whatever unit I want. (In my case I set "keine" for testing.)
And where can I set the "AI.meastype"? I can't set it to write.
Yves
02-11-2013 07:22 AM
And unfortunately I don't get an error in my "create scale"-subvi. The error occurs when I start the task.
Yves
02-11-2013 07:40 AM
Yves,
is it correct that your MAX task "cDAQ - Turm AI" contains more than 32 channels?
The first 32 channels (0-31) are Voltage channels, the channels 32+ are Current?
"AI.<meastype>.Unit" is a placeholder referring to the nodes "AI.Voltage.Unit" and "AI.Current.Unit" you have in the upper case structure in your subVI.
Norbert
02-11-2013 07:45 AM
Yes, It contains 32 Voltage input and then 32 mA Input.