02-16-2006 08:12 AM
02-16-2006 11:16 AM
02-16-2006 11:28 AM
02-17-2006 09:33 AM
Rainer,
I have read about the system exec.vi but I have no idea what it is and where to find it. I can send the ASCII command *IDN? over a normal terminal if the termination character is set to LineFeed, but I don't think this will work with the Win Command Line? Can you explain a little further how that would work and where I find this VI?
Dennis,
this is a good idea but it does not work for us, because when we deliver the controller it is not configured to have its own host name (all controller have the same firmware).
Thanks to both of you,
Best regards,
Gabs
02-17-2006 09:58 AM
02-17-2006 10:16 AM
Rainer,
I don't think the system exec will do any good. His problem is that he has a instrument with an unknow IP address. The *IDN? command is sent with a VISA Write and the VISA Resource Name requires either an IP address or host name. If there was a dos command that would list all available IP's, the system exec could be used for that but I don't think there is such a command.
Gabs,
Will the instrument at least be on the same subnet as the computer you want to run the program on? That would at least narrow it down. If it's not and you're going through some gateway, I don't know of any reasonable solution.
02-17-2006 10:32 AM
02-17-2006 10:33 AM
02-17-2006 10:34 AM
Rainer,
no, I am only able to reach to device with a terminal program when I already now the IP address - which I do not know. So it looks like System Exec.vi is not the solution
02-17-2006 10:35 AM