Recommended Posts

Hi 

I am struggling to log (and graph) a number of global variables that have been calculated in sequences.  Have got the graphing working but it wont log the data for me.  I have logging set up for raw data from inputs and am wanting to log the global variables for a few hours at a time so from what I can see logging may be better suited than  export sets.  

I have created a test channel for each variable I want to log (and graph) as below:

image.thumb.png.099e02b6b03a6370dba5239c37f03473.png

I then have a sequence running to make the variable a string in the channel

While (1)
      
      Graph_DT_Flow.AddValue(insertTime(DT_Flow,systime(),0))      
     
      Graph_kW.AddValue(insertTime(kW,systime(),0))    
     
      delay(1)
      
   endwhile

 

This allows me to graph the channels which is working but when I try to log them the column when opened in excel only has the heading.

 

image.png.b7f7b20b4afbddc6b0c3d4c56237a2fa.png

image.png.35226061cc214153b03a4c3d187979cd.png

If you could help with this it would be amazing!!

 

image.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.