How do I set the display frequency of the Staribus VLF instrument?
Last Updated on Wednesday, 02 March 2011 21:45 Written by Mark Wednesday, 02 March 2011 21:33
Frequency display, this is a *temporary* state of affairs, while I sort out XML/UI to do this is a friendly way.
For an attached bit of hardware, you need a specific item of metadata to be available when you've done the data capture. The easiest (?!) way to do this is to add the item to the DataCapture module in the instrument's XML, so look in the XML file for the DataCapture module:
<Plugin>
<Identifier>DataCapture</Identifier>
<Name>DataCapture</Name>
<Description>The DataCapture Module</Description>
<ResourceKey>DataCapture</ResourceKey>
and add:
<PluginMetadata>
<md:Key>Observation.Channel.Value.Virtual.0</md:Key>
<md:Value>23.4</md:Value>
<md:DataTypeName>String</md:DataTypeName>
<md:Units>Dimensionless</md:Units>
<md:Description>The frequency of channel 0</md:Description>
</PluginMetadata>
Where I've set the value to 23.4. It doesn't matter what order the metadata items appear. When the DataCapture module runs a command, the m/d will appear on the m/d tab, and be saved when you do an export. You should see the number in <Value> appear in the little control panel window.



