09-30-2008 02:22 PM
I am writing CVI code using plug & play driver. To avoid remembering all the syntax of instrument driver, is it possible to generate the code by using the uir to set up the parameter? In the attached file (PastCommand.jpg), I try to initialize TK TDS7254 scope by { tktds7k_init ("GPIB8::1::INSTR", INit_SKIP_QUERY, INIT_DONT_RESET, 22) }. The command is in the lower right pane but I can't copy it to clipboard.
Please advise. Thanks.
10-01-2008 08:22 AM
Hello CCT,
You will need to load the instrument driver and run the uir in interactive mode. Once you have the panel for the function running in interactive mode, you can select Code>>Insert Function Call. To Load the Instrument, go to Instrument>>Load and select the fp file of the instrument. To run it interactively, choose Instrument>>Driver Name.
Cheers,
NathanT