This widget could not be displayed.
This widget could not be displayed.

LabVIEW

This widget could not be displayed.
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

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 1 of 3
(3,359 Views)

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

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Message 2 of 3
(3,346 Views)

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

Thanks

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
0 Kudos
Message 3 of 3
(3,343 Views)