Jump to content

Syed Sibtul Hassan Sherazi

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Syed Sibtul Hassan Sherazi

  1. I have been using DASYLab and USB-202 and I am trying to do the same thing that I did with the analog input and analog output. The details are as follows: Firstly, I used the TTL module to generate 0 and 1 changing after one and the other for 1 complete minute. (File Attached TTL. Txt) Secondly, I used the Write File module to write that data. Thirdly, I used the Read File Module to read that data and passed it to CH0 (Digital Output Channel 0). Fourthly, I used that channel data to apply to my 10k ohm resistor connected with TIA Then I have a TIA (Transimpendance) circuit (SEE image) and TIA output connected to the Digital Input Channel (Digital I/O 1) to Plot results. Lastly, I provided power and ground to the TIA circuit by DAQ USB-202 V+ and GND. I have attached the .DSB (Final Digital Code) file too. Final Digital Code.DSB TTL.TXT
  2. Hi @JRys, Thanks! What is the way to resolve my issue, should I use the chart recorder? Thanks and looking forward to hearing from you.
  3. Hi @JRys, I have replaced the analog input and output with the digital input and output and tried to get the output but there exists the same error in XY Chart. I have attached my digital data file and DSB file of code as well. Please tell me the problem or modify the attached file. Thanks. Final Digital Code.DSB TTL.TXT
  4. Hi @JRys, I just change the Delete After to 2500 but still the output is fixed and there is no graph. Please see this. Thanks and looking forward to hearing from you soon. DEFNAME2.DSB
  5. Hi @JRys, I changed the settings as you mentioned but still, I am not getting the required output. I have attached the .DSB file herewith please see and resolve my issue as soon as possible. Thanks. DEFNAME2.DSB
  6. As suggested by you regarding timebase, In the read data module, I changed the DASYLab Sampling rate to Analog Input (HW). Is it a thing that I need to change as I am not sure about that? Please suggest me. After that, I started to have an error related to the scan rate, and in order to cater this error, I changed the Analog input scan rate from 200 to 100 with the same blocksize. Now, the output of a graph (y-axis or analog input) is quite slow in fact still still as compared to to x-axis (analog output or read data from 0 to 1 Volts). Please resolve my problem. I have attached the .DSB file herewith By the way, what does this HW mean at the end of the Input. Thanks and looking forward to hearing from you.
  7. Hi, I did not see an option of time base in the Read Data. Could you please tell me where it is or change it in the attached file as well? Thanks billions time DEFNAME2.DSB
  8. Hi, I wanted to modify the code and have the Digital Output Voltage (0 and 1) in 1 minute. Do I need to use Waveform or there is any option or module for the toggling? I am new to DASYLab and want to know this. Thanks
  9. I have been trying to plot the graph using the X/Y Chart on the X-axis (Analog Output Values 0 to 1 Volts) and the Y-axis (Analog Input coming from the Opm apm which ranges from 2 to 3 Volts), but have been facing the below-mentioned error. I have attached the DSB file herewith. Please suggest me the changes or do the required modifications. I plotted the Analog Output and Analog Input Separately while Chart Recording and these were done successfully but have the time-axes are on the x-axis. Thanks, and looking forward to hearing from you.
  10. Hi @Fausto, This statement "The analog output channel on a USB-202 can source a maximum output current of 5 mA per analog output channel, but it is a voltage supply source, not a current supply source" means that analog output can give voltage directly but not the current. Am I right? As far as the second link is concerned, I have made the same circuit (See where 10 K resistor) which is placed between the channel (CH0) and ground (AGND) but in my case the voltage course to CH0 is from Analog Output (0 to 1 Volts) [See Breadboard where AOUT0 and CH0 are the same point and at the same potential). Please check my coding at the DASYLab 2022, but rather than having current as an output, I am getting the voltage which is exactly the same as the Analog Output Voltage. Now, could you please tell me how to resolve such an issue? My end goal is to draw the I-V curve of that resistor by using the Analog Output Voltage. Basically, the X-axis will be the analog voltage obtained from the output terminal and the y-axis will be the current flowing through the resistor. Thanks and looking forward to hearing from you soon.
  11. Basically, I wanted to record/draw the IV Curve of the resistance (1 Kilo Ohm placed on the physical breadboard) via the Chart recorder or XY Graph of USB 202 DAQ with DASYLab 2022. The input to one end of the resistor is the Analog Output (0 Volt to 1 Volt in 1 minute with 0.1 V step size) and the other end is grounded. Now the question is how I can measure the current through resistance. And after measuring the current, how can I draw the IV Curve? I am confused as the Analog input of USB 202 DAQ takes voltage as input, not as current. May I request to please assist me in this regard and tell me how I can do this? Thanks.
  12. Hi All, Basically, I wanted to record/draw the IV Curve of the resistance (1 Kilo Ohm placed on the physical breadboard) via the Chart recorder or XY Graph of USB 202 DAQ with DASYLab 2022. The input to one end of the resistor is the Analog Output (0 Volt to 1 Volt in 1 minute with 0.1 V step size) and the other end is grounded. Now the question is how I can measure the current through resistance. And after measuring the current, how can I draw the IV Curve? I am confused as the Analog input of USB 202 DAQ takes voltage as input, not as current. May I request to please assist me in this regard and tell me how I can do this? Thanks.
  13. Thanks! I got it. As asked earlier, the minimum software required for it is DASYLab Basic. Such an operation cannot be done with DASYLAB LITE. Am I right?
  14. I have opened the settings of the wave generator and read the file respectively. There is an option for the size of the block in the read file settings. What will be its effect if I change it from 1? Moreover, in the created file (After running) there is a Delta which is 0.1 in my case. Could you please tell me from where and how to change it? In addition to it, there are frequency and amplitude in the wave generator settings. How does frequency impact if we change it as at the moment it is 1e^-02 and why have we chosen it? The amplitude is 1 as we wanted to have a maximum value of 1. If we want to have a maximum 5 amplitude, we can change it by 5. Lastly, how can we implement the complete sawtooth waveform from 0 to 1 and then from 1 to 0 in 2 minutes? Basically, I have been trying to understand the files completely from the core so that I can use it more swiftly for the coming tasks. It will be great if you reply to it. I shall be highly obliged to you.
  15. Hi, How to edit the file 1a.dsb file. I saw the setting of the generator but did not find the option to stop at EOF. By the way, what do you mean by EOF? Moreover, in the 2a.dsb file, the time base is DASYLab time base which is attached. I can use the LITE version for this task as well. Thanks and looking forward to hearing from you.
  16. Thanks! Do you mean that I should form the write file by the generator and then read it while analog output? I did that please check the attached files. By the way, why did you use Excel? Do you want to have 0.1 several times and the same goes for 0.2 etc? I just put the same settings as yours and I have been getting the values in the file. Please tell me the reason for using Excel. Why do you use the sawtooth waveform as it will have to go downwards after time T? Can we do the same experiment for 0 to 5 Volts in 5 minutes? Please tell me the way or make the changes in the attached files. I shall be highly obliged. Moreover, can I control the above-mentioned waveform using the LITE Version? If not then what are its limitations? And what are the advantages of FULL as compared to BASIC and what is the price difference? How much can we control the waveform using the BASIC Version? Thanks and looking forward to hearing from you. 1a.DSB 2a.DSB
  17. Basically, I have been using DASYLab 2022 Basic version, could you please tell me what is the way/approach to achieve it? I am not sure about it.
×
×
  • Create New...