LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add a generated random number with the OpenSSL command on my computer to a CVI/Labview code?

Solved!
Go to solution

I have to generate a 32 bit Password which I would like to do with OpenSSL software (Done on the command window of windows). I just do not know how to link or send the generated random number to the CVI Code, any ideas or methods how to do that?

Thanks a lot in advance for every tipp or help.

0 Kudos
Message 1 of 2
(734 Views)
Solution
Accepted by Ramles97

I have no experience on OpenSSL, but since this appears to be a command-line instruction you could issue it with system () redirecting the output to a file and reading it back after completion:

system ("c:\\MyFolder\\MyCommand.exe >> output.txt");

After command completion output.txt should contain command output.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(682 Views)