acquisition
<script type="text/x-red" data-help-name="acquisition out">
Allow to define and/or select a probe configuration (probe name, protocol and frequency), open and close the connection and send commands to the selected probe.
Properties
Probe Configprobe configuration
This property allows to define and/or select a probe configuration (probe name, protocol and frequency )
The blink LED button could be used to identify the connected probe by making its LED blinked.
Namestring
Name of the node in the flow, "acquisition out" if empty.
Input
Each input msg will need a topic and a payload to be processed
topicstring
The topic possible values are
readto send a command of one shot readstartto send a command to START acquisitionstopto send a command to STOP acquisition
payloadobject
The payload is an object representing the variables group configuration defined in the variables node. The payload object holds several properties summarizing what have been set in the configuration panel of the variables node.
groupnamestringvariablelistarray of variablemodestringfrequencynumber (0 for sequential loop)accesspointnumber
Details
The acquisition out node is designed to be typically front linked with one or several variables nodes
basic flow for acquisition out node
<script type="text/x-red" data-help-name="acquisition in">
Allow to define and/or select a probe configuration (probe name, protocol and frequency), and receive data from the selected probe.
Properties
Probe Configprobe configuration
This property allows to define and/or select a probe configuration (probe name, protocol and frequency )
The blink LED button could be used to identify the connected probe by making its LED blinked.
Namestring
Name of the node in the flow, "acquisition in" if empty.
Output
Two outputs are defined, one port labelled data for the measurement and one labelled error
The error output msg.payload is the error message string, the msg.topic defines the error level
The data output msg.payload is an object representing the variable measurements done at specific intervals.
payloadobject
The payload object holds several properties:
firstboolean, true when this is the first measurement after a start.groupnamestring, the name of the 'variable group' these measurements are referring to.dataarray of array of duplets Each array of duplets is referring to a variable. Each duplet represents the result of a single target memory read.*xnumber, representing the timestampynumber, representing the read value in memory target
The following example shows an output msg for an acquisition in node:
{
"payload": {
"data": \[
\[
{
"y": 0,
"x": 1560850927936
}
\],
\[
{
"y": 0,
"x": 1560850927936
}
\],
\[
{
"y": 463,
"x": 1560850927936
}
\],
\[
{
"y": 2048,
"x": 1560850927936
}
\],
\[
{
"y": 78,
"x": 1560850927939
}
\]
\],
"first": false,
"groupname": "nv\_group2"
}
}
Details
The acquisition in node is designed to be typically back linked with one or several processing nodes
basic flow for acquisition in node
<script type="text/x-red" data-help-name="probe">
Allow to define a probe configuration : probe name, protocol and frequency
If no probe is detected, it may be a driver issue or another software using the probe. Please see the wiki for more information.
Properties
Probe Namestring
Allow to select a specific probe among all connected probes
Protocolstring
Allow to select a protocol among the protocols supported by the selected probe
Frequencystring
Allow to select a frequency among the frequency supported by the selected probe
STlink firmware version : information regarding the STlink Firmware version currently used by the selected probe. Main features missing depending on STlink Firmware version:
Blink LEDNew in ST-Link/V2 from version J28TCP SupportNew in ST-Link/V2 from version J28Read Memory 16 bitsNew in ST-Link/V2 from version J26Write Memory 16 bitsNew in ST-Link/V2 from version J26Set JTAG frequencyNew in ST-Link/V2 from version J24Set SWD frequencyNew in ST-Link/V2 from version J20Get Last Read Write StatusNew in ST-Link/V2 from version J15