The Labview driver was developed to communicate with Labview software from National Instruments, specially with TLS security.
Refer to the User Guide for more information on the Device Module.
On this page:
Communication Driver Information | |
---|---|
Driver name | LabView |
Assembly Name | T.ProtocolDriver.LabView |
Assembly Version | 1.0.0.0 |
Available for Linux | False |
Devices supported | LabView software or any ASCII communication device |
Protocol | TCP/IP |
It is not necessary to do any setting here.
Where :
<Port> = Port to be opened for others to connect.
<Password> = Server certificate password
<Certificate> = Server certificate path
<TLS Security> = TLS security is enable or not?
E.g.: 443;#D9F7EF8FFF9EFF8CFF8CFF88FF90FF8DFF9BFF;Custom;C:\Program Files\OpenSSL-Win64\bin\server.pfx;True
It is not necessary to do any setting here.
The Points which has the AccessPoint setting as :
Read will read all the data that comes in.
Write will write all the data.
ReadWrite will do both.
Not necessary to do any setting.
In LabView we used this diagram to do the development.
We did this driver in a way that FactoryStudio is the Certificate Server, so you must be able to access the certificate from the Server computer. In Devices > Nodes > PrimaryStation > Custom button you will select the certificate path, these were the steps we used to generate a authentic TLS certificate:
1 - Execute cmd as administrator and do a cd to C:\Program Files\OpenSSL-Win64\bin
2 - Generate a private RSA key:
bashCopy code
openssl genpkey -algorithm RSA -out server.key -pkeyopt rsa_keygen_bits:2048
3 - Generate a autosign certificate
bashCopy code
openssl req -new -x509 -key server.key -out server.crt -days 365 -subj "/CN=localhost"
4 - Create PFX file
bashCopy code
openssl pkcs12 -export -out server.pfx -inkey server.key -in server.crt -passout pass:yourpassword
5 - Install the Certificate on the Operating System
Windows: To add the certificate to the trusted certificate store on Windows:
Open the "Certificate Manager" (certmgr.msc).
Navigate to "Trusted Root Certification Authorities" > "Certificates".
Right-click and select "Import".
Follow the import wizard to add the certificate.
With this setting in topic 5, you can use the following configuration. Without this configuration, only "None" works.
Labview Revision History | |
---|---|
Version | Notes |
1.0.0.0 | Initial release published according to the new documentation standards. |