Jump to content

Syed Sibtul Hassan Sherazi

Members
  • Posts

    29
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Syed Sibtul Hassan Sherazi's Achievements

Member

Member (2/4)

0

Reputation

  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.
×
×
  • Create New...