LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC: Custom IO Server: On Input Change

Solved!
Go to solution

I have written a custom IO Server VI using DSC Module.  Using NI DSM, I see that the server status is 'Active'.

Again using DSM, I change the value of the control that is suppose to trigger the VI to run, but it does not run.

What am I missing?  I have been successful at creating several Custom Periodic Servers, but this is my first 'On Input Change'.

 

Note: I am not using 'shared variable value change notification' in this On Input Change VI, because Lesson 4 of DSC Training leads me to believe that mechanism is not necessary.

 

Anyone have examples of both types of custom servers?

 

Thanks

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

Okay, I got it to work.  Got a new, very simple server code to work.  Then removed original library from project, recreated IO server from scratch, added back into project, and now it is working.

 

Would still like to see examples of both types of custom servers to see how to handle error conditions.. Lesson four says 'make sure VI is robust enough to handle/recover from error, but doesn't give examples.

 

 

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

and ..... an example of a hybrid input change/periodic custom io server would be interesting to see ......

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