LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows Logging

I noticed that by running the LabWindows ConfigCVILogging.exe, i am able to change Logged Messages level.  I see Logged messages after that in the debug output window, but they appear to be coming from the CVI libraries.

Is there anyway i can write to this log from my source?

 

Some examples:

[12:35:02.148] [WARNING] [LoadResIdList] [.\source\james\ui_file.c:802] Err = -101
[12:35:02.191] [WARNING] [GetctrlIdData] [.\source\james\ui_tag.c:435] Trying to retrieve control ID data for invalid context handle.
[12:35:02.194] [WARNING] [GetctrlIdData] [.\source\james\ui_tag.c:435] Trying to retrieve control ID data for invalid context handle.
[12:35:02.198] [WARNING] [GetPanelAndCtrlHandles] [.\source\james\ui_panel.c:167] Err = -4
[12:35:02.225] [WARNING] [SetCtrlAttributeAnsi] [.\source\james\ui_sattr.c:7416] Err = -4
[12:35:02.228] [WARNING] [GetctrlIdData] [.\source\james\ui_tag.c:435] Trying to retrieve control ID data for invalid context handle.
[12:35:02.231] [WARNING] [GetctrlIdData] [.\source\james\ui_tag.c:435] Trying to retrieve control ID data for invalid context handle.

Screenshot 2023-01-24 123352.png

Message 1 of 2
(870 Views)

That would be super helpful to be able to take advantage of an exisint logging library, but I haven't found any documentation about it either ?

Can someone from NI point us to a solution ?

0 Kudos
Message 2 of 2
(144 Views)