-
Posts
6,956 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Gallery
Posts posted by attila
-
-
Hi @peter_a
Please try a different cable, because such sudden errors are usually caused by contact problem, for example, loose connection, the plug is not fully inserted, slight difference is the socket dimensions, worn contacts in a way such the cable works with some devices but not with others...
If it still doesn't work properly, for warranty and replacement contact the support.digilent @ ni.com specifying the Date of Purchase, Seller and Purchase Order/ Web order Number. -
Hi @TanTAH
The Network Analyzer can use the AWG channels to generate sine wave sweep, but you can also select the 'external' option and use external stimulus signal or custom signal sweep from the same device Wavegen interface. For white noise you probably want to use the Spectrum interface or Scope/FFT view.
-
Hi @Xavier
Run the following script once to convert C2 from relative to absolute magnitude:
(For the next software version I'll try to make the relative option dynamic)var c1 = Network.Channel1.magnitude; // in selected Unit var c2 = Network.Channel2.magnitude; var a = Network.Wavegen.Amplitude.value/sqrt(2); // for VRMS var n = c1.length; for(var i = 0; i < n; i++) c2[i] = c2[i]*c1[i]/a; Network.Channel2.magnitude = c2;
-
Hi @Kirkhaan
This is the effect of AC coupling acting as a high-pass filter.
-
-
-
-
-
-
-
Hi @hrkzkb
Your code seems to be good, TX and RX should be returned in rx[0] and rx[1]. and additional UARTs when enabled in rx[2,3]
For printable text use Receives (string list) and for raw values use ReceiveArrays (2d numeric array)Protocol.UART.Receiver(); if(1){ while(wait(0.1)) { var rx = Protocol.UART.Receives(); // text var d = new Date(); if (rx[0].length()) print("TX:"+d.toISOString()+":"+rx[0]); if (rx[1].length()) print("RX:"+d.toISOString()+":"+rx[1]); } }else{ while(wait(0.1)) { var rx = Protocol.UART.ReceiveArrays(); // numeric var d = new Date(); if (rx[0].length()) print("TX:"+d.toISOString()+":"+rx[0]); if (rx[1].length()) print("RX:"+d.toISOString()+":"+rx[1]); } }
-
Hi @Maxpfeiff
... dwf.FDwfDeviceOpen(iDevice, byref(hdwf)) if hdwf.value == 0: dwf.FDwfGetLastErrorMsg(szerr) print(str(szerr.value)) dwf.FDwfDeviceCloseAll() sys.exit(0) rghdwf.append(hdwf.value) dwf.FDwfDeviceAutoConfigureSet(hdwf, 0) # the instruments will only be configured when FDwf###Configure is called dwf.FDwfAnalogIOChannelNodeSet(hdwf, 0, 0, c_double(1)) # enable positive supply dwf.FDwfAnalogIOChannelNodeSet(hdwf, 0, 1, c_double(5.0)) # set voltage to 5 V dwf.FDwfAnalogIOChannelNodeSet(hdwf, 1, 0, c_double(1)) # enable negative supply dwf.FDwfAnalogIOChannelNodeSet(hdwf, 1, 1, c_double(-5.0)) # set voltage to -5 V dwf.FDwfAnalogIOEnableSet(hdwf, 1) # master enable dwf.FDwfAnalogIOConfigure(hdwf) # apply ...
-
Hi @peter_a
Such sudden errors are usually caused by bad USB cable contact.
This is probably the error message of reconnect. Please disable this option to see what the first error is.
-
Hi @LuisP
1. Are the devices on the same local network? If so, you can leave the default DHCP
For a fixed setting or direct connection, make sure the mask is correct and the IP is unique.
Maybe the system or network is blocking LAN autodetection messages, although I have never seen this happen.2. Use \n or \r separator "ip:x.x.x.x\nuser:digilent\npass:digilent\nsecure:1"
-
There is not much to explain about this. In sync mode the trigger detector is used as sampling conditioner.
-
8bit format stores 8 DIOs or DINs, 16bit -> 16, 32bit -> 32, 64bit -> all 48 channels
With FDwfDigitalInInputOrderSet 0 the samples bits represent: 8bit DIN[7:0], 16bit DIN[15:0], 32bit DIO[31:24]DIN[23:0], 64bit DIO[39:24]DIN[23:0]
with 1: 8bit DIO[31:24], 16bit DIO[39:24], 32bit DIN[15:0]DIO[39:24], 64bit DIN[23:0]DIO[39:24] -
-
-
Please try the latest software version which fixes a device connection, PL programming issue.
-
-
Hi @peter_a
Please try the latest software version which fixes a device connection, PL programming issue.
-
The Digital Discovery has not oscilloscope so FDwfAnalogIn functions can be used with this device.
For Record with FDwfDigitalInTriggerPositionSet you specify how many samples to capture or 0 for unlimited streaming. -
-
Hi @diligent1
Not only the carrier but also the AM/FM are restarted with each Run cycle.
Incorrect voltage readings for sample acquisition
in Test and Measurement
Posted
Hi @Thomas1983
I don't understand the problem. Are you having trouble with Python plot?