Search found 4 matches

by labfis
Thu Sep 20, 2012 8:36 am
Forum: C and C++
Topic: Unable to open device, status=12
Replies: 7
Views: 9045

Re: Unable to open device, status=12

I removed the linux headers then the first error was on struct tTriggerChannelProperties sourceDetails = {triggerVoltage,10,triggerVoltage,10,PS4000_CHANNEL_A,LEVEL }; [C++ Warning] conio.h(181): W8058 Cannot create pre-compiled header: code in header [C++ Warning] PS4000con.c(280): W8065 Call to fu...
by labfis
Wed Sep 19, 2012 11:44 am
Forum: C and C++
Topic: Unable to open device, status=12
Replies: 7
Views: 9045

Re: Unable to open device, status=12

I had to reduce the PS4000con.c just keeping the
status = ps4000OpenUnit(&(unit.handle)) funcion because I could not compile it, it is attached and console print screen also.
printscreen.PNG
printscreen.PNG (2.93 KiB) Viewed 9025 times
by labfis
Tue Sep 18, 2012 6:56 pm
Forum: C and C++
Topic: Unable to open device, status=12
Replies: 7
Views: 9045

Re: Unable to open device, status=12

1. PicoScope 6 is not running
2. I linked ps4000bc.lib to the project because otherwise I can not compile it.
by labfis
Tue Sep 18, 2012 2:22 pm
Forum: C and C++
Topic: Unable to open device, status=12
Replies: 7
Views: 9045

Unable to open device, status=12

Hardware: PicoScope4224
Software: PS4000sdk_r10_4_3_1, example PS4000con.c compiled in Borland C++ (Windows XP and Windows 7)
Picoscope 6 works ok

How can I communicate with picoscope?
Thanks