09-25-2018, 05:35 PM

I'm working on my first V2 driver and I'm curious what this menu item does.

My driver is a Brultech 1240 update so I am implementing the RESMON DevClass.

Most of my fields are RESMON#XXX~Watts, etc..

V2Fields.jpg (Size: 64.91 KB / Downloads: 2)

I have also implemented the QueryResInfo/ResourceList QueryTextVal.

When I try the validation I get this error:

V2Validation.jpg (Size: 61.36 KB / Downloads: 3)

Maybe its mad because Positive is a Boolean field (which indicates the direction of power flow)… No need to complain about the same two fields seven times though eh?

--Bob

My driver is a Brultech 1240 update so I am implementing the RESMON DevClass.

Most of my fields are RESMON#XXX~Watts, etc..

V2Fields.jpg (Size: 64.91 KB / Downloads: 2)

I have also implemented the QueryResInfo/ResourceList QueryTextVal.

Code:

`"CH1 Power Direction (Boolean)", "CH1 Mean Current (Amps)", "CH1 Instantaneous Power (Watts)", "CH1 Daily Power (WHrs)", "CH2 Power Direction (Boolean)", "CH2 Mean Current (Amps)", "CH2 Instantaneous Power (Watts)", "CH2 Daily Power (WHrs)", "AUX1 Instantaneous Power (Watts)", "AUX1 Daily Power (WHrs)", "AUX2 Instantaneous Power (Watts)", "AUX2 Daily Power (WHrs)", "AUX3 Instantaneous Power (Watts)", "AUX3 Daily Power (WHrs)", "AUX4 Instantaneous Power (Watts)", "AUX4 Daily Power (WHrs)", "AUX5 Instantaneous Power (Watts)", "AUX5 Daily Power (WHrs)"`

"RESMON#CH1~Positive", "RESMON#CH1~Amps", "RESMON#CH1~Watts", "RESMON#CH1~WHrs24Hrs", "RESMON#CH2~Positive", "RESMON#CH2~Amps", "RESMON#CH2~Watts", "RESMON#CH2~WHrs24Hrs", "RESMON#AUX1~Watts", "RESMON#AUX1~WHrs24Hrs", "RESMON#AUX2~Watts", "RESMON#AUX2~WHrs24Hrs", "RESMON#AUX3~Watts", "RESMON#AUX3~WHrs24Hrs", "RESMON#AUX4~Watts", "RESMON#AUX4~WHrs24Hrs", "RESMON#AUX5~Watts", "RESMON#AUX5~WHrs24Hrs"

V2Validation.jpg (Size: 61.36 KB / Downloads: 3)

Maybe its mad because Positive is a Boolean field (which indicates the direction of power flow)… No need to complain about the same two fields seven times though eh?

--Bob