mellinger wrote: 15 May 2024, 17:02
How do you make this work " Source:gUSBampSource float BipolarChList 2 3 4 5 6 7 8 1"? Thanks.
The correct form is
Code: Select all
Source:gUSBampSource float BipolarChList= 8 2 3 4 5 6 7 8 1
Note the number of entries is prepended to the list. Also, the equals sign must immediately follow the parameter name.
You can use the Operator config dialog to modify parameters, it's much easier than writing raw parameter definitions.
BipolarChList is not in any of the Operator config dialog or I could have just used it. Is it possible just like the SignalType, it was also removed before from Source by other team member somehow?
Putting the command line in the parameter file doesn't work. I get this output with my V+ connected to channel 2 and V- connected to channel 3
It should look like the following since the bipolar pair is substracting channel 2 from channel 3 (setting inputted in g.USBamp Demo but retained in memory where BCI2000 could use it. Channel 2 or 3 is not showing the right waveform above without the gtec sofware setting it first (which produces the right waveform below).. Note the Netech produces big waveform at V+ an V- and the output that comes out is small value (where they subtract V+ from V- which the the g.USBAmp DEMO setting and display shows correctly even when relayed to BCI2000)
I put the command line in the bottom of the following (even just using Source:gUSBamp)) just to test, but it doesn't work either. Also the screen that comes out is the 8 channel like above. How come without the equal sign, the output is 16 channels with DEV1Ch wording at the window. Should the 16 come out also by using the one with equal sign. Whatever, the output doesn't work (see above). I tried it many times with different combinations.
"Source:gUSBamp int AcquisitionMode= 0 0 0 2 // data acquisition mode: 0: analog signal acquisition, 1: calibration signal, 2: impedance measurement (enumeration)
Source:gUSBamp int CommonGround= 0 0 0 1 // internally connect GNDs from all blocks: 0: false, 1: true (enumeration)
Source:gUSBamp int CommonReference= 0 0 0 1 // internally connect Refs from all blocks: 0: false, 1: true (enumeration)
Source:gUSBamp int EnableDigitalInput= 0 0 0 1 // enable digital inputs (boolean)
Source:gUSBamp int EnableDigitalOutput= 0 0 0 3 // enable digital output on block acquisition: 0: off, 1: use expressions %28after signal acquisition%29, 2: timing test, 3: use expressions %28before signal acquisition%29 (enumeration)
Source:gUSBamp matrix DigitalOutputEx= 0 { Expression } // Matrix of Expressions for digital output
Source:gUSBamp int DetectDataLoss= 0 0 0 1 // use gUSBamp counter mode to detect data loss (boolean)
Source:gUSBamp int NumBuffers= 2 5 2 % // IO queue length
Source:Buffering int SourceBufferSize= 2s 2s % % // size of data acquisition ring buffer (in blocks or seconds)
Source:gUSBamp list DeviceIDs= 1 auto // list of USBamps to be used (or auto)
Source:gUSBamp string DeviceIDMaster= auto // deviceID for the device whose SYNC goes to the slaves
Source:gUSBamp intlist SourceChList= 1 auto // list of channels to digitize, in terms of physical inputs numbered across all devices
Source:gUSBamp intlist SourceChDevices= 1 8 // number of digitized channels per device
Source:gUSBamp int FilterEnabled= 1 1 0 1 // Enable pass band filter (0=no, 1=yes)
Source:gUSBamp float FilterHighPass= 0.5 0.1 0 50 // high pass filter for pass band
Source:gUSBamp float FilterLowPass= 1000 60 0 4000 // low pass filter for pass band
Source:gUSBamp int FilterModelOrder= 8 8 1 12 // filter model order for pass band
Source:gUSBamp int FilterType= 1 1 1 2 // filter type for pass band (1=BUTTERWORTH, 2=CHEBYSHEV)
Source:gUSBamp int NotchEnabled= 1 1 0 1 // Enable notch (0=no, 1=yes)
Source:gUSBamp float NotchHighPass= 58 58 0 70 // high pass filter for notch filter
Source:gUSBamp float NotchLowPass= 62 62 0 4000 // low pass filter for notch filter
Source:gUSBamp int NotchModelOrder= 4 4 1 10 // filter model order for notch filter
Source:gUSBamp int NotchType= 1 1 1 2 // filter type for pass band (1=CHEBYSHEV, 2=BUTTERWORTH)
Source:gUSBampSource float BipolarChList= 8 2 3 4 5 6 7 8 1"
Here the BipolarChList is not in any Operator Config dialog
