08-02-2006 12:28 PM
08-03-2006 11:37 AM
Good morning Mark,
This sounds like a very interesting and exciting application. First, VBAI was not designed to read the serial port on the CVS outside of an inspection. So, VBAI can't use the serial port to programmatically decide which inspection to run. However, we do have a few options. Option 1 would involve ActiveX. You can use LabVIEW RT, or some other software application with ActiveX capability, to write code that can read the serial port on the CVS, and then decide which script to call and run. If you have little experience with ActiveX controls, then this might be quite an endeavor. Option 2 involves an option that require your robot to be able to output digital signals, instead of serial commands. There is built-in functionality in VBAI to be able to programmatically determine which script to run based on a digital word. ISO Inputs 0-4 are designated for this purpose. Based on the combined values of these 5 ports, VBAI decides which script to run based on the association that you define in the script. If this second option is one you would like to pursue, then please post back and we can head down that road!
I hope that this information is helpful!
Respectfully,
08-03-2006 01:09 PM