LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters via command line

I've been asked to write a routine in LabVIEW that will control an
instrument. The only problem is that this routine will be called by a
different piece of software (3rd party software that we've bought)and
we need to pass a parameter. The source application will allow
switches in the command line, but that is the only way. Is there a way
Labview can accept this ??
0 Kudos
Message 1 of 7
(3,764 Views)
Hi,

I'll mail you a vi to do this. Note that it will only work if you have an
application. (If not, you'll get the command line from labview...)

Regards,

Wiebe.


"Robert Barker" wrote in message
news:86403309.0206240255.7f9b02de@posting.google.com...
> I've been asked to write a routine in LabVIEW that will control an
> instrument. The only problem is that this routine will be called by a
> different piece of software (3rd party software that we've bought)and
> we need to pass a parameter. The source application will allow
> switches in the command line, but that is the only way. Is there a way
> Labview can accept this ??
0 Kudos
Message 2 of 7
(3,763 Views)
hello,
can you mail it to me also, please
thank you
Pawel
0 Kudos
Message 3 of 7
(3,763 Views)
There is a function in LabVIEW (under advanced) called "System Exec" or something like that.

This function mimics the "Run" command line from your Windows Start menu. The entries must use the exact syntax required by the "run" command line. This does allow you to call an executable directly using switches.
0 Kudos
Message 4 of 7
(3,763 Views)
I think the topic is how to modify a LabVIEW executable to accept command line arguments. There's an example here that shows how to do it.
0 Kudos
Message 5 of 7
(3,763 Views)
Could you please email this VI to me also. It would be greatly appreciated. Thanks
0 Kudos
Message 6 of 7
(3,762 Views)
Look here
or here too.
0 Kudos
Message 7 of 7
(3,762 Views)