StartDatalogging() Error For help

Open
#75 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api, backend

Research direction

Start by reproducing the provided StartDataLogging call with the Logging Specification path and configuration shown. Read the NI VeriStand error details, then inspect the server trace or enable IncludeExceptionDetailInFaults as suggested by the error message. Done means identifying the cause of error 0xfffb4e3c and documenting a confirmed resolution.

Written by the indexing model from the issue text.

Description

Code:

    # 配置Log,通道
    LOGInfoTest = CreateLogInfo()
    channel_path = "Targets/Controller/User Channels/User Channel 1"
    LogChannelTest = CreateLogChannel(channel_path)

    # log触发器类型
    PyLogInfoTriggerTypeTest = PyLogInfoTriggerType()
    PyLogInfoTriggerTypeTest.none = 0
    SetLogInfoTrigger(LOGInfoTest, PyLogInfoTriggerTypeTest)
    LogChannel2 = [LogChannelTest]

    # 设置通道
    SetLogInfoChannels(LOGInfoTest, LogChannel2)

    configuration_name = "C:\\Users\\admin\\Desktop\\test\\Logging Specification.nivslspec"
    workspace.StartDataLogging(configuration_name, LOGInfoTest)

Error info:
niveristand.legacy.NIVeriStand.NIVeriStandException: Consult NI VeriStand help for error code 0xfffb4e3c error message 由于内部错误,服务器无法处理该请求。有关该错误的详细信息,请打开服务器上的 IncludeExceptionDetailInFaults (从 ServiceBehaviorAttribute 或从 配置行为)以便将异常信息发送回客户端,或打开对每个 Microsoft .NET Framework SDK 文档的跟踪并检查服务器跟踪日志。

Dominant language
Python
Stars
20
Forks
20
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ni/niveristand-python

All issues in ni/niveristand-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.