Search found 10 matches

by physicsfaith
Fri Mar 14, 2008 7:03 pm
Forum: C and C++
Topic: Multiple 3205's
Replies: 7
Views: 5755

Oops...I just saw that you said I would have to define the structure...
by physicsfaith
Fri Mar 14, 2008 7:00 pm
Forum: C and C++
Topic: Multiple 3205's
Replies: 7
Views: 5755

On the version of ps3000.h .dll and .lib I am using unitOpened2.handle gives the error that the var unitOpened2 is not defined.
by physicsfaith
Thu Mar 13, 2008 6:43 pm
Forum: C and C++
Topic: Multiple 3205's
Replies: 7
Views: 5755

I just rechecked everything. If you try to use unitOpened.handle2 = ps3000_open_unit it returns "structure has no member named 'handle2'. I haven't downloaded the source files since last fall. Perhaps that is the problem.
by physicsfaith
Thu Mar 13, 2008 5:54 pm
Forum: C and C++
Topic: Multiple 3205's
Replies: 7
Views: 5755

I tried that first and I still got an error. Perhaps I have something else wrong. Thanks for the advice.
by physicsfaith
Thu Mar 13, 2008 3:39 pm
Forum: C and C++
Topic: Multiple 3205's
Replies: 7
Views: 5755

Multiple 3205's

To hook up multiple 3000 series oscopes, the manual says to use multiple handles, as was noted in topic below this one. The problem is the new canned driver design uses a new syntax, unitOpened.handle, instead of handle by itself. There is then a number it is assigned. The problem is running unitOpe...
by physicsfaith
Mon Aug 06, 2007 7:45 pm
Forum: C and C++
Topic: Problems compiling the C-example for USB ADC-11
Replies: 1
Views: 3573

MS Visual Express will compile .c extension files as C programs. Go ahead and use it. But, make sure you download the Software Development Kit (SDK) as well and follow the instructions to modify the appropriate files to activate all of the things you need to compile this software.
by physicsfaith
Mon Aug 06, 2007 7:42 pm
Forum: C and C++
Topic: Bug in PS3000con.c driver
Replies: 1
Views: 2984

Bug in PS3000con.c driver

There is an error in the PS3000con.c driver (as of 8/6/2007) in the function set_defaults. The last argument of ps3000_set_channel is set to unitOpened.lastRange. This is wrong and will cause the data to be collected with the range set to the maximum upper voltage range (probably 20 V) instead of wh...
by physicsfaith
Fri Jul 20, 2007 8:01 pm
Forum: C and C++
Topic: Using PS3000 drivers on Visual C++ Studio
Replies: 1
Views: 2990

I answered my own question. Apparently c++ doesn't know what a BYTE variable is. I changed it to char and atleast the compiler doesnt complain. I'll report back if it actually works.
by physicsfaith
Fri Jul 20, 2007 7:39 pm
Forum: C and C++
Topic: Using PS3000 drivers on Visual C++ Studio
Replies: 1
Views: 2990

Using PS3000 drivers on Visual C++ Studio

Has anyone successfully compiled PS3000con.c or PS3000.c with MS Visual C++ Studio 2005? I am getting all kinds of errors. Most stem from this section of code: typedef struct { short handle; MODEL_TYPE model; PS3000_RANGE firstRange; PS3000_RANGE lastRange; //BYTE signalGenerator; //BYTE external; s...
by physicsfaith
Thu Jul 19, 2007 4:28 pm
Forum: C and C++
Topic: New Driver for 3205 and PS3000con.c on Linux
Replies: 1
Views: 3046

New Driver for 3205 and PS3000con.c on Linux

I have been using an older version of the provided Drivers on a 3205. I have been using PS3000con.c, slightly modified to trigger on the external trigger and read channels A and B. I compile on the standard Linux C compiler. Recently, I bought 8 more 3205's to ramp up my research and discovered that...