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,897 Views)
Solution
Accepted by 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,884 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,881 Views)