02-19-2007 11:14 PM
02-20-2007 11:05 AM
02-20-2007 05:11 PM
02-20-2007 05:38 PM - edited 02-20-2007 05:38 PM
Message Edited by Dennis Knutson on 02-20-2007 04:39 PM
02-20-2007 07:11 PM
02-20-2007 11:34 PM
02-21-2007 09:15 AM
I guess the first you can try is to see whether the hysteris command actually does do the same thing as the sensitivity button. You can go into MAX and enter the query "Hyst?" (without the quotes). I'm guessing that is the correct syntax as I don't have the manual for this model scope. Manually press the button and see if the results from the query change. If the results do change, then you might want to single step through your program and when paused, go to the query and see if the status of the hysterisis setting has changed from when it was programmed. It's possible that some other command that is sent will change some other setting.
If the hysterisis status does not change when you manually press the button, then one handly thing is the *LRN? query. This will return the current setup. It's going to be a fairly long string and going through it to look for differences can be tedious. I've used a diff tool to make it easier to spot what changes. With instruments that have the *LRN? command, I've even cheated and not written a driver on occasion. You can manually set up an instrument, do the *LRN?, save the results, and later when you want to program the instrument, just send the saved string back. When you only need to setup an instrument once, this technique works okay.
Hope this helps.
02-22-2007 05:07 PM