Jump to content
  • 0

USB1808x output glitch


jpavlich

Question

I am noticing a 'glitch' on the analog output. I am working with 1000Hz triangular output and I see a glitch in the same spot of each cycle.  I can put this signal on an oscilloscope and also see the glitch.  I have attached a file to show the glitch in DAQAmi.  I have the same output on both channels.  In the attachment, I have tied AOUT1 to Ch2.  Have you seen this before? 

glitch.pptx

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Hello @jpavlich.

Please check your wiring and test the USB-1808X with a different system.  I set the analog input sample rate to 200 kHz and the channel mode set to differential.  Below is my result. 

image.png

 

What is the serial number of your USB-1808X and have you had any issues with it in the past? 

Regards,

Fausto

Edited by Fausto
differential mode
Link to comment
Share on other sites

  • 0

Hi, we have just started using this device.  The serial number is 2151488.  I have the output hooked up with a twisted pair from AOUT1 to Ch2 in a single-ended configuration.   I will try this on another computer tomorrow. I can change the voltage range sweep and still get a glitch but in a different spot.  But it remains consistent to that spot.  Could it be that the sweep is too fast?   I will try a slower sweep as well.

Link to comment
Share on other sites

  • 0

I am trying the 1698GX-2AO and am having better luck with the DAQAMI software.

but I am having trouble with the python code.

image.thumb.png.082bfa73db5abffdd931d66d23e831d6.png

this is the output I am getting on ch0 (AO1 to Ch0),  I can see on the scope that the output from AO1 is okay via the python code, which is a triangular display.

image.png.3c40185e96f1c0cdbca4164dc6f43b4b.png

 

Not sure what is going on in the python side.  If I have the instacal set up for single ended that should work correct?   Should I not be using scaled data with a 1608Gx?  I will attach my code.  Thanks.

 

a_out_scan_cont_1608G.py

Link to comment
Share on other sites

  • 0

@jpavlich,

For the USB-1608G Series, the SCALEDATA option is not supported with the a_out_scan() function.  Please reference the Universal Library Help file for supported functions.

https://files.digilent.com/manuals/Mcculw_WebHelp/ULStart.htm

image.png

 

Test the attached a_out_scan_1608GX_2AO_v1a.py example. a_out_scan_1608GX_2AO_v1a.py

The output should be a +/- 10V square wave.

Regards,

Fausto

Link to comment
Share on other sites

  • 0

The output on the 1608Gx  seems to be working okay.  but the input scans are a little strange.   I have the ch0 input tied to 5V but the reading is moving around when I run some of the sample scripts.  Here is ULAIO2.py output.

image.png.65b3707e6bed9f3556310816725167e7.png

 

 

But If I run the Daqami app I get an appropriate output.

image.thumb.png.d362c640a05f81982f5d8babee0a5bf2.png

 

Here is another example with the a_in_scan_background.py output.  Where Ch0 is at 5V and Ch1 is grounded, Ch2 and Ch 3 are not connected.

image.png.5ef2379c0b53e4c67d9a0d58a2037788.png

 

I feel like the unit is working okay since the DaqAMI output works but I'm not sure what is going on with the mcc examples.  No change in wiring between the runs.  Any thoughts?   Appreciate the help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...