|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Error in NT Client.vi
I've written some vision code that will run on the driver station computer and communicate with the robot via Network Tables. Whenever I start the VI, I get this error:
Quote:
|
|
#2
|
|||
|
|||
|
Re: Error in NT Client.vi
Hmm. It looks like this is caused by the reference to the cancel notifier. The wires for error I/O are unwired.
If you open the Bind icon, you'll see that this is given a notifier which is fired whenever we start or stop the playback feature. If you ignore the error, it will not be cancelable, and that should be fine. Greg McKaskle |
|
#3
|
|||
|
|||
|
Re: Error in NT Client.vi
Is there any way to suppress the error?
|
|
#4
|
|||
|
|||
|
Re: Error in NT Client.vi
I've got something that I think works. If I wire a "false" constant into the element data type of Obtain Notifier, and then wire the notifier out into Cancel Ref, that stops the problem. Does that have any other consequences I'm not seeing?
|
|
#5
|
|||
|
|||
|
Re: Error in NT Client.vi
The client code has been pushed down and the dashboard is using Bind. You could use bind instead, or you can pass in the notifier ref into it like Bind does.
You could also fix the bug in the Client VI. Wire the error out from Notifier Wait into the Notifier Send and wire that output into a Clear Errors function. See attachment. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|