Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get a query from USB Tekpower TP3005P power supply


@Luke.jar wrote:

I know this thread is a bit old, but in case someone happens to be working on a similar project and finds this...

I have a TekPower TP3005P Power supply and have gotten to interface with it. You have to send it literal "\n". So, for the *IDN? command, the string you need to send is "*IDN?\n".


The command interpreter for IEEE-488.2 will allow for either:

*IDN?\n
*IDN?;

When the command interpreter receives the newline character or the semicolon character it understands that the command or query has been completed and will begin to act on the entered command and respond accordingly if it is part of a valid query statement.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 11 of 16
(1,463 Views)

I think you misunderstood me. The string I send to get the identify command is *IDN?\n, where \n is literal characters (0x5C6E for clarity), not the new line character (0x0A).

If I replace \n (0x5C6E) with ;(0x3B), the power supply doesn't respond.

I wasn't aware of the interpretation equivalence.

0 Kudos
Message 12 of 16
(1,461 Views)

No misunderstanding.  That piece of equipment is SCPI compliant and as such should accept:

*IDN?

*IDN?;
*IDN?\n

The top entry is with the physical newline character.  The middle is through the use of the semicolon while the last uses the actual characters of "\" and "n" together which gets interpreted as a single newline character.  If it does not accept all of those entries then the equipment is not working properly.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
Message 13 of 16
(1,457 Views)

Oh, now that is interesting. I will have to look into this a bit more.

0 Kudos
Message 14 of 16
(1,451 Views)

Hello,

 

Do you know if you can connect multiple power supplies together and control their sequence from 1 PC?

0 Kudos
Message 15 of 16
(533 Views)

As these are USB controlled supplies, they can be controlled through a single PC using multiple USB ports.  If this is setup to increase the voltage (series connection), it should not be an issue.  However, there might be an issue if these are running in parallel to increase the current as only one supply will activate/change at a time (albeit a slight lag between supplies if programmed carefully).

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 16 of 16
(526 Views)