msr-consulting / exscalabar_server

Repository for the EXSCALABAR server.
http://www.msrconsults.com/ukmet-gh/exscalabar
0 stars 1 forks source link

Meerstetter config bug #110

Closed datid closed 8 years ago

datid commented 8 years ago

Bug in Meerstetter config device, trying to cast a string to an enum - just doesn't work - so doesn't select properly between power and temperature control.

Fix in Meerstetter_test branch.

lo-co commented 8 years ago

OK...this is now fixed. Changed typecast to Scan from String. Added VI in Meerstetter directory Test called Test Cast to demonstrate.

lo-co commented 8 years ago

If a bad string is input, the default will be temperature.

lo-co commented 8 years ago

So, this fix did not work...

We have two options for approaching this:

  1. Encapsulate behavior in power message and reuse in the init.
  2. Create a power supply actor.

The latter might be the best approach...

lo-co commented 8 years ago

Whoops....this problem was fixed. It is the power issue that is not.