09-02-2022 02:10 AM
I am writing code to control a Keithley 2400 and am using a Keithley 24xx driver. However, I do not have frequent access to the 2400. Is there a way to emulate a 24xx (or some other solution) so that I can test my code when the 2400 is not connected to my computer?
09-02-2022 02:32 AM - edited 09-02-2022 02:34 AM
Hi khogawani,
@khogawani wrote:
Is there a way to emulate a 24xx (or some other solution) so that I can test my code when the 2400 is not connected to my computer?
Yes: write your own simulation code!
(NI provides simulation for (most of) their DAQmx devices. Your DMM is external 3rd party hardware and it would be the duty of that 3rd party to provide a simulation mode together with their hardware driver.)
When doing so it might be a good idea to implement a HAL (hardware abstraction layer) using OOP. Then it's quite easy to switch from "real device" to "simulated device"…
09-02-2022 07:35 AM
I hope Keithley provides IVI drivers, in that case, there might be some level of simulation available at the IVI level. But the downside is that IVI is limited in function set and you cannot (as per my understanding) mix and max SCPI and IVI.
The best way is to check with Keithley if they have any software that can simulate a 24xx SMU.
09-05-2022 07:37 AM - edited 09-05-2022 07:39 AM
something like this?
https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Instrument-simulator-VIs/idi-p/4074493
TQVM AQ