LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

getopt in CVI

I would like if one of you find out a way to take advantage of functions like getopt() and getoptlong() in CVI ?
Regards, Philippe
Regards, Philippe proud to be using LabWindows since version 1.2
// --------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 4
(3,403 Views)
I'm not totally sure what you mean,
of course getopt() is helpful for those who write CLI programs in CVI.
I do 🙂
e.g. I have several programs which open a GUI when called without command-line arguments, otherwise,
try to interpret the parameters and work without user interaction, so can be used in batch-files.
of course, getopt() is great for dealing with cmd-parameters, then.
--
Once the game is over, the king and the pawn go back into the same box.
0 Kudos
Message 2 of 4
(3,359 Views)
Thanks for the information however the point is that getopt and getopt_long already exist in libraries.
What I'm looking for is a library I could use in my CVI project and which could help me to "not" re-write what have been written by others.
I found a GNU lib but I was not able to use it succesfully in my CVI project.
I'm pretty sure such lib exist and so I'm looking for is a link to a web site where I could donwload it and use without to have to spend to much time on it.

Regards, Philippe
Regards, Philippe proud to be using LabWindows since version 1.2
// --------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 4
(3,319 Views)
Philippe,
 
You could try here. The function names are different, but the functionality appears to be what you want.
 
Regards,
Colin.
 
0 Kudos
Message 4 of 4
(3,317 Views)