Test and Measurement Forum

Not able to read values in 2204/2205

Post your C and C++ discussions here

Not able to read values in 2204/2205

Postby atulkumar » Thu Jan 05, 2012 11:36 am

I recently bought a 2204 and a 2205 devices. While using the program PS2000con.c given with drivers/sdk, I am not able to get any meaningful value. It does not matter weather I connect a signal to a channel or not. I always get almost same values.

7, 7,
7, 7,
7, 7,
7, 7,
-284, -284,
7, 7,
7, 7,
7, 7,
7, 7,
7, 7,
-284, -284,

On Windows, the values are bit different but still it does not matter if a signal is connected or not.

12, -12,
12, 170,
12, 170,
12, -12,
12, -12,
12, -12,
12, -12,
12, 170,
12, -12,
12, 170,
12, -12,
-169, -12,

If I use the Picoscope 6 software then I can see the signal.

Am I missing something?

Thanks,
Atul
atulkumar
Newbie
 
Posts: 0
Joined: Fri Dec 23, 2011 3:13 am

Re: Not able to read values in 2204/2205

Postby Martyn » Thu Jan 05, 2012 11:42 am

What signal are you using and have you set up the channel voltages/timebase before running the data collection ?
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2287
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Not able to read values in 2204/2205

Postby atulkumar » Fri Jan 06, 2012 5:33 am

Got it. Realized after posting my message that the voltage range needs to be adjusted (default was PS200_20V). My signal was in the range of ±100 mV.

Thanks anyway for the reply.
atulkumar
Newbie
 
Posts: 0
Joined: Fri Dec 23, 2011 3:13 am


Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests