Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StartDatalogging() Error For help #75

Open
huhongzhen opened this issue Jan 4, 2024 · 0 comments
Open

StartDatalogging() Error For help #75

huhongzhen opened this issue Jan 4, 2024 · 0 comments

Comments

@huhongzhen
Copy link

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 文档的跟踪并检查服务器跟踪日志。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant