Search found 22 matches

by spflanze
Fri Nov 02, 2018 12:38 am
Forum: Applications
Topic: ps3000aGetTimebase() outputs Invalid Handle error
Replies: 1
Views: 441

Re: ps3000aGetTimebase() outputs Invalid Handle error

This problem is solved. In the LabVIEW call to ps3000aGetTimebase() the handle was set to pass by pointer. This must be set to pass by value. Once set to pass by value there was no error produced.
by spflanze
Thu Nov 01, 2018 3:33 am
Forum: Applications
Topic: ps3000aGetTimebase() outputs Invalid Handle error
Replies: 1
Views: 441

ps3000aGetTimebase() outputs Invalid Handle error

ps3000aGetTimebase() outputs a PICO_STATUS value of 0x0C, which is an Invalid Handle error, in spite of the handle having been successfully used just prior to this call. The VI in which the call to ps3000aGetTimebase() is called is attached. I have also attached the VIs that use this VI. The VI that...
by spflanze
Mon Oct 22, 2018 10:34 pm
Forum: LabVIEW
Topic: PICO_NOT_RESPONDING
Replies: 3
Views: 1064

Re: PICO_NOT_RESPONDING

The example VI worked after a computer reboot. This VI does execute PicoScope3000aClose.vi unconditionally when stopped using the red lettered STOP button. Maybe the VI was not properly stopped by using the window close icon, or the stop sign button. Prior to computer reboot I tried power cycling th...
by spflanze
Fri Oct 19, 2018 4:16 am
Forum: LabVIEW
Topic: PICO_NOT_RESPONDING
Replies: 3
Views: 1064

PICO_NOT_RESPONDING

I have a 3205D Oscilloscope. When I run: PicoScope3000aExampleStreaming.vi I get the error message: Error 5007 occurred at ps3000aOpenUnit Possible reason(s): PICO_NOT_RESPONDING So what are possible reasons for function ps3000aOpenUnit() to be unable to get a response from the 3205D? My OS is Windo...
by spflanze
Thu Oct 18, 2018 5:34 am
Forum: LabVIEW
Topic: Streaming mode & segments
Replies: 1
Views: 598

Streaming mode & segments

Is streaming mode anything like the circular buffer I am familiar with where the microprocessor's DMA would fill half the buffer with A to D data while the other half, which has already been filled with data, is uploaded on the a serial bus, and when DMA is finished with its current half, it moves o...
by spflanze
Thu Oct 18, 2018 4:39 am
Forum: LabVIEW
Topic: PICO_NOT_FOUND
Replies: 2
Views: 655

Re: PICO_NOT_FOUND

The information in this thread might help:
topic39349.html
by spflanze
Thu Oct 11, 2018 12:47 am
Forum: Serial Port Products
Topic: Getting the device to tell me how many analog channels it has.
Replies: 1
Views: 2023

Getting the device to tell me how many analog channels it has.

What is the best way to read from a 3000 series device how many analog channels it has? I prefer to avoid having a look up table of all possible devices.
by spflanze
Sat Oct 06, 2018 5:01 am
Forum: Applications
Topic: Reading a 3000 series device's timebase setting
Replies: 1
Views: 455

Reading a 3000 series device's timebase setting

Is there a way to read from a 3000 series device the timebase it is set to?

I thought at first it was going to be ps3000aGetTimebase(). But this is not what it does. It requires a time base value input for what it does do.
by spflanze
Fri Oct 05, 2018 11:07 pm
Forum: C and C++
Topic: Setting the External Trigger Range
Replies: 3
Views: 815

Re: Setting the External Trigger Range

Then for the External Trigger the appropriate range code is always 8.

But in PicoScope3000aSettings.vi the range code used to convert a voltage in float representation, to the ADC code, is always the same as set for A channel, regardless of which channel is selected for the trigger.
by spflanze
Fri Oct 05, 2018 10:12 pm
Forum: PicoScope 6 for Windows
Topic: Where is PicoScopeVoltsAdc.vi?
Replies: 5
Views: 849

Re: Where is PicoScopeVoltsAdc.vi?

LabVIEW 2017.
The PicoScope.llb I downloaded on my first try had a size of 40 KB.
After seeing your response I tried a second time and this time got a file size of 159 KB. This second download contained the expected VIs. Thanks for you help. :)
by spflanze
Fri Oct 05, 2018 4:00 am
Forum: C and C++
Topic: Setting the External Trigger Range
Replies: 3
Views: 815

Setting the External Trigger Range

On page 99 of: https://www.picotech.com/download/manuals/PicoScope3000SeriesAApiProgrammersGuide.pdf I see for the function ps3000aSetSimpleTrigger() has a 16 bit threshold input argument. Over what input voltage range are these 16 bits fort he External Trigger? For the function ps3000aSetChannel() ...
by spflanze
Fri Oct 05, 2018 12:03 am
Forum: PicoScope 6 for Windows
Topic: Where is PicoScopeVoltsAdc.vi?
Replies: 5
Views: 849

Re: Where is PicoScopeVoltsAdc.vi?

After looking this over some more it looks to me that the missing VI converts floating point threshold value in units of volts to a sixteen bit fixed point DAC value. I can create LabVIEW code to do this.
by spflanze
Thu Oct 04, 2018 9:01 pm
Forum: PicoScope 6 for Windows
Topic: Where is PicoScopeVoltsAdc.vi?
Replies: 5
Views: 849

Re: Where is PicoScopeVoltsAdc.vi?

Thank you for the link to PicoScope.llb. I downloaded it and opened it in LabVIEW 2017. There does not appear to be any VIs in that library. Attached is a screenshot of what I see when I open it.
by spflanze
Thu Oct 04, 2018 3:19 am
Forum: PicoScope 6 for Windows
Topic: Where is PicoScopeVoltsAdc.vi?
Replies: 5
Views: 849

Where is PicoScopeVoltsAdc.vi?

From PicoScope3000a.llb I inserted the PicoScope3000aSettings.vi into my LabVIEW application. Immediately I saw it search for PicoScopeVoltsAdc.vi and not find it. Does this exist somewhere or do I need to create my own from ps3000a.dll ?
by spflanze
Wed Oct 03, 2018 11:00 pm
Forum: Applications
Topic: Opening a device using the Batch/Serial string in LabVIEW
Replies: 3
Views: 674

Re: Opening a device using the Batch/Serial string in LabVIEW

Thanks for the link to that thread. I read that thread, and then found that removing the "/" character did solve my problem. However there is a point of confusion. That thread states the problem appears when there are eleven digits in the S/N. But in the example Batch/Serial strings given in that th...