Search the Community
Showing results for tags 'data acquisition'.
Hi, I am using python code running on my PC to communicate to Openscope mz via USB using pyserial module. I am doing this so as to automate the data acquisition process, in sync with other instruments of my experiment apparatus. I am obviously using Digilent Instrumentation Protocol to achieve this. At High sample size, the serial read buffer ( from openscope mz to my COM Port of my PC ) stops in mid-way. To be precise, while using serial.read() after I send an oscilloscope read json command, if expected binary Length is 30000, I could get upto 27,000 values (~10% loss)
I am using analog discovery 2. I am trying to acquire data (for 10ms) of first channel from trigger of second channel signal. this is a part of my code hzAcq = c_double(1075000) # 1,075MHz nSamples =8192 dwf.FDwfAnalogInChannelEnableSet(hdwf, c_int(0), c_bool(True)) #first signal (channel 1) dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(0), c_double(1)) dwf.FDwfAnalogInChannelEnableSet(hdwf, c_int(1), c_bool(True))#second signal (channel 2) dwf.FDwfAnalogInChannelRangeSet(hdwf, c_int(1), c_double(5)) dwf.FDwfAnalogInAcquisitionModeSet(hdwf, c_int(3)) # record dwf.FDwfAnalogInFrequ
Hello there!! I'm trying to do capacitance measurements over the time with a Analog Discovery 2 NI edition and save then, as the code on the image below. But now, I need to implement 2 things in this script, wich I would like to know if it is possible to. 1) Save the measurements acquired automatically in a file on the computer (like a .txt or anything like that) 2) Make the script change the frequency of the Impedance meter as it run ( for example, acquisition 0 to 4 runs in 10kHz and 5 to 9 runs in 5kHz) If it is possible, how could I implement that on my script ? Than
Hello All, We currently have the Discovery 2 in lab and use Waveforms to collect data. Is there anyway I can build a UI( think a simple form, name , value pairs ) into waveform to capture meta data while collection a sequence of scans ? I would like to embed the data into the scan file header or maybe in a txt file that I can write into the directory where the data is being written. Thanks so much for your help ! PS: I see that Matlab Supports the first version of the card, but nothing announced for version 2 https://www.mathworks.com/hardware-support/digi