I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SDK(Pi

Post your LabVIEW discussions here
Post Reply
ingenioso
Newbie
Posts: 0
Joined: Wed Dec 29, 2021 1:34 am

I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SDK(Pi

Post by ingenioso »

Hi everyone,
I'm using a PicoScope 2206B with the SDK (PicoSDK_32_10.7.21.227).
The LabVIEW 20.0.1(32-bit) is running on the Windows 10.
This error has occurred.
An error occured while trying to initialize the unit.
Attempt to disconnect and reconnect the unit to the computer.

I found a suggestion for this trouble on the following :
topic29651.html?&p=101881&hilit=Attempt ... r.#p101881
Re: Error Message by trying the PS2000 Block example
Post by Hitesh, Wed Apr 12, 2017 8:39 am

The previous topic has posted at 2017, the same error as this topic has occurred at 2021.
Should I still use "the examples on the ps2000a folder" described by above topic ?
Now I'm going to use....

Regards,
ingenioso.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by Martyn »

You need to use the ps2000a example for your model of Picoscope.
Martyn
Technical Support Manager

ingenioso
Newbie
Posts: 0
Joined: Wed Dec 29, 2021 1:34 am

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by ingenioso »

Dear Martyn Blackwell,

Thank you so much.
PicoScope2000aExampleBlock.vi has worked well with the Pico2206B.

Sincerely yours,
ingenioso

dj_tony
Newbie
Posts: 0
Joined: Tue Feb 08, 2022 9:19 pm

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by dj_tony »

Hi, i'm using 2206B with the example ps2000A like you told here but it dosn't work.
it initialize but after that i'm reciving:
----------
Error API function call Call Library Function Node in PicoScope2000aGetBlock.vi->PicoScope2000aExampleBlock.vi
PICO_STATUS Unknown Error
Error code -3903 Decimal
FFFFF0C1 Hex
----------
using PicoSDK_32_10.7.21.227 and labview 2020 32bit. any idea?

i hear some relay switching inside 2206B so at least some comunication is happening.

Martyn
Site Admin
Site Admin
Posts: 4491
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by Martyn »

Have you followed all the instructions here https://github.com/picotech/picosdk-ni- ... les#readme
Martyn
Technical Support Manager

dj_tony
Newbie
Posts: 0
Joined: Tue Feb 08, 2022 9:19 pm

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by dj_tony »

yes, in fact another example PicoScope2000aExampleStreaming.vi works (still understanding what it does) but at least it capture some data.
i'll try to update shared folder to see if it start working.
now i'm looking at the programmer guide to see if there is something.

i don't know if i can write here also this issue, i've searched in the forum but not find .

in the file C:\Program Files (x86)\Pico Technology\SDK\inc\PicoStatus.h
i think there are few errors. in the value of PICO_INFO 0x00000013E,0x00000013F,0x000000141,0x000000142 seems there is 1 surplus digit. i was looking to have a VI that give an error with a descritpion from the header file.
thanks for the help.

dj_tony
Newbie
Posts: 0
Joined: Tue Feb 08, 2022 9:19 pm

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by dj_tony »

Hi, i'm still here. is there a way to have direct support? i'm going low on time and need picoscope working ASAP.

1- tried the link provided
2- updated this morning SDK 32bit to PicoSDK_32_10.7.22.241
3- still not able to run PicoScope2000aExampleBlock.vi, PicoScope2000aExampleBlockAdvancedTrigger.vi, PicoScope2000aExampleRapidBlock.vi
4- the problem is in: ps2000aGetValues from ..\Picoscope\picosdk-ni-labview-examples\ps2000a\PicoScope2000a.llb\PicoScope2000aGetBlock.vi
5- the error that returns is 1097 "Call Library Function Node in PicoScope2000aGetBlock.vi->PicoScope2000aExampleBlock.vi"
6- using Win10Pro 64bit
7- already uninstalled and installed SDK but nothing changed

waiting for a reply.
thanks.

AndrewA
PICO STAFF
PICO STAFF
Posts: 401
Joined: Tue Oct 21, 2014 3:07 pm

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by AndrewA »

Hi all,

Downsampling controls were set to ‘Aggregate' with downsample ratio of '1’
Causing blocks captures (Block, rapidBlock, rapidBlockbulk) to freeze/lockup.
Maybe caused by driver changes also.
I have updated most the 2000a examples with new defaults values ('none' and ratio of 2) also minor change/fixes-
https://github.com/picotech/picosdk-ni- ... er/ps2000a
Regards Andrew
Technical Specialist

dj_tony
Newbie
Posts: 0
Joined: Tue Feb 08, 2022 9:19 pm

Re: I want to run the LabVIEW example, PicoScope2000ExampleBlock.vi.Hi everyone, I'm using a PicoScope 2206B with the SD

Post by dj_tony »

i've sent you a pull request with the modified data type to solve the problem.
just seen you have merged.

;)

Post Reply