Hello,
I'm doing a lot more work with intrument control lately so please forgive the uptick in questions.
I'm dealing with a unique issue I haven't encountered before and I could use some advice. Previously when I asked about multiple instrument control it was always one instrument running continuously while the others would have their parameters dynamically updated; for example voltage readings with an NI-DAQ with adjustable DC power supply voltage. For such instances, I was recommended looking into the Producer-Consumer Architecture. In other cases, I've used multiple channels of a single instrument with no problems.
Now I am trying to monitor voltage on two seperate devices; a Keithley 6517A Electrometer and an NI USB 6212-BNC. I'm trying to take a finite number of samples over several seconds so the start time of reading acquisition needs to be synchronized. I didn't think the queuing of the Producer-Consumer would be helpful here so I tried configuring both instruments and then splitting the error wire in two. Predictibly this caused a lag in the acquisition time of the instruments as can be seen in the attached .jpeg. I know that the way I am doing it leaves me at the mercy of the instruments' timing but ths is the first time I've had to do this kind of setup and I am having some trouble.
Would very much appreciate some advice for this and future applications.
Hope to hear from you,
Yusif Nurizade