3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
7 <html xmlns="http://www.w3.org/1999/xhtml">
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
11 <title>7. Data Commands — CasparCG 2.0 documentation</title>
13 <link rel="stylesheet" href="../_static/default.css" type="text/css" />
14 <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
16 <script type="text/javascript">
17 var DOCUMENTATION_OPTIONS = {
20 COLLAPSE_INDEX: false,
25 <script type="text/javascript" src="../_static/jquery.js"></script>
26 <script type="text/javascript" src="../_static/underscore.js"></script>
27 <script type="text/javascript" src="../_static/doctools.js"></script>
28 <script type="text/javascript" src="../_static/sidebar.js"></script>
29 <link rel="search" type="application/opensearchdescription+xml"
30 title="Search within CasparCG 2.0 documentation"
31 href="../_static/opensearch.xml"/>
32 <link rel="author" title="About these documents" href="../about.html" />
33 <link rel="copyright" title="Copyright" href="../copyright.html" />
34 <link rel="top" title="CasparCG 2.0 documentation" href="../index.html" />
35 <link rel="up" title="AMCP Reference" href="index.html" />
36 <link rel="next" title="8. Mixer Commands" href="mixer-commands.html" />
37 <link rel="prev" title="6. Template Graphics Commands" href="template-graphics-commands.html" />
45 <li class="right" style="margin-right: 10px">
46 <a href="../genindex.html" title="General Index"
47 accesskey="I">index</a></li>
49 <a href="mixer-commands.html" title="8. Mixer Commands"
50 accesskey="N">next</a> |</li>
52 <a href="template-graphics-commands.html" title="6. Template Graphics Commands"
53 accesskey="P">previous</a> |</li>
54 <li><a href="../index.html">CasparCG 2.0 documentation</a> »</li>
56 <li><a href="index.html" accesskey="U">AMCP Reference</a> »</li>
60 <div class="document">
61 <div class="documentwrapper">
62 <div class="bodywrapper">
65 <div class="section" id="data-commands">
66 <h1>7. Data Commands<a class="headerlink" href="#data-commands" title="Permalink to this headline">¶</a></h1>
67 <p>The DATA Commands are convenient to use when you have large datasets that might not be available at broadcast-time.
68 DATA allows you to store a dataset on the CasparCG Server and assign it to a much shorter name. This name can then be used to recall the data when displaying a template graphic.</p>
69 <div class="section" id="data-store">
70 <h2>7.1. DATA STORE<a class="headerlink" href="#data-store" title="Permalink to this headline">¶</a></h2>
71 <p>Stores the dataset data under the name name.</p>
73 <div class="highlight-python"><pre>DATA STORE [name:string] [data:string]</pre>
76 <div class="highlight-python"><pre>>> DATA STORE my_data "Some useful data"</pre>
79 <div class="section" id="data-retrieve">
80 <h2>7.2. DATA RETRIEVE<a class="headerlink" href="#data-retrieve" title="Permalink to this headline">¶</a></h2>
81 <p>Returns the data saved under the name <em>name</em>.</p>
83 <div class="highlight-python"><pre>DATA RETRIEVE [name:string]</pre>
86 <div class="highlight-python"><pre>>> DATA RETRIEVE my_data
87 << "Some usefule data"</pre>
90 <div class="section" id="data-list">
91 <h2>7.3. DATA LIST<a class="headerlink" href="#data-list" title="Permalink to this headline">¶</a></h2>
93 <div class="highlight-python"><pre>DATA LIST</pre>
96 <div class="highlight-python"><pre>>> DATA LIST
97 << my_data</pre>
106 <div class="sphinxsidebar">
107 <div class="sphinxsidebarwrapper">
108 <h3><a href="../contents.html">Table Of Contents</a></h3>
110 <li><a class="reference internal" href="#">7. Data Commands</a><ul>
111 <li><a class="reference internal" href="#data-store">7.1. DATA STORE</a></li>
112 <li><a class="reference internal" href="#data-retrieve">7.2. DATA RETRIEVE</a></li>
113 <li><a class="reference internal" href="#data-list">7.3. DATA LIST</a></li>
118 <h4>Previous topic</h4>
119 <p class="topless"><a href="template-graphics-commands.html"
120 title="previous chapter">6. Template Graphics Commands</a></p>
122 <p class="topless"><a href="mixer-commands.html"
123 title="next chapter">8. Mixer Commands</a></p>
125 <ul class="this-page-menu">
126 <li><a href="../bugs.html">Report a Bug</a></li>
127 <li><a href="../_sources/amcp/data-commands.txt"
128 rel="nofollow">Show Source</a></li>
131 <div id="searchbox" style="display: none">
132 <h3>Quick search</h3>
133 <form class="search" action="../search.html" method="get">
134 <input type="text" name="q" />
135 <input type="submit" value="Go" />
136 <input type="hidden" name="check_keywords" value="yes" />
137 <input type="hidden" name="area" value="default" />
139 <p class="searchtip" style="font-size: 90%">
140 Enter search terms or a module, class or function name.
143 <script type="text/javascript">$('#searchbox').show(0);</script>
146 <div class="clearer"></div>
148 <div class="related">
151 <li class="right" style="margin-right: 10px">
152 <a href="../genindex.html" title="General Index"
155 <a href="mixer-commands.html" title="8. Mixer Commands"
158 <a href="template-graphics-commands.html" title="6. Template Graphics Commands"
160 <li><a href="../index.html">CasparCG 2.0 documentation</a> »</li>
162 <li><a href="index.html" >AMCP Reference</a> »</li>
166 © <a href="../copyright.html">Copyright</a> 2011, Robert Nagy (ronag89@gmail.com).
168 <a href="http://www.python.org/psf/donations/">Please donate.</a>
170 Last updated on Mar 11, 2012.
171 <a href="../bugs.html">Found a bug</a>?
173 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.2.