05-09-2007 06:15 AM - edited 05-09-2007 06:15 AM
Message Edité par Szdiablo le 05-09-2007 06:15 AM
05-09-2007 07:13 AM
Hi,
Sending ur program line by line is not a problem. You can send it by creating an array of constant string, with each array element containing one line of command. Than get the array as input in a for loop to write the commands one by one with some delay.
But this all depends upon what action are caused by these commands.
Regards
DC
05-09-2007 09:09 AM
Can you show me how to do that???
Thanks
05-09-2007 09:25 AM
05-09-2007 10:22 AM - edited 05-09-2007 10:22 AM
Message Edited by Tom Haggerty on 05-09-2007 11:23 AM
05-10-2007 03:09 AM - edited 05-10-2007 03:09 AM
Message Edité par Szdiablo le 05-10-2007 03:10 AM
Message Edité par Szdiablo le 05-10-2007 03:16 AM
05-10-2007 03:24 AM
05-10-2007 04:20 AM - edited 05-10-2007 04:20 AM
Thanks for your help
But I still have a problem. Actually when I added the "for" loop the connections of error and I/O cut....and I don't know why??
You can see that on my vi( the visa write " *p ", " *e5 "... are instructions which control my instrument)
Regards
Message Edité par Szdiablo le 05-10-2007 04:23 AM
05-10-2007 04:51 AM