cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

CODESYS visu How to reset trace and trend graph?

CODESYS visu How to reset trace and trend graph?

Open
Occasional Contributor

Hello Community,

We need to reset the trace and trend graph,

Trace element triggering the reset button does not reset the trace graph. 

Open_2-1687528951176.png

As for trend graph, i tried following codesys online help (below) deleting the trend recording history, it seems the VisuTrendStorageAccess library does not have the GlobalInstances.g_TrendRecordingManager variable to find the trend recording. 

Open_3-1687529024367.png

https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_trend_programming.html

Open_4-1687529453724.png

Anyone know how to reset the graph in codesys? 

Warmest regards,

8 REPLIES 8

CodeShepherd
Community Moderator
Community Moderator

Moved to corespomdig Forum CODESYS - PLC Add-ons.

georkueh
Community Moderator
Community Moderator

Hi.

What is the ctrlX WORKS version you are using?

Internal Tracker: CI 680453

Open
Occasional Contributor

Hi georkueh,

I am using ctrlX Works version 1.20.2.

Also is it possible to extract the recorded datalog file from the trace or trend graph to ctrlX HMI in csv or text file?

Warmest regards,

CDSAddons
Established Member

Hi Open

The trend can be reset as described with "Deleting the trend recording history".
The trace cannot be reset. It continues to run. You can start and stop the trace, but there is no reset.

Open
Occasional Contributor

I think i set my sTrendRecordingName wrongly previously, now is working. 

CDSAddons
Established Member

Codesys trace supports a command, that saves the data to a file on the development system, f.e.g *.trace.csv as file type.
https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_cmd_trace_save.html 

Trend data cannot be saved as a .csv file format/data.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist