Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Using DataSocket Server in Windows Service app .Net

Solved!
Go to solution

I am using measurement studio and Daqmx to pick data from NI ELVIS II. The software am developing involves using a DataSocket server and works fine if testing in a Console application or windows forms. However, when I transfer the code to a windows service, other things run fine but am not able to start the datasocket server to stream the data that I pick from the NI ELVIS II board.  Am asking if there is something that I can do in order to be able to run the dataScoket Server in the Windows service app.

Thank you! 

0 Kudos
Message 1 of 3
(2,325 Views)

When you say that you are not able to start the datasocket server to stream, are you seeing any errors? How have you configured the datasocket server?

0 Kudos
Message 2 of 3
(2,305 Views)
Solution
Accepted by topic author ashirafumiiro

I managed to figure it out. 

The data Socket server was running as system user so I could not see the config GUI but with the right reading address, everything worked fine

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