Q&A Forum

Environment values ...
 
Notifications
Clear all

Environment values from CANbus device

3 Posts
2 Users
0 Reactions
799 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 10: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 11:02 am
(@admin)
Posts: 1460
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 11:17 am
Share:
Select your currency
EUR Euro
USD United States (US) dollar