LabVIEW Real-Time Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
viScience

Allow RT Scan Engine Fault Events to optionally include string data

Status: New

I understand that the FE vi's needed to be optimized for speed so that they could be put inline without disturbing RT timing.  But it would be nice to be able to send a string description

with the fault so that it would show up in the DSM.  An example would be a fault due to trying to send an invalid remote message.  It would be nice if the invalid message string could be logged with the fault event.

I think making it optional would still preserve the determinism when needed.

3 Comments
ScotSalmon
NI Employee (retired)
Would it be okay if the string was a fixed (or at least known maximum) length?
viScience
Active Participant
Sure that would be great, just so long as we can pass a reasonable description of the event.
jkurtw
NI Employee (retired)

Just FYI, you can achieve similar functionality today by adding a custom error code file to the following directory:

C:\Program Files\National Instruments\Shared\Errors\English

 

In that text file you would define the text for your custom error codes. That text file then needs to reside in the above directory on the machine that has the system manager launched.