StartDatalogging() Error For help
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
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 文档的跟踪并检查服务器跟踪日志。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100