📄 supply.9
字号:
.TH SUPPLY "9" "2007-01-16" "EMC Documentation" "HAL Component".de TQ.br.ns.TP \\$1...SH NAMEsupply \- set output pins with values from parameters (obsolete).SH SYNOPSIS\fBloadrt supply num_chan=\fInum\fR.SH DESCRIPTION\fBsupply\fR was used to allow the inputs of other HAL componentsto be manipulated for testing purposes. When it was written, theonly way to set the value of an input pin was to connect it to a signal and connect that signal to an output pin of some othercomponent, and then let that component write the pin value.\fBsupply\fR was written to be that "other component". It readsvalues from parameters (set with the HAL command \fBsetp\fR) andwrites them to output pins.Since \fBsupply\fR was written, the \fBsetp\fR command has beenmodified to allow it to set unconnected pins as well as parameters.In addition, the \fBsets\fR command was added, which can directlyset HAL signals, as long as there are no output pins connected tothem. Therefore, \fBsupply\fR is obsolete..P\fBsupply\fR supports a maximum of eight channels. The number ofchannels actually loaded is set by the \fBnum_chan\fR argument whenthe module is loaded. If \fBnumchan\fR is not specified, the defaultvalue is one..SH FUNCTIONS.TP \fBsupply.\fIN\fB.update\fR (uses floating-point)Updates output pins for channel \fIN\fR..SH PINS.TP\fBsupply.\fIN\fB.q\fR bit outOutput bit, copied from parameter \fBsupply.\fIN\fB.d\fR..TP\fBsupply.\fIN\fB._q\fR bit outOutput bit, inverted copy of parameter \fBsupply.\fIN\fB.\fBd\fR..TP\fBsupply.\fIN\fB.variable\fR float outAnalog output, copied from parameter \fBsupply.\fIN\fB.value\fR..TP\fBsupply.\fIN\fB._variable\fR float outAnalog output, equal to -1.0 times parameter \fBsupply.\fIN\fB.value\fR..SH PARAMETERS.TP\fBsupply.\fIN\fB.d\fR bit rwData source for \fBq\fR and \fB_q\fR output pins..TP\fBsupply.\fIN\fB.value\fR bit rwData source for \fBvariable\fR and \fB_variable\fR output pins.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -