From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

renaming DAQmx event

Solved!
Go to solution

hey guys,

Im trying to get the event name in the handler to be something useable instead of "task out". I found a post on the forums that said to create a sub vi and run the reference through there so you can rename the output driving the Reg Events structure. This didnt seem to work, im going to post what I have, maybe I did it wrong.

 

Thanks

0 Kudos
Message 1 of 3
(2,886 Views)
Solution
Accepted by topic author pathare535

Problem is event with details is stored in hidden params of indicator refnum

 

Check whether event refnum has been updated in sub-vi - it shows name in context help window

If not, expand, contract event node.

Then recreate indicator

Reconnect main.vi

Press Run button with ctrl to force it recompile main.vi

Message 2 of 3
(2,873 Views)

I ended up having to delete the event and recreate it to get it to update. I hadnt thought about that.

Thanks

0 Kudos
Message 3 of 3
(2,870 Views)