Sangkyu Choi Posted October 22, 2020 Share Posted October 22, 2020 I have two device that analog discovery2, I wanner run two device at the same time. I use WaveForms SDK Reference Manual and python. But Only one of device works. I think this is the code to change. print("Opening first device") dwf.FDwfDeviceOpen(c_int(-1), byref(hdwf)) How do I write the code? Link to comment Share on other sites More sharing options...
JColvin Posted October 22, 2020 Share Posted October 22, 2020 Hi @Sangkyu Choi, This thread should contain the details that you are looking for: You should also look at the Device_Synchronization.py example that is within WaveForms SDK. Thanks, JColvin Link to comment Share on other sites More sharing options...
attila Posted October 23, 2020 Share Posted October 23, 2020 Hi @Sangkyu Choi See Device_Enumeration.py Device_Synchronization.py AnalogOutIn_Synchronization.py Device_Info.py Device_InfoEx.py The easy way, without verifying the connected devices:dwf.FDwfEnum(c_int(0), 0) dwf.FDwfDeviceOpen(c_int(0), byref(hdwf1)) dwf.FDwfDeviceOpen(c_int(1), byref(hdwf2)) Link to comment Share on other sites More sharing options...
Question
Sangkyu Choi
I have two device that analog discovery2,
I wanner run two device at the same time.
I use WaveForms SDK Reference Manual and python.
But Only one of device works.
I think this is the code to change.
print("Opening first device")
dwf.FDwfDeviceOpen(c_int(-1), byref(hdwf))
How do I write the code?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.