{"id":4120,"date":"2019-06-13T16:23:43","date_gmt":"2019-06-13T14:23:43","guid":{"rendered":"https:\/\/demdlx704as001.ad.harman.com\/?p=4120&#038;preview=true&#038;preview_id=4120"},"modified":"2021-02-08T15:35:21","modified_gmt":"2021-02-08T14:35:21","slug":"common-2-2","status":"publish","type":"post","link":"https:\/\/audioworx.transfunnel.co\/old\/?p=4120","title":{"rendered":"Device description file: How to define a target value (TargetValue section)"},"content":{"rendered":"<div style=\"overflow-x: auto;\">\n<p>&nbsp;<\/p>\n<table style=\"border-collapse: collapse; width: 97.075%; height: auto; zoom: 80%;\" border=\"1\">\n<tbody>\n<tr>\n<td class=\"table-head\" style=\"width: 12.8418%;\" width=\"123\">Name<\/td>\n<td class=\"table-head\" style=\"width: 12.9849%;\" width=\"57\">Type<\/td>\n<td class=\"table-head\" style=\"width: 10.7694%;\" width=\"57\">Def<\/td>\n<td class=\"table-head\" style=\"width: 10.7068%;\" width=\"57\">Tmp<\/td>\n<td class=\"table-head\" style=\"width: 10.9135%;\" width=\"47\">Incl<\/td>\n<td class=\"table-head\" style=\"width: 51.1382%;\" width=\"340\">Description<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 12.8418%;\" width=\"123\">Type<\/td>\n<td style=\"width: 12.9849%;\" width=\"57\">Attr<\/td>\n<td style=\"width: 10.7694%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.7068%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.9135%;\" width=\"47\"><\/td>\n<td style=\"width: 51.1382%;\" width=\"340\">Possible values:<\/p>\n<ul>\n<li>TargetValue<\/li>\n<li>empty<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 12.8418%;\" width=\"123\">&lt;BitConverter&gt;<\/td>\n<td style=\"width: 12.9849%;\" width=\"57\">Elmt<\/td>\n<td style=\"width: 10.7694%;\" width=\"57\">1<\/td>\n<td style=\"width: 10.7068%;\" width=\"57\">1<\/td>\n<td style=\"width: 10.9135%;\" width=\"47\"><\/td>\n<td style=\"width: 51.1382%;\" width=\"340\">The format of the value on the target device. Possible values:<\/p>\n<ul>\n<li>Int16BitConverter<\/li>\n<li>Int32BitConverter<\/li>\n<li>Int8BitConverter<\/li>\n<li>FixedPoint5_23BitConverter<\/li>\n<li>FixedPoint16_16BitConverter<\/li>\n<li>FixedPoint8_24BitConverter<\/li>\n<li>FixedPointConverter (Attributes\u00a0 DigitsBeforeDecimal- no of digits before decimal separator, DigitsAfterDecimal &#8211; no of digits after decimal separator. Supported fixed point bit formats are 16, 24 and 32. All bit formats are signed. Unused bits are not supported: DigitsBeforeDecimal+ DigitsAfterDecimal must be equal to 16, 24 or 32. Example : &lt;BitConverter DigitsBeforeDecimal = &#8220;2&#8221; DigitsAfterDecimal = &#8220;22&#8221;&gt;FixedPointBitConverter&lt;\/BitConverter&gt;<\/li>\n<li>FloatBitConverter<\/li>\n<li>UInt16BitConverter<\/li>\n<li>UInt32BitConverter<\/li>\n<li>UInt8BitConverter<\/li>\n<li>Float16BitConverter<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 12.8418%;\" width=\"123\">&lt;Encode&gt;<\/td>\n<td style=\"width: 12.9849%;\" width=\"57\">Elmt<\/td>\n<td style=\"width: 10.7694%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.7068%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.9135%;\" width=\"47\"><\/td>\n<td style=\"width: 51.1382%;\" width=\"340\">Conversion formula, written in C# code, and executed before the value is sent to the target device. e.g., 20 * Math.Log10(value). It must be the inverse of &lt;Decode&gt; formula.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 12.8418%;\" width=\"123\">&lt;Decode&gt;<\/td>\n<td style=\"width: 12.9849%;\" width=\"57\">Elmt<\/td>\n<td style=\"width: 10.7694%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.7068%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.9135%;\" width=\"47\"><\/td>\n<td style=\"width: 51.1382%;\" width=\"340\">Conversion formula, written in C# code, that is executed after a value is read back from a target device. e.g., Math.Power(10, value \/ 20). It must be the inverse of &lt;Encode&gt; formula.<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 12.8418%;\" width=\"123\">&lt;Mask&gt;<\/td>\n<td style=\"width: 12.9849%;\" width=\"57\">Elmt<\/td>\n<td style=\"width: 10.7694%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.7068%;\" width=\"57\">0 .. 1<\/td>\n<td style=\"width: 10.9135%;\" width=\"47\"><\/td>\n<td style=\"width: 51.1382%;\" width=\"340\">\n<p>A bit mask that can be defined to limit the update of the target device memory to specific bits. The main use case is in conjunction with an EnumSV.<\/p>\n<p>If a single bit of the mask is:<\/p>\n<ul>\n<li>0 =&gt; bit of the memory cell is not used<\/li>\n<li>1 =&gt; bit of the memory cell is used<\/li>\n<\/ul>\n<p>e. g. 0x08 =&gt; bit three is used &#8211; the reset is ignored.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Name Type Def Tmp Incl Description Type Attr 0 .. 1 0 .. 1 Possible values: TargetValue empty &lt;BitConverter&gt; Elmt 1 1 The format of the value on the target device. Possible values: Int16BitConverter Int32BitConverter Int8BitConverter FixedPoint5_23BitConverter FixedPoint16_16BitConverter FixedPoint8_24BitConverter FixedPointConverter (Attributes\u00a0 DigitsBeforeDecimal- no of digits before decimal separator, DigitsAfterDecimal &#8211; no of digits after [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","footnotes":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[]},"categories":[3,12,10],"tags":[143],"coauthors":[165],"_links":{"self":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4120"}],"collection":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4120"}],"version-history":[{"count":8,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4120\/revisions"}],"predecessor-version":[{"id":12360,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=\/wp\/v2\/posts\/4120\/revisions\/12360"}],"wp:attachment":[{"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4120"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/audioworx.transfunnel.co\/old\/index.php?rest_route=%2Fwp%2Fv2%2Fcoauthors&post=4120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}