![](http://content.invisioncic.com/f319528/set_resources_20/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
AlexMark6
Members-
Posts
21 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
AlexMark6's Achievements
![Rank: Member (2/4) Member](http://content.invisioncic.com/f319528/set_resources_20/84c1e40ea0e759e3f1505eb1788ddf3c_default_rank.png)
Member (2/4)
6
Reputation
-
attila reacted to an answer to a question: How to make double step damping wave form by Waveforms for Analog Discovery2?
-
By WavesForms SDK, I am writing a program as bellow. Language is Python. How can I code this function? Because I can not use trigger("trigsrcAnalogOut1"), recorded data of my code starts before the starting point of output sine wave. 1.AnalogIn(CH0) waits for AnalogOut(CH0) start trigger. 2.Just After AnalogOut(CH0) Start(100Hz/1V sine wave for 5 waves = 50ms), AnalogIn(CH0) starts data record. 3.AnalogIn(CH0) records data for 100ms. 4.AnalogIn(CH0) buffer size = 8192. 5.Recorded data should start at the biggining of 5 sine waves.(after 50ms recorded data should be zero) Attached charts are Taget waveform and waveform by my code.
-
attila reacted to an answer to a question: How can I code to output just N sine waves for desired frequency?
-
How can I code to output just N sine waves for desired frequency?
AlexMark6 replied to AlexMark6's question in Test and Measurement
Dear attila, Thank you very much for further information. I will try the code you suggested tomorrow. Best regards. -
How can I code to output just N sine waves for desired frequency?
AlexMark6 replied to AlexMark6's question in Test and Measurement
Dear attila Thank you very much for answering my question every time. Actually I hided this question after I posted, but you seemed to have found my question. Anyway. I checked the sample code "AnalogOut_Custom.py". I changed wave form from triangle to sine wave. Then I changed the frequency. In case the fast frequency, output wave form is from 0 degree to 360 degree. But for slower frequency, output wave form did not end at 360 degree. I checked the sample code, and finally I found the reason was the time length of "time.sleep(second)" function. When time length was short, wave form was quit by "dwf.FDwfAnalogOutReset(hdwf, channel)" function. After I changed the time length to long enough value, output wave became to finish at 360 degree. I appreciate your advice every time. Please help me next time too. Best regards. -
I am writing a code for Analog Discovery 2 in Python. I want to output just N times (for example one or two or fifteen etc.) sine waves from 0 degree to 360 degree. And I want to change frequency arbitually. I tried the API "dwf.FDwfAnalogOutRunSet()" but doesn't work(start is 0 degree, but finish is not 360 degree). See attached image. Does anyone teach me how to code?
-
For Analog Discovery 2, until now I was using Waveforms script to make measuring program, now I want to develop measuring program by Waveforms SDK. So which language is recommended? (C, C#, python, vb) If I choose Python which IDE is recommended? For example Anaconda, Eclipse, or something. I prefer free IDE.
-
attila reacted to an answer to a question: Output impedance of Analog Discovery 2 Arbitrary Waveform Generator
-
Output impedance of Analog Discovery 2 Arbitrary Waveform Generator
AlexMark6 replied to AlexMark6's question in Test and Measurement
Dear attila, Thank you very much to answer my question every time. I understood that the output impedance is ~0Ω up to 10mA. Now I can simulate our circuit. Best regards. -
attila reacted to an answer to a question: Can I create original chart(plot) by Waveforms script?
-
Can I create original chart(plot) by Waveforms script?
AlexMark6 replied to AlexMark6's question in Test and Measurement
Hi attila, Thanks again. I will check your advice. Best regards. -
Can I create original chart(plot) by Waveforms script?
AlexMark6 posted a question in Test and Measurement
I made a script to measure frequency characteristic of target device by Waveforms. In that script I output a csv file of the characteristic. But if it possible, I want to plot a chart of the characteristic on Waveforms window. Is it possible or impossible? Please teach me. -
attila reacted to an answer to a question: Analog Discovery 2 API trigger setting
-
Analog Discovery 2 API trigger setting
AlexMark6 replied to AlexMark6's question in Test and Measurement
Hi attila I was surprised by your quick reply. I transfer your answer to the vender soon. (Unfortunately, I cannot write API. I can only write script. So I cannot test your advise for myself.) Thank you. -
attila reacted to an answer to a question: Scope range by "WaveForms SDK"
-
My vendor is writing wave measuring system by AD2 API for our project. He said that the trigger setting does not work well compared to Waveforms application. Concretely, we want to start to get wave data at the beginning of the wave swing start point, but sometimes data getting starts before the swing start point. He says the Waveforms application does not fail as API. Can anyone teach me the certain triggering method?
-
Dear attila Thank you very much for your quick response. I understood AD2 has just two (hardware) ranges. After your reply I discussed with the vender , then the problem was signal level itself. So the problem was solved. Thank you. Best regards.