06-08-2021 06:57 PM
Hello all. I'm working with a piece of equipment to take readings via GPIB and have the basics working but want to take triggered readings. As of right now after a number of repeated readings something happens and every third read is a null. So triggered is definitely the way to go.
What I don't understand is the sequence of GPIB or VISA events to make this happen. From what I gather you would write the parameters to the instrument and say triggered mode. Then send a trigger command, wait for SRQ and then finally read? But that isn't working too well. All I'm looking for is which commands and the correct order. Thanks.
06-09-2021 01:22 AM
Hi Adam,
@Adam_Stouffer wrote:
As of right now after a number of repeated readings something happens and every third read is a null.
What I don't understand is the sequence of GPIB or VISA events to make this happen. From what I gather you would write the parameters to the instrument and say triggered mode. Then send a trigger command, wait for SRQ and then finally read? But that isn't working too well.
All I'm looking for is which commands and the correct order.
Generic answer for your generic question: read the manual of your device to learn about it's triggering options (and the correct order of commands)…
Other comments on your message:
06-09-2021 09:16 AM - edited 06-09-2021 09:17 AM
@Adam_Stouffer wrote:
Hello all. I'm working with a piece of equipment to take readings via GPIB and have the basics working but want to take triggered readings. As of right now after a number of repeated readings something happens and every third read is a null. So triggered is definitely the way to go.
What I don't understand is the sequence of GPIB or VISA events to make this happen. From what I gather you would write the parameters to the instrument and say triggered mode. Then send a trigger command, wait for SRQ and then finally read? But that isn't working too well. All I'm looking for is which commands and the correct order. Thanks.
Well the correct order to send commands would be in the instruments programming manual.
About "after a number of repeated readings something happens and every third read is a null".
Post your code as that makes absolutely no sense at all.