{"id":78843,"date":"2026-02-28T11:05:51","date_gmt":"2026-02-28T03:05:51","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/78843.html"},"modified":"2026-02-28T11:05:51","modified_gmt":"2026-02-28T03:05:51","slug":"usbcan-ii%e4%b8%8eqt%e7%9a%84%e5%a5%87%e5%a6%99%e5%8f%8d%e5%ba%94%ef%bc%9a%e6%89%8b%e6%8a%8a%e6%89%8b%e5%ae%9e%e7%8e%b0can%e6%80%bb%e7%ba%bf%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/78843.html","title":{"rendered":"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316"},"content":{"rendered":"<h2>USBCAN-II&#043;\u4e0eQt\u7684\u6df1\u5ea6\u6574\u5408&#xff1a;\u5de5\u4e1a\u7ea7CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316\u5b9e\u6218<\/h2>\n<p>\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u6c7d\u8f66\u7535\u5b50\u6d4b\u8bd5\u7b49\u9886\u57df&#xff0c;CAN\u603b\u7ebf\u4f5c\u4e3a\u8bbe\u5907\u95f4\u901a\u4fe1\u7684\u795e\u7ecf\u7cfb\u7edf&#xff0c;\u627f\u8f7d\u7740\u5173\u952e\u7684\u72b6\u6001\u4fe1\u606f\u548c\u63a7\u5236\u6307\u4ee4\u3002\u5982\u4f55\u9ad8\u6548\u5730\u6355\u83b7\u5e76\u76f4\u89c2\u5448\u73b0\u8fd9\u4e9b\u6570\u636e\u6d41&#xff0c;\u6210\u4e3a\u5de5\u7a0b\u5e08\u8c03\u8bd5\u7cfb\u7edf\u7684\u6838\u5fc3\u9700\u6c42\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528USBCAN-II&#043;\u8bbe\u5907\u4e0eQt\u6846\u67b6\u6784\u5efa\u6beb\u79d2\u7ea7\u54cd\u5e94\u7684\u6570\u636e\u53ef\u89c6\u5316\u7cfb\u7edf&#xff0c;\u5b9e\u73b0\u4ece\u786c\u4ef6\u63a5\u53e3\u5230\u52a8\u6001\u6ce2\u5f62\u7684\u5b8c\u6574\u6280\u672f\u94fe\u3002<\/p>\n<h3>1. \u786c\u4ef6\u51c6\u5907\u4e0e\u73af\u5883\u642d\u5efa<\/h3>\n<p>USBCAN-II&#043;\u4f5c\u4e3a\u4e00\u6b3e\u53cc\u901a\u9053USB-CAN\u9002\u914d\u5668&#xff0c;\u652f\u6301CAN2.0A\/B\u534f\u8bae&#xff0c;\u6700\u9ad81Mbps\u7684\u901a\u4fe1\u901f\u7387\u3002\u5176\u5de5\u4e1a\u7ea7\u8bbe\u8ba1&#xff08;-40\u2103~85\u2103\u5de5\u4f5c\u6e29\u5ea6\u8303\u56f4&#xff09;\u548c3000V\u7535\u6c14\u9694\u79bb\u7279\u6027&#xff0c;\u4f7f\u5176\u6210\u4e3a\u6076\u52a3\u73af\u5883\u4e0b\u53ef\u9760\u7684\u6570\u636e\u91c7\u96c6\u7ec8\u7aef\u3002<\/p>\n<p>\u5f00\u53d1\u73af\u5883\u51c6\u5907\u6e05\u5355&#xff1a;<\/p>\n<ul>\n<li>USBCAN-II&#043;\u8bbe\u5907\u53ca\u914d\u5957\u7ebf\u7f06<\/li>\n<li>\u5b89\u88c5ZLG\u5b98\u65b9\u9a71\u52a8&#xff08;\u4e0b\u8f7d\u5730\u5740&#xff09;<\/li>\n<li>Qt 5.14.2\u6216\u66f4\u9ad8\u7248\u672c&#xff08;\u5efa\u8bae\u4f7f\u7528MSVC\u7f16\u8bd1\u5668&#xff09;<\/li>\n<li>ControlCAN\u5f00\u53d1\u5305&#xff08;\u5305\u542b\u4ee5\u4e0b\u5173\u952e\u6587\u4ef6&#xff09;&#xff1a;\n<ul>\n<li>ControlCAN.h &#8211; \u51fd\u6570\u58f0\u660e\u4e0e\u7ed3\u6784\u4f53\u5b9a\u4e49<\/li>\n<li>ControlCAN.lib &#8211; \u9759\u6001\u94fe\u63a5\u5e93<\/li>\n<li>kerneldlls\/\u76ee\u5f55 &#8211; \u6838\u5fc3\u52a8\u6001\u5e93<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u6ce8\u610f&#xff1a;\u90e8\u5206\u5f00\u53d1\u8005\u53cd\u6620\u5b98\u65b9dll\u5b58\u5728\u6bb5\u9519\u8bef\u95ee\u9898&#xff0c;\u53ef\u5c1d\u8bd5GitCode\u793e\u533a\u63d0\u4f9b\u7684\u4fee\u6b63\u7248\u5e93\u6587\u4ef6&#xff0c;\u8be5\u7248\u672c\u89e3\u51b3\u4e86QT\u73af\u5883\u4e0b\u7684\u7a33\u5b9a\u6027\u95ee\u9898\u3002<\/p>\n<p>\u9879\u76ee\u76ee\u5f55\u7ed3\u6784\u793a\u4f8b&#xff1a;<\/p>\n<p>\u251c\u2500\u2500 USBCAN_Visualizer.pro<br \/>\n\u251c\u2500\u2500 include\/<br \/>\n\u2502   \u2514\u2500\u2500 ControlCAN.h<br \/>\n\u251c\u2500\u2500 lib\/<br \/>\n\u2502   \u2514\u2500\u2500 ControlCAN.lib<br \/>\n\u251c\u2500\u2500 kerneldlls\/<br \/>\n\u2502   \u251c\u2500\u2500 USBCAN.dll<br \/>\n\u2502   \u2514\u2500\u2500 USBCAN.ini<br \/>\n\u2514\u2500\u2500 src\/<br \/>\n    \u2514\u2500\u2500 mainwindow.cpp<\/p>\n<h3>2. Qt\u5de5\u7a0b\u914d\u7f6e\u4e0e\u8bbe\u5907\u521d\u59cb\u5316<\/h3>\n<p>\u5728Qt Creator\u4e2d\u914d\u7f6e\u9879\u76ee\u65f6&#xff0c;\u9700\u8981\u7279\u522b\u6ce8\u610f\u5e93\u6587\u4ef6\u7684\u94fe\u63a5\u65b9\u5f0f\u3002\u4ee5\u4e0b\u662f\u9690\u5f0f\u94fe\u63a5\u7684\u63a8\u8350\u914d\u7f6e\u6b65\u9aa4&#xff1a;<\/p>\n<p>\/\/ \u5728.pro\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5e93\u5f15\u7528<br \/>\nLIBS &#043;&#061; -L$$PWD\/lib -lControlCAN<br \/>\nINCLUDEPATH &#043;&#061; $$PWD\/include<br \/>\nDEPENDPATH &#043;&#061; $$PWD\/include<\/p>\n<p>\/\/ \u786e\u4fdd\u8fd0\u884c\u65f6dll\u53ef\u8bbf\u95ee&#xff08;Windows\u5e73\u53f0&#xff09;<br \/>\nwin32 {<br \/>\n    QMAKE_POST_LINK &#043;&#061; $$quote(cmd \/c copy \/Y $$PWD\/kerneldlls\\\\\\\\*.dll $$OUT_PWD\\\\\\\\$${DESTDIR})<br \/>\n}<\/p>\n<p>\u8bbe\u5907\u521d\u59cb\u5316\u6d41\u7a0b\u5305\u542b\u5173\u952e\u53c2\u6570\u914d\u7f6e&#xff0c;\u4ee5\u4e0b\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u5efa\u7acbCAN\u901a\u9053\u8fde\u63a5&#xff1a;<\/p>\n<p>\/\/ \u521d\u59cb\u5316CAN\u8bbe\u5907<br \/>\nDEVICE_HANDLE dHandle &#061; VCI_OpenDevice(DEVICE_TYPE, DEVICE_INDEX, 0);<br \/>\nif(INVALID_DEVICE_HANDLE &#061;&#061; dHandle) {<br \/>\n    qCritical() &lt;&lt; &#034;\u8bbe\u5907\u6253\u5f00\u5931\u8d25&#xff0c;\u9519\u8bef\u7801&#xff1a;&#034; &lt;&lt; GetLastError();<br \/>\n    return;<br \/>\n}<\/p>\n<p>\/\/ \u914d\u7f6eCAN\u901a\u9053\u53c2\u6570<br \/>\nVCI_INIT_CONFIG initConfig;<br \/>\ninitConfig.AccCode &#061; 0x00000000;  \/\/ \u63a5\u6536\u6240\u6709\u5e27<br \/>\ninitConfig.AccMask &#061; 0xFFFFFFFF;<br \/>\ninitConfig.Filter &#061; 0;            \/\/ \u4e0d\u542f\u7528\u8fc7\u6ee4<br \/>\ninitConfig.Timing0 &#061; 0x00;        \/\/ 500kbps\u65f6\u5e8f\u53c2\u6570<br \/>\ninitConfig.Timing1 &#061; 0x1C;<br \/>\ninitConfig.Mode &#061; 0;              \/\/ \u6b63\u5e38\u6a21\u5f0f<\/p>\n<p>if(VCI_InitCAN(dHandle, CHANNEL_INDEX, &amp;initConfig) !&#061; STATUS_OK) {<br \/>\n    qCritical() &lt;&lt; &#034;CAN\u901a\u9053\u521d\u59cb\u5316\u5931\u8d25&#034;;<br \/>\n    VCI_CloseDevice(dHandle);<br \/>\n    return;<br \/>\n}<\/p>\n<p>\/\/ \u542f\u52a8CAN\u901a\u9053<br \/>\nif(VCI_StartCAN(dHandle, CHANNEL_INDEX) !&#061; STATUS_OK) {<br \/>\n    qCritical() &lt;&lt; &#034;CAN\u901a\u9053\u542f\u52a8\u5931\u8d25&#034;;<br \/>\n    VCI_CloseDevice(dHandle);<br \/>\n    return;<br \/>\n}<\/p>\n<h3>3. \u6570\u636e\u91c7\u96c6\u7ebf\u7a0b\u8bbe\u8ba1<\/h3>\n<p>\u4e3a\u4fdd\u8bc1\u5b9e\u65f6\u6027&#xff0c;\u5efa\u8bae\u91c7\u7528\u72ec\u7acb\u7ebf\u7a0b\u5904\u7406\u6570\u636e\u91c7\u96c6&#xff0c;\u907f\u514d\u963b\u585eGUI\u4e3b\u7ebf\u7a0b\u3002\u4ee5\u4e0b\u4e3a\u7ebf\u7a0b\u7c7b\u7684\u6838\u5fc3\u5b9e\u73b0&#xff1a;<\/p>\n<p>class CANReceiver : public QThread {<br \/>\n    Q_OBJECT<br \/>\npublic:<br \/>\n    explicit CANReceiver(QObject *parent &#061; nullptr)<br \/>\n        : QThread(parent), m_running(false) {}<\/p>\n<p>    void stop() { m_running &#061; false; }<\/p>\n<p>protected:<br \/>\n    void run() override {<br \/>\n        m_running &#061; true;<br \/>\n        VCI_CAN_OBJ recvObj[100];<br \/>\n        while(m_running) {<br \/>\n            DWORD count &#061; VCI_Receive(dHandle, CHANNEL_INDEX, 0,<br \/>\n                                    recvObj, 100, 50);<br \/>\n            if(count &gt; 0) {<br \/>\n                emit dataReceived(recvObj, count);<br \/>\n            }<br \/>\n            QThread::usleep(100);  \/\/ \u964d\u4f4eCPU\u5360\u7528<br \/>\n        }<br \/>\n    }<\/p>\n<p>signals:<br \/>\n    void dataReceived(VCI_CAN_OBJ *frames, DWORD count);<\/p>\n<p>private:<br \/>\n    volatile bool m_running;<br \/>\n};<\/p>\n<p>\u5173\u952e\u53c2\u6570\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\u63a5\u6536\u7f13\u51b2\u533a\u5927\u5c0f&#xff08;100\u5e27&#xff09;&#xff1a;\u5e73\u8861\u5185\u5b58\u5360\u7528\u4e0e\u5904\u7406\u6548\u7387<\/li>\n<li>\u8d85\u65f6\u65f6\u95f450ms&#xff1a;\u517c\u987e\u54cd\u5e94\u901f\u5ea6\u4e0eCPU\u5229\u7528\u7387<\/li>\n<li>100\u03bcs\u4f11\u7720&#xff1a;\u9632\u6b62\u7a7a\u8f6c\u6d88\u8017\u8d44\u6e90<\/li>\n<\/ul>\n<h3>4. \u52a8\u6001\u6ce2\u5f62\u7ed8\u5236\u6280\u672f<\/h3>\n<p>QCustomPlot\u4f5c\u4e3aQt\u751f\u6001\u4e2d\u9ad8\u6027\u80fd\u7ed8\u56fe\u5e93&#xff0c;\u6bcf\u79d2\u53ef\u5904\u7406\u4e0a\u4e07\u6570\u636e\u70b9\u7684\u5b9e\u65f6\u6e32\u67d3\u3002\u4ee5\u4e0b\u662f\u914d\u7f6e\u591a\u901a\u9053\u793a\u6ce2\u5668\u5f0f\u754c\u9762\u7684\u5173\u952e\u6b65\u9aa4&#xff1a;<\/p>\n<h4>4.1 \u56fe\u8868\u521d\u59cb\u5316<\/h4>\n<p>\/\/ \u521b\u5efa8\u901a\u9053\u793a\u6ce2\u5668\u754c\u9762<br \/>\nvoid MainWindow::initOscilloscope() {<br \/>\n    QVector&lt;QColor&gt; channelColors &#061; {<br \/>\n        Qt::red, Qt::green, Qt::blue, Qt::cyan,<br \/>\n        Qt::magenta, Qt::yellow, Qt::darkRed, Qt::darkGreen<br \/>\n    };<\/p>\n<p>    for(int i&#061;0; i&lt;8; i&#043;&#043;) {<br \/>\n        m_plot-&gt;addGraph();<br \/>\n        m_plot-&gt;graph(i)-&gt;setPen(QPen(channelColors[i]));<br \/>\n        m_plot-&gt;graph(i)-&gt;setName(QString(&#034;CH%1&#034;).arg(i&#043;1));<\/p>\n<p>        \/\/ \u542f\u7528\u6297\u952f\u9f7f\u548cOpenGL\u52a0\u901f<br \/>\n        m_plot-&gt;graph(i)-&gt;setAntialiasedFill(true);<br \/>\n        m_plot-&gt;graph(i)-&gt;setOpenGl(true);<br \/>\n    }<\/p>\n<p>    \/\/ \u914d\u7f6e\u65f6\u95f4\u8f74&#xff08;X\u8f74&#xff09;<br \/>\n    m_plot-&gt;xAxis-&gt;setLabel(&#034;\u65f6\u95f4(s)&#034;);<br \/>\n    m_plot-&gt;xAxis-&gt;setRange(0, 10, Qt::AlignLeft);<\/p>\n<p>    \/\/ \u914d\u7f6e\u6570\u503c\u8f74&#xff08;Y\u8f74&#xff09;<br \/>\n    m_plot-&gt;yAxis-&gt;setLabel(&#034;\u7535\u538b(V)&#034;);<br \/>\n    m_plot-&gt;yAxis-&gt;setRange(0, 5);<\/p>\n<p>    \/\/ \u542f\u7528\u56fe\u4f8b\u548c\u4ea4\u4e92\u529f\u80fd<br \/>\n    m_plot-&gt;legend-&gt;setVisible(true);<br \/>\n    m_plot-&gt;setInteractions(QCP::iRangeDrag | QCP::iRangeZoom);<br \/>\n}<\/p>\n<h4>4.2 \u6570\u636e\u5237\u65b0\u673a\u5236<\/h4>\n<p>\u91c7\u7528\u73af\u5f62\u7f13\u51b2\u533a\u5b9e\u73b0\u9ad8\u6548\u6570\u636e\u7ba1\u7406&#xff0c;\u907f\u514d\u9891\u7e41\u5185\u5b58\u5206\u914d&#xff1a;<\/p>\n<p>struct DataPoint {<br \/>\n    double timestamp;<br \/>\n    QVector&lt;double&gt; values;<br \/>\n};<\/p>\n<p>class CircularBuffer {<br \/>\npublic:<br \/>\n    CircularBuffer(int capacity) : m_capacity(capacity), m_size(0), m_head(0) {<br \/>\n        m_buffer.resize(m_capacity);<br \/>\n    }<\/p>\n<p>    void append(const DataPoint &amp;point) {<br \/>\n        m_buffer[m_head] &#061; point;<br \/>\n        m_head &#061; (m_head &#043; 1) % m_capacity;<br \/>\n        if(m_size &lt; m_capacity) m_size&#043;&#043;;<br \/>\n    }<\/p>\n<p>    \/\/ \u83b7\u53d6\u6700\u8fd1N\u4e2a\u70b9&#xff08;\u7ebf\u7a0b\u5b89\u5168&#xff09;<br \/>\n    QVector&lt;DataPoint&gt; recentPoints(int count) const {<br \/>\n        QReadLocker locker(&amp;m_lock);<br \/>\n        count &#061; qMin(count, m_size);<br \/>\n        QVector&lt;DataPoint&gt; result;<br \/>\n        result.reserve(count);<\/p>\n<p>        int start &#061; (m_head &#8211; count &#043; m_capacity) % m_capacity;<br \/>\n        for(int i&#061;0; i&lt;count; &#043;&#043;i) {<br \/>\n            result.append(m_buffer[(start &#043; i) % m_capacity]);<br \/>\n        }<br \/>\n        return result;<br \/>\n    }<\/p>\n<p>private:<br \/>\n    QVector&lt;DataPoint&gt; m_buffer;<br \/>\n    int m_capacity;<br \/>\n    int m_size;<br \/>\n    int m_head;<br \/>\n    mutable QReadWriteLock m_lock;<br \/>\n};<\/p>\n<h4>4.3 \u5b9e\u65f6\u6e32\u67d3\u4f18\u5316<\/h4>\n<p>\u901a\u8fc7\u5b9a\u65f6\u5668\u63a7\u5236\u5237\u65b0\u9891\u7387&#xff08;\u5efa\u8bae30-60fps&#xff09;&#xff0c;\u907f\u514d\u8fc7\u5ea6\u7ed8\u5236&#xff1a;<\/p>\n<p>\/\/ \u5b9a\u65f6\u5237\u65b0\u89c6\u56fe&#xff08;30fps&#xff09;<br \/>\nm_refreshTimer &#061; new QTimer(this);<br \/>\nconnect(m_refreshTimer, &amp;QTimer::timeout, this, [&#061;](){<br \/>\n    auto points &#061; m_buffer.recentPoints(1000);  \/\/ \u83b7\u53d6\u6700\u8fd11000\u4e2a\u70b9<\/p>\n<p>    \/\/ \u51c6\u5907QCustomPlot\u6570\u636e<br \/>\n    QVector&lt;QVector&lt;double&gt;&gt; x(8), y(8);<br \/>\n    for(const auto &amp;point : points) {<br \/>\n        for(int ch&#061;0; ch&lt;8; ch&#043;&#043;) {<br \/>\n            x[ch] &lt;&lt; point.timestamp;<br \/>\n            y[ch] &lt;&lt; point.values.value(ch, 0);<br \/>\n        }<br \/>\n    }<\/p>\n<p>    \/\/ \u6279\u91cf\u8bbe\u7f6e\u6570\u636e<br \/>\n    for(int ch&#061;0; ch&lt;8; ch&#043;&#043;) {<br \/>\n        m_plot-&gt;graph(ch)-&gt;setData(x[ch], y[ch], true);<br \/>\n    }<\/p>\n<p>    \/\/ \u667a\u80fd\u8c03\u6574X\u8f74\u8303\u56f4<br \/>\n    if(!points.isEmpty()) {<br \/>\n        double newestTime &#061; points.last().timestamp;<br \/>\n        m_plot-&gt;xAxis-&gt;setRange(newestTime &#8211; 10, newestTime);<br \/>\n    }<\/p>\n<p>    m_plot-&gt;replot(QCustomPlot::rpQueuedReplot);<br \/>\n});<br \/>\nm_refreshTimer-&gt;start(33);  \/\/ \u224830fps<\/p>\n<h3>5. \u9ad8\u7ea7\u529f\u80fd\u5b9e\u73b0<\/h3>\n<h4>5.1 \u6570\u636e\u6301\u4e45\u5316\u5b58\u50a8<\/h4>\n<p>\u91c7\u7528\u4e8c\u8fdb\u5236\u683c\u5f0f\u5b58\u50a8\u539f\u59cbCAN\u5e27&#xff0c;\u517c\u987e\u6548\u7387\u4e0e\u5b58\u50a8\u7a7a\u95f4&#xff1a;<\/p>\n<p>\/\/ CAN\u5e27\u5b58\u50a8\u683c\u5f0f<br \/>\n#pragma pack(push, 1)<br \/>\nstruct StoredCANFrame {<br \/>\n    uint32_t id;<br \/>\n    uint8_t dlc;<br \/>\n    uint8_t data[8];<br \/>\n    uint64_t timestamp;  \/\/ \u5fae\u79d2\u7cbe\u5ea6<br \/>\n    uint16_t channel;<br \/>\n};<br \/>\n#pragma pack(pop)<\/p>\n<p>class CANLogger : public QObject {<br \/>\npublic:<br \/>\n    bool startLogging(const QString &amp;filename) {<br \/>\n        m_file.setFileName(filename);<br \/>\n        if(!m_file.open(QIODevice::WriteOnly)) {<br \/>\n            return false;<br \/>\n        }<br \/>\n        \/\/ \u5199\u5165\u6587\u4ef6\u5934&#xff08;\u6807\u8bc6&#043;\u7248\u672c&#xff09;<br \/>\n        const char header[] &#061; &#034;CANLOGv1&#034;;<br \/>\n        m_file.write(header, 8);<br \/>\n        return true;<br \/>\n    }<\/p>\n<p>    void logFrame(const VCI_CAN_OBJ &amp;frame) {<br \/>\n        StoredCANFrame stored;<br \/>\n        stored.id &#061; frame.ID;<br \/>\n        stored.dlc &#061; frame.DataLen;<br \/>\n        memcpy(stored.data, frame.Data, 8);<br \/>\n        stored.timestamp &#061; QDateTime::currentMSecsSinceEpoch() * 1000;<br \/>\n        stored.channel &#061; frame.ExternFlag ? 1 : 0;<\/p>\n<p>        m_file.write(reinterpret_cast&lt;const char*&gt;(&amp;stored), sizeof(stored));<br \/>\n    }<\/p>\n<p>private:<br \/>\n    QFile m_file;<br \/>\n};<\/p>\n<h4>5.2 \u591a\u901a\u9053\u6570\u636e\u89e3\u6790<\/h4>\n<p>\u9488\u5bf9\u4e0d\u540cCAN ID\u5b9e\u73b0\u81ea\u52a8\u89e3\u6790\u7b56\u7565&#xff1a;<\/p>\n<p>class CANParser {<br \/>\npublic:<br \/>\n    struct ParsedValue {<br \/>\n        QString name;<br \/>\n        double value;<br \/>\n        QString unit;<br \/>\n        QColor color;<br \/>\n    };<\/p>\n<p>    void registerParser(uint32_t id, std::function&lt;QVector&lt;ParsedValue&gt;(const VCI_CAN_OBJ&amp;)&gt; parser) {<br \/>\n        m_parsers[id] &#061; parser;<br \/>\n    }<\/p>\n<p>    QVector&lt;ParsedValue&gt; parse(const VCI_CAN_OBJ &amp;frame) {<br \/>\n        auto it &#061; m_parsers.find(frame.ID);<br \/>\n        if(it !&#061; m_parsers.end()) {<br \/>\n            return it-&gt;second(frame);<br \/>\n        }<br \/>\n        return defaultParse(frame);<br \/>\n    }<\/p>\n<p>private:<br \/>\n    QVector&lt;ParsedValue&gt; defaultParse(const VCI_CAN_OBJ &amp;frame) {<br \/>\n        QVector&lt;ParsedValue&gt; result;<br \/>\n        for(int i&#061;0; i&lt;frame.DataLen; i&#043;&#043;) {<br \/>\n            result.append({<br \/>\n                QString(&#034;Byte%1&#034;).arg(i),<br \/>\n                frame.Data[i],<br \/>\n                &#034;&#034;,<br \/>\n                QColor::fromHsv(i*45, 255, 255)<br \/>\n            });<br \/>\n        }<br \/>\n        return result;<br \/>\n    }<\/p>\n<p>    std::unordered_map&lt;uint32_t, std::function&lt;QVector&lt;ParsedValue&gt;(const VCI_CAN_OBJ&amp;)&gt;&gt; m_parsers;<br \/>\n};<\/p>\n<p>\/\/ \u793a\u4f8b&#xff1a;\u89e3\u6790\u7535\u673a\u6e29\u5ea6\u62a5\u6587<br \/>\nparser.registerParser(0x18FFA001, [](const VCI_CAN_OBJ &amp;frame) {<br \/>\n    QVector&lt;ParsedValue&gt; result;<br \/>\n    if(frame.DataLen &gt;&#061; 2) {<br \/>\n        int16_t temp &#061; (frame.Data[0] &lt;&lt; 8) | frame.Data[1];<br \/>\n        result.append({&#034;\u7535\u673a\u6e29\u5ea6&#034;, temp * 0.1, &#034;\u00b0C&#034;, Qt::red});<br \/>\n    }<br \/>\n    return result;<br \/>\n});<\/p>\n<h3>6. \u6027\u80fd\u4f18\u5316\u6280\u5de7<\/h3>\n<li>\u53cc\u7f13\u51b2\u7ed8\u56fe\u6280\u672f&#xff1a;\u5728\u5185\u5b58\u4e2d\u9884\u6e32\u67d3\u56fe\u5f62&#xff0c;\u51cf\u5c11\u754c\u9762\u5361\u987f<\/li>\n<li>\u6570\u636e\u964d\u91c7\u6837&#xff1a;\u5f53\u663e\u793a\u8303\u56f4\u8f83\u5927\u65f6&#xff0c;\u81ea\u52a8\u542f\u7528\u964d\u91c7\u6837\u7b97\u6cd5QVector&lt;QCPData&gt; downsampled &#061; QCPDataContainer::downsampled(original, 1000);\n <\/li>\n<li>OpenGL\u52a0\u901f&#xff1a;\u542f\u7528QCustomPlot\u7684OpenGL\u6e32\u67d3\u540e\u7aefm_plot-&gt;setOpenGl(true);\n <\/li>\n<li>\u96f6\u62f7\u8d1d\u4f20\u8f93&#xff1a;\u4f7f\u7528\u5171\u4eab\u5185\u5b58\u4f20\u9012\u5927\u6570\u636e\u5757<\/li>\n<li>\u4f18\u5148\u7ea7\u8c03\u6574&#xff1a;\u63d0\u5347\u63a5\u6536\u7ebf\u7a0b\u4f18\u5148\u7ea7m_receiverThread-&gt;start(QThread::TimeCriticalPriority);\n <\/li>\n<h3>7. \u5178\u578b\u5e94\u7528\u573a\u666f<\/h3>\n<li>\u7535\u52a8\u6c7d\u8f66BMS\u76d1\u63a7&#xff1a;\u5b9e\u65f6\u663e\u793a\u7535\u6c60\u7ec4\u7535\u538b\/\u6e29\u5ea6\u5206\u5e03<\/li>\n<li>\u5de5\u4e1a\u673a\u5668\u4eba\u8c03\u8bd5&#xff1a;\u6355\u6349\u5173\u8282\u63a7\u5236\u6307\u4ee4\u4e0e\u53cd\u9988\u4fe1\u53f7<\/li>\n<li>\u8f66\u8f7d\u7f51\u7edc\u5206\u6790&#xff1a;\u7edf\u8ba1\u5404ECU\u7684\u62a5\u6587\u9891\u7387\u4e0e\u8d1f\u8f7d\u7387<\/li>\n<li>\u667a\u80fd\u8bbe\u5907\u6d4b\u8bd5&#xff1a;\u9a8c\u8bc1\u901a\u4fe1\u534f\u8bae\u5408\u89c4\u6027<\/li>\n<p>\u6027\u80fd\u6307\u6807\u5bf9\u6bd4&#xff1a;<\/p>\n<table>\n<tr>\u529f\u80fd\u6a21\u5757\u666e\u901a\u5b9e\u73b0\u4f18\u5316\u5b9e\u73b0<\/tr>\n<tbody>\n<tr>\n<td>\u6570\u636e\u63a5\u6536\u5ef6\u8fdf<\/td>\n<td>5-10ms<\/td>\n<td>&lt;1ms<\/td>\n<\/tr>\n<tr>\n<td>\u7ed8\u56fe\u5237\u65b0\u7387<\/td>\n<td>15fps<\/td>\n<td>60fps<\/td>\n<\/tr>\n<tr>\n<td>CPU\u5360\u7528\u7387<\/td>\n<td>25%<\/td>\n<td>&lt;8%<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u6d88\u8017<\/td>\n<td>150MB<\/td>\n<td>50MB<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u6280\u672f\u65b9\u6848&#xff0c;\u5f00\u53d1\u8005\u53ef\u4ee5\u6784\u5efa\u51fa\u54cd\u5e94\u8fc5\u901f\u3001\u89c6\u89c9\u6548\u679c\u4e13\u4e1a\u7684CAN\u603b\u7ebf\u5206\u6790\u5de5\u5177\u3002\u5b9e\u9645\u9879\u76ee\u4e2d&#xff0c;\u5efa\u8bae\u6839\u636e\u5177\u4f53\u9700\u6c42\u8c03\u6574\u6570\u636e\u7f13\u5b58\u7b56\u7565\u548c\u6e32\u67d3\u53c2\u6570&#xff0c;\u5728\u5b9e\u65f6\u6027\u548c\u8d44\u6e90\u6d88\u8017\u4e4b\u95f4\u53d6\u5f97\u6700\u4f73\u5e73\u8861\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>USBCAN-II\u4e0eQt\u7684\u6df1\u5ea6\u6574\u5408&#xff1a;\u5de5\u4e1a\u7ea7CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316\u5b9e\u6218<br \/>\n\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u6c7d\u8f66\u7535\u5b50\u6d4b\u8bd5\u7b49\u9886\u57df&#xff0c;CAN\u603b\u7ebf\u4f5c\u4e3a\u8bbe\u5907\u95f4\u901a\u4fe1\u7684\u795e\u7ecf\u7cfb\u7edf&#xff0c;\u627f\u8f7d\u7740\u5173\u952e\u7684\u72b6\u6001\u4fe1\u606f\u548c\u63a7\u5236\u6307\u4ee4\u3002\u5982\u4f55\u9ad8\u6548\u5730\u6355\u83b7\u5e76\u76f4\u89c2\u5448\u73b0\u8fd9\u4e9b\u6570\u636e\u6d41&#xff0c;\u6210\u4e3a\u5de5\u7a0b\u5e08\u8c03\u8bd5\u7cfb\u7edf\u7684\u6838\u5fc3\u9700\u6c42\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528USBCAN-II\u8bbe\u5907\u4e0eQt\u6846\u67b6\u6784\u5efa\u6beb\u79d2\u7ea7\u54cd\u5e94\u7684\u6570\u636e\u53ef\u89c6\u5316\u7cfb\u7edf&#xff0c;\u5b9e\u73b0\u4ece\u786c\u4ef6\u63a5\u53e3\u5230\u52a8\u6001\u6ce2\u5f62\u7684\u5b8c\u6574\u6280\u672f\u94fe\u3002<br \/>\n1. \u786c\u4ef6\u51c6\u5907\u4e0e\u73af\u5883\u642d\u5efa<br \/>\nUSBCAN-I<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8296,8723,218,800],"topic":[],"class_list":["post-78843","post","type-post","status-publish","format-standard","hentry","category-server","tag-can","tag-usbcan-ii","tag-qt","tag-800"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/78843.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"USBCAN-II\u4e0eQt\u7684\u6df1\u5ea6\u6574\u5408&#xff1a;\u5de5\u4e1a\u7ea7CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316\u5b9e\u6218 \u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u6c7d\u8f66\u7535\u5b50\u6d4b\u8bd5\u7b49\u9886\u57df&#xff0c;CAN\u603b\u7ebf\u4f5c\u4e3a\u8bbe\u5907\u95f4\u901a\u4fe1\u7684\u795e\u7ecf\u7cfb\u7edf&#xff0c;\u627f\u8f7d\u7740\u5173\u952e\u7684\u72b6\u6001\u4fe1\u606f\u548c\u63a7\u5236\u6307\u4ee4\u3002\u5982\u4f55\u9ad8\u6548\u5730\u6355\u83b7\u5e76\u76f4\u89c2\u5448\u73b0\u8fd9\u4e9b\u6570\u636e\u6d41&#xff0c;\u6210\u4e3a\u5de5\u7a0b\u5e08\u8c03\u8bd5\u7cfb\u7edf\u7684\u6838\u5fc3\u9700\u6c42\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528USBCAN-II\u8bbe\u5907\u4e0eQt\u6846\u67b6\u6784\u5efa\u6beb\u79d2\u7ea7\u54cd\u5e94\u7684\u6570\u636e\u53ef\u89c6\u5316\u7cfb\u7edf&#xff0c;\u5b9e\u73b0\u4ece\u786c\u4ef6\u63a5\u53e3\u5230\u52a8\u6001\u6ce2\u5f62\u7684\u5b8c\u6574\u6280\u672f\u94fe\u3002 1. \u786c\u4ef6\u51c6\u5907\u4e0e\u73af\u5883\u642d\u5efa USBCAN-I\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/78843.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-28T03:05:51+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78843.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/78843.html\",\"name\":\"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-28T03:05:51+00:00\",\"dateModified\":\"2026-02-28T03:05:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/78843.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/78843.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/78843.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/78843.html","og_locale":"zh_CN","og_type":"article","og_title":"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"USBCAN-II\u4e0eQt\u7684\u6df1\u5ea6\u6574\u5408&#xff1a;\u5de5\u4e1a\u7ea7CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316\u5b9e\u6218 \u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u3001\u6c7d\u8f66\u7535\u5b50\u6d4b\u8bd5\u7b49\u9886\u57df&#xff0c;CAN\u603b\u7ebf\u4f5c\u4e3a\u8bbe\u5907\u95f4\u901a\u4fe1\u7684\u795e\u7ecf\u7cfb\u7edf&#xff0c;\u627f\u8f7d\u7740\u5173\u952e\u7684\u72b6\u6001\u4fe1\u606f\u548c\u63a7\u5236\u6307\u4ee4\u3002\u5982\u4f55\u9ad8\u6548\u5730\u6355\u83b7\u5e76\u76f4\u89c2\u5448\u73b0\u8fd9\u4e9b\u6570\u636e\u6d41&#xff0c;\u6210\u4e3a\u5de5\u7a0b\u5e08\u8c03\u8bd5\u7cfb\u7edf\u7684\u6838\u5fc3\u9700\u6c42\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8\u5982\u4f55\u5229\u7528USBCAN-II\u8bbe\u5907\u4e0eQt\u6846\u67b6\u6784\u5efa\u6beb\u79d2\u7ea7\u54cd\u5e94\u7684\u6570\u636e\u53ef\u89c6\u5316\u7cfb\u7edf&#xff0c;\u5b9e\u73b0\u4ece\u786c\u4ef6\u63a5\u53e3\u5230\u52a8\u6001\u6ce2\u5f62\u7684\u5b8c\u6574\u6280\u672f\u94fe\u3002 1. \u786c\u4ef6\u51c6\u5907\u4e0e\u73af\u5883\u642d\u5efa USBCAN-I","og_url":"https:\/\/www.wsisp.com\/helps\/78843.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-28T03:05:51+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/78843.html","url":"https:\/\/www.wsisp.com\/helps\/78843.html","name":"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-28T03:05:51+00:00","dateModified":"2026-02-28T03:05:51+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/78843.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/78843.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/78843.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"USBCAN-II+\u4e0eQt\u7684\u5947\u5999\u53cd\u5e94\uff1a\u624b\u628a\u624b\u5b9e\u73b0CAN\u603b\u7ebf\u6570\u636e\u53ef\u89c6\u5316"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=78843"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/78843\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=78843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=78843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=78843"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=78843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}