RTMC Pro Revision: 7/13 C o p y r i g h t © 2 0 0 6 - 2 0 1 3 C a m p b e l l S c i e n t i f i c , I n c .
License for Use This software is protected by United States copyright law and international copyright treaty provisions. The installation and use of this software constitutes an agreement to abide by the provisions of this license agreement. Campbell Scientific grants you a non-exclusive license to use this software in accordance with the following: (1) The purchase of this software allows you to install and use the software on one computer only.
Limited Warranty The following warranties are in effect for ninety (90) days from the date of shipment of the original purchase. These warranties are not extended by the installation of upgrades or patches offered free of charge. Campbell Scientific warrants that the installation media on which the software is recorded and the documentation provided with it are free from physical defects in materials and workmanship under normal use.
Table of Contents PDF viewers: These page numbers refer to the printed version of this document. Use the PDF reader bookmarks tab for links to specific sections. 1. Introduction .................................................................1 1.1 What’s New in RTMC Pro 4.1? ...........................................................2 2. Development Mode .....................................................3 2.1 2.2 2.3 2.4 The RTMC Pro Workspace.........................................................
Table of Contents 4.3.1.2 Using the Web Publisher ................................................. 54 4.3.2 Datalogger Websites .................................................................. 54 4.4 API Commands ................................................................................. 55 4.4.1 Command Syntax ....................................................................... 55 4.4.2 Data Access Commands............................................................. 55 4.4.3 Control Commands .
RTMC Pro 1. Introduction The RTMC (Real-Time Monitor and Control) Pro software provides the ability to create and run graphical screens to display real-time data as LoggerNet or RTDAQ collects it from the dataloggers. Controls are also provided to view and set datalogger ports and flags, as well as input locations or variables. In LoggerNet, RTMC Pro can combine data from multiple dataloggers on a single display. In RTDAQ, RTMC Pro projects are limited to a single datalogger.
RTMC Pro NOTE In LoggerNet, data must be collected from the datalogger for RTMC’s displays to be updated. Typically this is done by setting up a schedule in LoggerNet’s Setup Window. It can also be done from RTMC’s Project | Configure Override Scheduled Collection menu item. In RTDAQ, RTMC performs a manual poll to update project data when RTDAQ is connected to the datalogger. Therefore, RTDAQ must be connected to the datalogger for RTMC’s display to be updated.
RTMC Pro Pro 4.1, only IPv4 addresses were supported. IPv4 addresses are written in dotted decimal notation (e.g., 192.168.11.197). Leading zeroes are stripped for both IPv4 and IPv6 addresses. Note that while RTMC Pro now supports IPv6 addresses and they can be used to specify servers, CR1000/CR3000/CR800 dataloggers will not support IPv6 until a future OS release. Check the OS revision history on our website to determine when IPv6 support is added to the OS. • 2. Miscellaneous other changes.
RTMC Pro As seen in the example screen above, different types of graphical components can be combined to create an attractive real-time display. Company logos, maps, or any image stored in a standard graphic file format can be placed on the screen. Many images have been included with RTMC Pro. The default directory in which these files are stored is C:\Campbellsci\Lib\RTMCMediaLib.
RTMC Pro changes and close the Properties window. Once the link to the data value has been applied, if there is data available from LoggerNet or RTDAQ for the component, the value on the display will update, if Use Live Data is active. To make changes in display component settings, the Properties window can be opened by double-clicking the component or right-clicking the component and then choosing Properties from the drop-down menu.
RTMC Pro Provides visual and/or audible notification that the rate of change of a data value has exceeded a defined limit. An audible alarm can be disabled by right-clicking the component with your mouse and selecting Acknowledge Alarm. An alarm can also cause an email to be sent to a specified email address and/or a specified file to be opened. All events (audio, email, run/open) and alarm acknowledgement occur only when running the project in RTMC Run-time or CSI Web Server.
RTMC Pro Provides visual and/or audible notification that a data value has exceeded a defined limit. An audible alarm can be disabled by right-clicking the component with your mouse and selecting Acknowledge Alarm. An alarm can also cause an email to be sent to a specified email address and/or a specified file to be opened. All events (audio, email, run/open) and alarm acknowledgement occur only when running the project in RTMC Run-time or CSI Web Server.
RTMC Pro Depending upon the option chosen, displays the server time, server time at last data collection, station time, station time of last record stored, PC time, or a time stored in the data table (such as time of minimum or maximum). Depicts the selected data value as a numeric value, text string or Boolean.
RTMC Pro Displays a static text string that can be used to label other components or simply add text to the project. Miscellaneous Tab Provides a motor that can be depicted as on or off based on a data value. Displays a pipe. The flow through the pipe can be determined by a data value. A pipe is horizontal by default. To make a vertical pipe, unlock the aspect ratio and resize it so that it is taller than it is wide. Provides a pipe joint that can be used to connect two pipes.
RTMC Pro Displays the data value on the image of a thermometer. In run-time mode, max and min pointers can be reset by right-clicking the component. Displays the data value as the level in a tank. Switches Tab Indicates the state of a port, flag, input location, or public variable. A 0 is considered Off (false); any non-zero number is considered On (True). In runtime mode, right-click a switch to change its state.
RTMC Pro Indicates the state of a port, flag, input location, or public variable by the position of a horizontal or vertical bar. The default switch has two positions. A 0 is considered Off (false); any non-zero number is considered On (True). Other positions can be added. In run-time mode, click on a position to change to that state. Indicates the state of a port, flag, input location, or public variable by displaying an option from a list designated by the user. The default drop list has two options.
RTMC Pro Displays Rainflow data on a chart. In run-time mode, a portion of the chart can be “zoomed in on” by dragging a frame around the area to be viewed. Right-clicking the chart will bring up a menu that allows the chart to be printed, copied, saved, or zoomed to all data. If the Allow Runtime Customization check box is selected in RTMC Pro, this menu will also include a Customize item that allows the Run-time user to change any of the Rainflow Chart’s properties.
RTMC Pro NOTE 2.3 A description of each field in a component’s Properties box can be displayed by pressing F1 or clicking the help button (?) in the top right-hand corner of the dialog box. Functions Available from the RTMC Pro Menus All of the RTMC Pro operations are available from the menus at the top of the RTMC Pro window. Many of the options are also available as buttons on the toolbar, or by right clicking the components or other parts of the window or project tree.
RTMC Pro replace applies to the entire project, only the current screen, or only the current component. Select All selects all of the components in the workspace. The components can then be cut, copied, deleted, etc. Clear Selection clears the selection of components currently highlighted on the active screen. The Preferences menu item is used to change some global settings that affect all projects in RTMC Pro. The Visual Theme determines the look and feel of the application (i.e.
RTMC Pro Use Live Data LoggerNet – When selected, RTMC Pro uses the data that has been collected by LoggerNet and stored in LoggerNet’s data cache. Therefore, if LoggerNet is running and data is being actively collected from the datalogger network, the values displayed by the components will be updated as data is collected. However, run-time events (audio, email, run/open, alarm acknowledgement, switch state changing, value changing, value forwarder, etc.) will not be active.
RTMC Pro millimeters, inches, or pixels. For Run-time, when Auto Size is selected, the size of an RTMC display is set automatically by dragging the boundaries of the screen to a new size. The components will resize to match the new screen size. The aspect ratio of the components will be maintained only if Lock Aspect Ratio is selected. When Fixed Size is selected, the screen size is fixed. It is determined by the size set in the development mode.
RTMC Pro Load as Template enables you to easily use the same project for multiple stations. When a project designated as “Load as Template” is loaded in RTMCRT, the following dialog box will appear: The Template Station drop-down list will contain all of the stations used in your template project. After selecting a station from the drop-down list, you can open the Data Source Browser by pressing the button to the right of the Replace with field.
RTMC Pro Component Menu The Component Menu is used to set the component properties, placement and alignment. The Component Menu is also available by right clicking any of the components in the workspace. Many of the Component Menu’s items (Align, Space Evenly, Make Same Width, Center, and Order) are also available from the Layout Toolbar. Properties brings up the Properties window for the selected component. Delete Selection removes the selected component(s) from the workspace.
RTMC Pro Order is used to manage the position of graphic objects on the workspace. This is often referred to as Z order. Displays are often a combination of a background graphic and data display objects in front. Objects added to the workspace are, by default, placed on top of any existing objects. These operations are used to determine the order in which objects are displayed. This is important when layering transparent objects. Group Components allows you to group components together.
RTMC Pro Instead of typing the expression directly into the Select Data field, you can press the calculator button next to that field to bring up the Expression Builder. See Section 2.4.12, Expression Builder. Strings As shown above, double quotes are used in RTMC to enclose the name of a data value (or source, datalogger, or table depending on the component). Therefore, when defining a literal string, a dollar sign is used as a prefix.
RTMC Pro For example, StartAtOffsetFromNewest(5,OrderCollected);IIF(ABS(("Server:CR1000.MyTa ble.Value"ValueAtTime("Server:CR1000.MyTable.Value",TimeStamp("Server:CR1000. MyTable.Value"),30*nsecPerSec,0))>10 AND ABS(ValueAtTime("Server:CR1000.MyTable.Value",TimeStamp("Server:CR 1000.MyTable.Value"),30*nsecPerSec,0)ValueAtTime("Server:CR1000.MyTable.Value",TimeStamp("Server:CR1000. MyTable.Value"),60*nsecPerSec,0)))>10,1,0) can be replaced by: Alias(X,"Server:CR1000.MyTable.
RTMC Pro All of the functions available in RTMC are described below. For details on a function, see RTMC’s online help. NOTE Spaces must be used to delimit the predefined constants and functions. Operators allow but do not require spaces. NOTE An expression can include data values from multiple dataloggers. NOTE An expression must include a data value from a data source (i.e., LoggerNet server, database, data file, HTTP datalogger, or virtual data source). 2.4.
RTMC Pro 2.4.3 Predefined Constants Constant Description e 2.718282 PI 3.141593 True -1 False 0 NOPLOT NAN NAN NAN (not a number) INF INF (non-finite number) 2.4.4 Predefined Time Constants These predefined time constants can be useful as a parameter for the Functions with State, where the interval parameter must be specified in nanoseconds.
RTMC Pro FIX(x) Returns the integer portion of a number. If the number is a negative, the first negative integer greater than or equal to the number is returned. FLOOR(x) Rounds a number down to an integer value. FRAC(x) Returns the fraction part of a number. FormatFloat(x,s) Converts a floating point value, x, into a string with format defined by the format string, s. FormatFloatL(x,s) Converts a floating point value, x, into a string with format defined by the format string, s.
RTMC Pro SelectSwitch Iterates through the set of predicates and values in the order in which these are specified in its arguments list. It will return the value associated with the first predicate that specifies a non-zero integer value. If no asserting predicate can be found, the function will return the default_value. XOR(x) Performs a logical exclusion on two numbers. 2.4.7 String Functions The following functions can be used to manipulate strings.
RTMC Pro 2.4.8 Conversion Functions The following functions perform a type conversion on a value. See the online help for more information. Function Description ToDate Converts a value to a date. ToFloat Converts a value to a floating point number. ToInt Converts a value to an integer. 2.4.9 Time Functions The following functions involve a timestamp or the system time. See the online help for information about the parameters required for each function.
RTMC Pro Report Offset For RTMC project pages where a Report Range component is present, this function will specify an offset, in nanoseconds, that will be subtracted from the report’s start time. This function will not have an effect in any other context. This function is useful for a report that contains a statistical function that requires data from before the reports start time. 2.4.11 Statistical Functions The following functions involve the state of a data value over a period of time.
RTMC Pro StdDev Returns the standard deviation of up to the last specified number of values. StdDevOverTime Returns the standard deviation of the specified value over time. StdDevOverTimeWithReset Returns the standard deviation of the specified value since the function was reset. Total Returns the total of all values that it has considered. TotalOverTime Returns the total of all values whose timestamps are greater than the newest timestamp minus the specified interval.
RTMC Pro The Raw Source tab can be used to view the raw source including the expression, start option, aliases, and valuesynchs. Edits can be made on either the Expression Builder tab or the Raw Source tab. Ctrl-Z or right-click | Undo can be used to undo an edit. Functions Use the Functions side tab to add functions to the expression. Place your cursor where you want to the function to be added.
RTMC Pro Clicking on an interval parameter provides a drop-down arrow that can be used to select one of the predefined time constants. After selecting one of the predefined time constants, you can click in the edit box and modify the value. For example, you can choose nsecPerMin, and then click in the box to modify this to 30*nsecPerMin. Note that one of the predefined time constants does not have to be used. You can type in an interval directly. All other parameters must be typed in directly.
RTMC Pro ) to add a data value to On the ValueSynch side tab, select the New button ( be synchronized. Select a value in the list and press the Delete button ( ) to delete a data value from the ValueSynch. Use the arrow buttons to move a value up or down in the list. Selecting a value and then clicking on the variable name will allow you to edit the variable name.
RTMC Pro If a project contains only one data source, the status bar at the bottom right of the RTMC window will indicate the data source and connection state (connected or disconnected). If a project contains multiple data sources, the Status Bar will say Data Source Status. The background will be green if RTMC is able to connect to all of the data sources and red if there is a problem with at least one of the data sources.
RTMC Pro Server Address This is the hostname or TCP/IP address of the computer running the communications server. This must be the valid name of an existing computer or a TCP/IP address in the form XXX.XXX.XXX.XXX for an IPv4 address or [XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX] for an IPv6 address. If the software server resides on the same computer as RTMC, you can simply type in LocalHost for the server address. By default, LoggerNet’s port number is 6789.
RTMC Pro Data File The data file to be used. Type in the name directly or press the button to the right of the field to browse to the data file. Label File This field is used only for data files from array-based dataloggers. The label file (*.FSL or *.DLD) to be used to provide labels for the data values. (The *.FSL and *.DLD files are created when a datalogger program is compiled in Edlog or Short Cut.) Type in the name directly or press the button to the right of the field to browse to the label file.
RTMC Pro Query Interval Specifies how often RTMC will query the database for new data. Use the arrows or type in a number directly and then choose Milliseconds, Seconds, Minutes, Hours, or Days from the drop-down list. The remaining information changes depending on the database type as described below: SQL Server Compact The only additional information needed for a SQL Server Compact database source is the database file to be used.
RTMC Pro To select a SQL Server database source you must select a SQL Server instance. The list of published SQL Server instances is shown in the Data Source combo box. You can also type into the Data Source combo box, because the desired server might not be published. Windows Authentication or SQL Server Authentication can be selected. Windows Authentication does not require a username and password, but rather uses Windows user accounts to authenticate valid users.
RTMC Pro MySQL The MySQL connection is an ODBC connection. You must use the Windows ODBC Data Source Administrator to configure the database connection. Currently only system data sources are supported and show in the Data Source combo box. The Username and Password may be optional. They will be set to blank in the connection string. It has been found that when set to blank, the login id and password configured in the ODBC Data Source Administrator are used.
RTMC Pro 2.5.4 HTTP Datalogger Source To add an HTTP datalogger press the Add button and select Add HTTP Datalogger Source. A dialog box will open requiring you to specify the following: Source Name Designates the name that will be used for the HTTP datalogger in the Data Source Browser. Datalogger Web Address Specifies the IP address of the HTTP datalogger. Datalogger Web Username This is the username that should be used when accessing the HTTP datalogger.
RTMC Pro NOTE The state of virtual variables is saved between RTMC Run-time sessions. The state of virtual variables is also saved between sessions, when viewing your project using CSI Web Server. The state of virtual variables is tracked separately for RTMC Runtime and for CSI Web Server (i.e., a change made to a virtual variable in RTMC Run-time will not affect the value of the variable in CSI Web Server). To add a virtual data source press the Add button and select Add Virtual Data Source.
RTMC Pro specify the range of data for your report, you can start placing the display components you want in the report. When you have finished designing your report, you need to specify how you want to export it. The Report Export component lets you configure how the report screen will be exported. You can choose to have the report exported by running a batch file and/or on demand from RTMC Run-time.
RTMC Pro Below is an example of running the same report from a command line: “C:\Program Files\Campbellsci\RTMC\RTMC_Run-time.exe” --run_report=“C:\CampbellSci\RTMC\report_project_2.rtmc2” In addition to setting the range of your report, the Report Range component also has run-time options for interactive reports. There is a Jump button ) that will allow you to jump to a specific begin date, end date, or ( custom range.
RTMC Pro NOTE 3. When viewing a report using the RTMC WebServer, you will only be able to look at data for the specified custom range or the current interval depending on the Report Type chosen in the Report Range component. The RTMC WebServer does not support user interaction. Therefore, you will not be able to navigate forward and backward through time, insert notes into the report, or export the report.
RTMC Pro Once a project file has been created, the display screen can be run without starting RTMC Pro. From the Windows Start Menu under Programs | Campbell Scientific | RTMC click RTMC Run-time. In the run-time window select File | Open Project to select the RTMC Pro project screen to run. If Remember Username and Password was not selected in RTMC Pro, it will be necessary to enter them each time the project is run in RTMC Run-time.
RTMC Pro You first use RTMC to create a project containing the display and/or control components that you want to be available from your website. Next, the Web Publisher is used to publish the web files. From RTMC Pro, you can press the ) to bring up the Web Publisher and publish your Publish to Web button ( project. (The Web Publisher can also be opened from the Windows Start Menu by selecting Programs | Campbell Scientific | CSI Web Server | Web Publisher.
RTMC Pro The keys icon ( ) next to each site can be used to create or edit the .csipasswd file for that site. See Section 4.3, Web Security, for more information about .csipasswd files and how they control users and their website access rights. The plus icon ( ) next to “Root” creates a new remote folder. You can then use the keys icon next to the new remote folder to create the .csipasswd file for that remote folder before publishing a website to the folder. See Section 4.
RTMC Pro your web server and, depending upon firewalls, proxies, and port-forwarding configurations, may be different from the host machine name. HTTP Server Port – Specifies the TCP port on which the HTTP server will listen for unencrypted connections. You may need to change this port if there is already a web server running on this machine or if your network or personal firewall do not allow service on TCP port 80.
RTMC Pro 4.2 Web Publisher The Web Publisher allows you to publish your RTMC project to the web. In addition, the Web Publisher has display settings that allow you to show other tabs such as data browsing and network status. The Web Publisher supports two kinds of websites: PC websites and Datalogger websites. PC Website - PC websites run on the CSI Web Server. The CSI Web Server supports any number of websites and lets you control user access rights for each website.
RTMC Pro 4.2.1 Creating Websites To create a website, press the Add button and select either Add PC Website or Add Datalogger Website. Fill in the settings as described below. After filling in the desired settings, press the Publish Website button to publish the content. Web Server Settings Host Address - Specifies the address where you will be publishing your website. The address can be a domain name or IP address in the form XXX.XXX.XXX.
RTMC Pro account with “all” access is called the Root User ID. For more information on security, see Section 4.3, Web Security. Root Password – The root password is the password associated with the root user ID that has been given “all” access to publish websites to the web server. Remote Folder – The remote folder controls where a website will be published relative to the web server’s root directory. By default, the CSI Web Server’s root directory is C:\Campbellsci\CsiWebServer.
RTMC Pro Default Poll Interval - When accessing a website from an Internet browser, data is polled. This means that we have to ask the web server if it has any new data to be displayed. The default poll interval is set to 10 seconds. If you are displaying slower data, you should change this setting to match your data interval. If you have really fast data, you will have to do some testing to find an acceptable poll interval.
RTMC Pro 4.2.2 Managing Websites To remove a website, select the website in the Websites list and press the Remove button. To rename a website, select the website in the Websites list and press the Rename button. The settings from the website that is currently selected in the Websites list can be copied to a new website by pressing the Copy button. This can be useful when multiple websites will have similar settings, such as when you want to publish the same RTMC project to multiple dataloggers.
RTMC Pro For PC Websites, there is a default .csipasswd file which includes two users: Username: admin Password: admin Access Level: All Username: anonymous Password: Access Level: Read Only If a root .csipasswd file has not been created, this default .csipasswd file will be used for the root directory and any remote folder that does not include its own .csipasswd file, The CSI Web Server Administrator is the preferred method of creating and editing .csipasswd files.
RTMC Pro The .csipasswd File Editor dialog box that is opened when the keys icon is pressed has the following fields: Realm - The name given to this realm. (A realm is a collection of user names and their access levels.) The name will be used in the prompt the browser displays when asking the user for a user name and password. User Names - Shows the users that are currently defined in this realm. Press Add User to add a new user. Select a user name in the list and press Delete User to remove that user.
RTMC Pro All – Allowed to view data, make changes to writeable values in a datalogger’s Public or Status table or a virtual data source, set a datalogger’s clock, use the API FileControl command, and publish websites. After defining the desired user names and access levels, press Apply to apply the changes. You can also press Cancel to discard the changes. Press Read file to read a .csipasswd file into the Website .csipasswd File Editor. Press Save File to save the contents of the Website .
RTMC Pro and access levels you want to be available and press the OK button. Press the Publish Website button to publish the website and send the new password file. When you press the OK button on the Website .csipasswd File Editor dialog box in Web Publisher, this file is stored to your computer. When you press the Publish Website button, this file will be sent to the datalogger and will overwrite the current .csipasswd file.
RTMC Pro When querying through the CSI Web Server, that data source is specified as source_name:station_name.table_name.field_name. (Note the station_name applies only to LoggerNet Server data sources.) For example, the data source for the PTemp field in a CR1000's Public table in a LoggerNet Server data source would be: Uri=Server:CR1000.Public.PTemp When querying the datalogger directly, the data source is specified as table_name.field_name.
RTMC Pro Backfill – The interval, in seconds, for the backfill (e.g., 3600 would be 1 hour). Format NOTE The Format is the format in which to return the data. Options are HTML, JSON, TOA5, TOB1, XML. If a value of json is specified for the format parameter and the web server has a large data set to send, the web server may choose to break the data into multiple requests by specifying a value of true for the more flag in the JSON output.
RTMC Pro http://192.168.12.55/?command=dataquery&uri=OneMin.TempF&format =html&mode=since-record&p1=14400 • To return all records since one hour ago: http://192.168.12.55/?command=dataquery&uri=OneMin.TempF&format =html&mode=backfill&p1=3600 BrowseSymbols The BrowseSymbols command is used to return all the sources in an RTMC project, all the stations in a server data source, all the tables in a datalogger or database, all the fields in a table, or all the elements of an array.
RTMC Pro Examples CSI Web Server In these examples, you are accessing data through the CSI Web Server at address 192.168.4.14. The RTMC project is published to the remote folder Weather. • To return all data sources in a project: http://192.168.4.14/weather/?command=browsesymbols&format=html • To return all stations in the LoggerNet server data source: http://192.168.4.
RTMC Pro Datalogger In these examples, you are directly accessing the datalogger at 192.168.12.55. • To return all tables in a datalogger: http://192.168.12.55/?command=browsesymbols&format=html • To return all fields in the Public table: http://192.168.4.14/?command=browsesymbols&uri=Public&format=html • To return all the elements in the Flag array, which is part of the Public table: http://192.168.4.14/?command=browsesymbols&uri=Public.flag&format= html 4.4.
RTMC Pro 6 Invalid table name 7 Invalid fieldname 8 Invalid fieldname subscript 9 Invalid field data type 10 Datalogger communication failed 11 Datalogger communication disabled (LoggerNet data sources only) 12 Blocked by datalogger security 13 Invalid table definitions (LoggerNet data sources only) 14 Invalid device name (LoggerNet data sources only) 15 Invalid web client authorization Results codes marked as (LoggerNet data sources only) are applicable only when the API is being used w
RTMC Pro • To check the clock of the CSI Web Server: http://192.168.4.14/weather/?command=clockcheck&format=html • To check the clock of the CR1000 in the LoggerNet server data source: http://192.168.4.14/weather/?command=clockcheck&URI=Server:CR1000 _ip&format=html Datalogger In this example, you are directly accessing the datalogger at 192.168.12.55. • To check the clock of the datalogger: http://192.168.12.
RTMC Pro 6 Communication with the station failed (LoggerNet data sources only) 7 Communication with the station disabled (LoggerNet data sources only) 8 Blocked by datalogger security 9 Invalid station name (LoggerNet data sources only) 10 LoggerNet device is busy (LoggerNet data sources only) 11 Specified URI does not reference a LoggerNet station (LoggerNet data sources only) Results codes marked as (LoggerNet data sources only) are applicable only when the API is being used with a CSI web ser
RTMC Pro URI The URI can be specified as URI=source_name:station_name. For direct datalogger access, the URI can be omitted. Expr Specifies the path and file pattern for the desired file to be returned. Path determines the drive on the datalogger, i.e., CPU:, USR:, or CRD:. The file pattern can incorporate the use of wildcards. If the path is omitted or invalid, or a file matching the pattern does not exist, an Unrecognized Request response will be returned.
RTMC Pro Format The Format is the format in which to return the list of files. Options are HTML, JSON, and XML. ListFiles returns the following, formatted in a table: Path The path of the file or directory, relative to the URL. Is Directory A Boolean value that indicates whether or not the returned object is a directory. Size An integer that provides the size of a file in bytes, or the number of bytes free in a directory.
RTMC Pro FileControl The FileControl command allows you to perform actions on files that are located on one of the datalogger's drives. Note that FileControl can only be used when accessing a datalogger directly and not through the CSI Web Server. The command has the following parts: 66 File The name of the file on which to perform the file control operation. This command is optional for Actions 7, 8, 9, 11, and 12. File2 The name of the second file required for the command.
RTMC Pro specified by File, and mark the same file as the program to be run on power up. Format 14 Stop the currently running program, delete its associated data tables, and run the program specified by File without affecting the program to be run on power up. 15 Move the file specified by File2 to the name specified by File.
RTMC Pro Example Datalogger In this example, you are directly accessing the datalogger at 192.168.12.55. • To set a program named tc-fast.cr1 on the datalogger's CPU drive to run on power up: http://192.168.12.55/?command=filecontrol&file=CPU:tcfast.
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA) PO Box 8108 Garbutt Post Shop QLD 4814 AUSTRALIA www.campbellsci.com.au • info@campbellsci.com.au Campbell Scientific do Brasil Ltda. (CSB) Rua Apinagés, nbr.