From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Hi,I have a question for you :),tks firstly. I wanna send multiple commands to our instrument via GPIB using CVI,so it can promote the speed! Just a example see below: fp=ibdev(...); ibwrt(fp,command_1,stren(command_1)); ibwrt(fp,command_2,stren(command_2)); ibwrt(fp,command_3,stren(command_3)); It is a boring way,so I want a array or function to complete it by one sentence ibwrt(). How to ? Tks very much!
I don't know of any way to already do this, but I think it would be pretty easy. I would just write my own function and call it ibwrtMulti() or whatever you want. You could pass this function an array of the commands you want to send. The function could simply run ibwrt() in a for loop, and index through the array of commands.