Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to automate some tests using IBIC. Can I start w/script and stop it from a batchfile?

I WOULD LIKE TO RUN A BATCHFILE FOR TEST AUTOMATION. I NEED TO CONTROL IBIC OR USE GPIB COMMANDS IN SOME OTHER WAY. HOW CAN I DO THIS?
0 Kudos
Message 1 of 4
(3,781 Views)
Hi,

IBIC has a command to execute a text file (script). You would use $ followed by the path of the text file.

The following Knowledge base article explains this command:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/cbf6b1eb7da1a5348625664100758bad?OpenDocument

Unfortunately, IBIC does not take command line arguments. This means that you would need to open IBIC and type $ file.txt to execute the script.

Hope this helps.

DiegoF.
National Instruments.
0 Kudos
Message 2 of 4
(3,781 Views)
Thanks for the help. I had found that answer already.
But I was hoping it did take command line args.
-Tim
0 Kudos
Message 3 of 4
(3,781 Views)
Hi,

It has been a while, but I thought of a solution. The following article explains how:

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/ca26374b52bd76f786256c910080f834?OpenDocument

Hope this helps.
DiegoF.
0 Kudos
Message 4 of 4
(3,781 Views)