Search found 169 matches

by Chris
Wed Apr 27, 2011 2:05 pm
Forum: USB PC Data Loggers
Topic: USB PT104 integration and UsbPT104.lib
Replies: 1
Views: 2095

Re: USB PT104 integration and UsbPT104.lib

To use the API's, you need to link with the lib file.

There is no alternative to doing this.
by Chris
Wed Apr 27, 2011 1:55 pm
Forum: VB and VBA (Excel, Access)
Topic: usb_tc08_get_temp with USB TC08 & VB6
Replies: 3
Views: 4165

Re: usb_tc08_get_temp with USB TC08 & VB6

The TC-08 will collect data from the enabled channels at intervals set in the call to usb_tc08_run (The interval value passed in the usb_tc08_run call needs to be 2x the required interval. This issue has been reported to the development team) You are using a timer to call the usb_tc08_get_temp funct...
by Chris
Tue Apr 26, 2011 2:51 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: PS3204 and void * pParameter
Replies: 1
Views: 2626

Re: PS3204 and void * pParameter

Pico provides a wrapper dll as part of the sdk. ps3000aWrap.dll has functions that can be called in place of some of the ps3000a API functions that can't be called directly from some languages such as VB. The C source code for this wrapper is also included in the SDK, as there is no documentation av...
by Chris
Thu Apr 14, 2011 12:57 pm
Forum: Linux
Topic: Linux drvier for PicoScope 3206A/B ?
Replies: 18
Views: 25599

Re: Linux drvier for PicoScope 3206A/B ?

The new 3000 series scopes are not software compatible with the old versions.

We don't have any Linux drivers for the new 3000 series at this time, but we are now working on Linux development for all of our new products.

There is no release date for these drivers at this time.
by Chris
Thu Apr 14, 2011 10:15 am
Forum: USB PC Oscilloscopes
Topic: Response Time PS 4224
Replies: 3
Views: 2252

Re: Response Time PS 4224

The SetDataBuffers section only needs to be done once, and can be carried out outside of the RunBlock / GetData loop.
by Chris
Thu Apr 14, 2011 9:35 am
Forum: USB PC Oscilloscopes
Topic: Passing AWG Table from XL Vb to dll
Replies: 1
Views: 1606

Re: Passing AWG Table from XL Vb to dll

You will need to save the data as a file, then read the file into the buffer... waveformSize = 0; printf("Select a waveform file to load: "); scanf("%s", fileName); if ((fp = fopen(fileName, "r"))) // read in data - one number per line { while (EOF != fscanf(fp, "%hi", (arbitraryWaveform + waveformS...
by Chris
Thu Apr 14, 2011 9:25 am
Forum: LabVIEW
Topic: ETS Example for LabVIEW
Replies: 1
Views: 1994

Re: ETS Example for LabVIEW

We do not have any labview ETS examples, but there is an ETS section in PS4000con.c c-code example, which may help you get an undertanding of what you need to do to get this working under LabView.
by Chris
Mon Apr 11, 2011 2:54 pm
Forum: VB and VBA (Excel, Access)
Topic: 16bit ADC counts VB6
Replies: 4
Views: 4935

Re: 16bit ADC counts VB6

You need to implement something like this...... Function mv_to_adc(mv As Long, range As Long) As Long mv_to_adc = ((mv * 32767) / range) End Function Then, in the function where you're setting the trigger.... Trig = mv_to_adc(2000, 10000) REM 2000 is the trigger point (in mv). 10000 is the range sel...
by Chris
Mon Apr 11, 2011 10:02 am
Forum: LabVIEW
Topic: AWG in LabVIEW PS2000.dll
Replies: 2
Views: 3009

Re: AWG in LabVIEW PS2000.dll

The return value is 0 for an error, non-zero for success.
(Not as stated in the manual).

The set_sig_gen_arb function code in the ps2000con.c is a good example to look at.

Note: The values in the arbitraryWaveform buffer need to be in the range 0 to 255, and the size of this buffer should be < 4094
by Chris
Thu Apr 07, 2011 9:02 am
Forum: LabVIEW
Topic: GetUnitInfo string garbled 4227/4224
Replies: 4
Views: 3362

Re: GetUnitInfo string garbled 4227/4224

Please try the example sent, to see if it works for you.
by Chris
Thu Apr 07, 2011 8:51 am
Forum: USB PC Data Loggers
Topic: Cannot connect to more than one USB PT-104 device
Replies: 1
Views: 1870

Re: Cannot connect to more than one USB PT-104 device

There is a probelm with the current driver, when you open > 1 unit via USB, by providing their serial numbers. You can open >1 unit if you do not provide the serial numbers of the units.... Dim handle1 As Integer Dim handle2 As Integer Dim status As Integer status = UsbPt104OpenUnit(handle1, 0) stat...
by Chris
Wed Apr 06, 2011 9:05 am
Forum: General Software Discussions
Topic: ps2203 potential bug
Replies: 2
Views: 2610

Re: ps2203 potential bug

The 3rd parameter......string_length: the length of the character string buffer

If you change your call to
ps2000_get_unit_info(m_handle, infoString, sizeof(infoString), desiredInfoLine);

it will work.
by Chris
Mon Apr 04, 2011 4:10 pm
Forum: LabVIEW
Topic: Block Mode Setup Time
Replies: 3
Views: 2892

Re: Block Mode Setup Time

In the ps4000pg.en.pdf programmers guide, section 4.6.1.1 (Using block mode) shows 'Use ps4000SetDataBuffer' as step 7, after ps4000RunBlock is called, and ps4000BlockReady callback function has indicated that data is ready. If you loop back to the ps4000RunBlock call, you will call ps4000SetDataBuf...
by Chris
Mon Apr 04, 2011 3:18 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: GetTimebase sets wrong timeInterval
Replies: 3
Views: 3816

Re: GetTimebase sets wrong timeInterval

I tryed the same with timebase=0 after that, but 'timbase' is now set to 0 the instead of 4 The timebase value is 0 because that is what you set it to. Check the timeInterval value. It will be set to 4. Note: You can only set timebase 0 if you disable one of the 2 channels. Both channels are enable...
by Chris
Fri Apr 01, 2011 3:08 pm
Forum: LabVIEW
Topic: Block Mode Setup Time
Replies: 3
Views: 2892

Re: Block Mode Setup Time

This time is PC dependant, and will also vary depending on what else the PC is doing, hence the guide states up to 50mS. The time can be reduced by setting the DataBuffer prior to calling RunBlock. Using Rapid Block mode will enable multiple captures, for each data retrieval, so reducing the retriev...