LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating custom scale in LV

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

Download All
0 Kudos
Message 1 of 6
(2,420 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 6
(2,412 Views)

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

0 Kudos
Message 3 of 6
(2,401 Views)

And unfortunately I don't get an error in my "create scale"-subvi. The error occurs when I start the task.

 

Yves

0 Kudos
Message 4 of 6
(2,400 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 6
(2,391 Views)

Yes, It contains 32 Voltage input and then 32 mA Input.

0 Kudos
Message 6 of 6
(2,384 Views)