Q&A Forum

Notifications
Clear all

Environment values from CANbus device

3 Posts
2 Users
0 Reactions
656 Views
(@angelo)
Posts: 31
Member
Topic starter
 

Hello,

I have a CANbus device which can provide environment values.

If I declare the CAN variables names with the exact internal variables names, will this make the link between CANbus message values and internal values???

Angelo

 
Posted : 26/04/2023 11:35 am
(@angelo)
Posts: 31
Member
Topic starter
 

Hello, anybody here ??? ???? 

Will it work ??? Or should I create a plugin to pass values from can values to internal values ???

 

Angelo

 
Posted : 03/05/2023 12:02 pm
(@admin)
Posts: 1445
Member Admin
 

Hi,

Here is what to do:

Set this variable to true: Settings.Properties.Settings.Default.envDataPluginAttached

Then write the data to these variables: 

Settings.Properties.Settings.Default.ambientPressure (in mBar)
Settings.Properties.Settings.Default.ambientTemperature (in degrees C)
Settings.Properties.Settings.Default.relativeHumidity (in %)

They are all of type double. 

Then you can select "Use Plugin sensor data" in the Environmental power correction option. 

Call the channels something else than the internal sensor names. 

Cheers

 
Posted : 03/05/2023 12:17 pm
Share:
Select your currency
EUR Euro
USD United States (US) dollar