⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manual_dscsetrelaymulti.html

📁 Diamond公司Dscud通用驱动使用说明手册
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"        "http://www.w3.org/TR/html4/loose.dtd"><html lang="en"><head><title>DscSetRelayMulti - Universal Driver Documentation</title><meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"><meta name="robots" content="index,follow"><link rel="shortcut icon" href="/favicon.ico"><link rel="stylesheet" href="/dscud/style/wikiprintable.css"><script type="text/javascript" src="/dscud/style/wikibits.js"></script><style type='text/css'><!--a.new, #quickbar a.new { color: #CC2200; }#quickbar { position: absolute; top: 4px; left: 4px; border-right: 1px solid gray; }#article { margin-left: 152px; margin-right: 4px; }//--></style></head><body bgcolor='#FFFFFF'><div class='titlebox'><h1 class='pagetitle'>DscSetRelayMulti</h1><span class='subtitle'>Universal Driver Documentation</span></div><div class='navbox'><a href="manual_Main_Page.html" class='printable' title ="Main Page">Main Page</a> || <a href="manual_Table_of_Contents.html" class='printable' title ="Table of Contents">Table_of_Contents</a> || <a href="http://www.diamondsystems.com/">Diamond Systems Website</a></div></div><div class='bodytext'>Simultaneously sets the state of multiple relays on the board.
A "relay group" is a batch of relays that reside on the same internal board register:
<p>
	<a href="manual_Pearl-MM.html" class='printable' title ="Pearl-MM">Pearl-MM</a>: 		2 relay groups consisting of 8 relays each<br>
	<a href="manual_Opal-MM.html" class='printable' title ="Opal-MM">Opal-MM</a>: 		1 relay group consisting of 8 relays<br>
	<a href="manual_IR104.html" class='printable' title ="IR104">IR104</a>: 			3 relay groups: 2 contain 8 relays, 1 contains 4 relays<br>
	<a href="manual_Diamond-MM-48-AT.html" class='printable' title ="Diamond-MM-48-AT">Diamond-MM-48-AT</a>:	1 relay group consisting of 8 relays<br>
<p>
<h2><a name="Function_Definition">Function Definition</a></h2>
<p>
BYTE dscSetRelayMulti(<a href="manual_DSCB.html" class='printable' title ="DSCB">DSCB</a> board, BYTE relayGroup, BYTE value);
<p>
<h2><a name="Function_Parameters">Function Parameters</a></h2>
<p>
<table border=1><tr ><TH>Name</TH><TH>Description</TH></tr><tr ><TD>board</TD><TD>The handle of the board to operate on</TD></tr><tr ><TD>relayGroup</TD><TD>Selected relay group.</TD></tr><tr ><TD>value</TD><TD>This is an eight-bit value.  Each relay of the group will be set to its corresponding bit (0 or 1) of this value.  The least significant bit in the value represents the first relay of the group.  Please consult the user manual for your particular product to determine the relationship between the bit value (0 or 1) and the relay state.</TD></tr></table><p>
<h2><a name="Return_Value">Return Value</a></h2>
<p>
Error code or 0.
<p></div><p><em> <br> This page was last modified 11:51, 12 Feb 2004.<br>Copyright (c) 2004 Diamond Systems.  All Rights Reserved.</em><!-- Time since request: 0.15 secs. --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -