08-13-2015 08:33 AM
Hi All,
Could anybody help me to find any references for radius authentication client for LabView (for Windows)? I need to do simple authorization for distinguish access levels to some features in my program.
Thanks in advance!
Oleg
08-14-2015 04:17 PM
Hey Oleg,
Thanks for posting the question. Can you give a little more information about what you are trying to do? Are you trying to develop a radius authentication client? Are you looking for example code to help get you started?
It may also help if you give a general overview of your program and what you are trying to do.
Thanks,
Lauren
Applications Engineering
08-17-2015 02:48 AM
Hi Lauren,
Thanks you for your answer. Let me clarify a more detailed what I need.
I'm developing the dispensers control system which are providing the proportional regulation of dose of raw material for ferromagnetic ovens on factory. I have to provide the authorization for some important operations. For example, providing a special access to ability of change proportion raw materials components. The factory already has a wide authorization system (together with security cards) based on RADIUS and I have to integrate my system to it. Currently I just try don't waste a my time and I'm trying look for any existed solution for LabView. If it doesn't exists I'm looking for any DDLs with already implemented API.
Thanks in advance,
Oleg
08-17-2015 05:23 AM
I don't think there exists a ready made solution for this for LabVIEW. Looking at the Wiki article this could be implemented using the HTTP Client library in LabVIEW but will be a serious development effort. The details about a Radius client implementation could be gotten from the C source code of http://freeradius.org/freeradius-client/ which could also be cross compiled to Windows (a significant effort) and then used as command line executable using SystemExec in LabVIEW.
The most easy approach however is most likely to use in LabVIEW .Net to inteface to an existing .Net Radius Client component such as https://github.com/frontporch/Radius.NET, or https://radius.codeplex.com/.
08-17-2015 07:45 AM
Hi Rolf,
Thanks a lot for answer and proposed solution. I've also had thought that .NET seems a more easiest way. Now I have a confirmation. I'll try it during this week.
Thanks! Best regards,
Oleg
08-30-2015 03:41 PM
Hi All
I've tried to use this client https://www.nuget.org/packages/Radius/1.0.8.9 but unsuccessfully. The method "SendAndReceivePacket" always hangs up. I've tried original async version and changed to sync version (see attach) also.
Could anyone help me to sort out this problem?
Thanks in advance
Oleg