12-18-2005 04:06 PM
12-19-2005 10:54 AM
There's nothing that you need to do that is "special" for being detected in MAX. As long as your device responds to at least 1 command that is written to it, it will show up as an instrument with "scan for instruments". If it responds to *IDN? in compliance with SCPI and returns information about itself, then you will see that information in MAX as well.
I don't believe that MAX does a device clear (which would cause your DEC interrupt). What addressing mode are you using? If you're trying to just get a basic instrument up and running you should use "Impletementing one logical device: Normal Addressing" at the bottom of page 5-3. If you're getting ADSR interrupts, I would expect you to be using "No addressing" mode and writing that mode to your ADMR. Is that what you're doing?
12-20-2005 10:29 AM
I use normal addressing ie writing 0x31 to ADMR than writing myaddress (0x1) to ADDR1 (0x6) than 0xE0 to ADDR2 (0x6).
Il still get 0x85 for ISR2 and 0x8 for ISR1.
Regard
Bastien
12-20-2005 11:34 AM