11-04-2019 04:58 AM
Hi there,
1) How could i read the measured AC current of ELGAR instead of SOUR:CURR?
2) Where could i find a description of command list of ELGAR CW2501? E.g. meaning of SOUR:CURR?; SOUR:VOLT:RANGE HI; *WAI; etc..
11-04-2019 05:35 AM - edited 11-04-2019 05:37 AM
Hi LTBalazs,
what about asking ELGAR for a manual, where you can find all the answers you are looking for?
11-04-2019 05:44 AM
Hello
The programming manual for ELGAR AC power source is available here.It gives brief description of all the commands and refer the manual for reading the current as well.
Hope this helps!
-Rahul
Hit KUDOS for Thanks
11-04-2019 09:23 AM - edited 11-04-2019 09:35 AM
As per the programming manual page 3-1 Section 3.2 Measure Commands
MEAS:CURR Returns the measured current
MEAS:CURR:PEAK? Returns the peak current measured
MEAS:CURR:INRUSH? Returns the inrush current measured
BTW: SCPI was an attempt at standardization in instrument control, so you will find these commands will be the same on the majority of instruments.
11-05-2019 04:31 AM
Hi there,
When i send command such as MEAS:CURR then i get error. (see table below)
CMD | Comment |
MEAS:CURR | I get the following error: Error 1 occured at Scan From String (arg1) in test.vi Possible reason(s): LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. |
MEAS:CURR:PEAK? | Returns the peak current |
MEAS:CURR:INRUSH? | Haven't yet tested |
I entered no characters such as ? or @. When i send MEAS:CURR:PEAK? it works.
11-05-2019 04:44 AM
11-05-2019 09:15 AM - edited 11-05-2019 09:24 AM
@LTBALAZS wrote:
Hi there,
When i send command such as MEAS:CURR then i get error. (see table below)
CMD Comment MEAS:CURR I get the following error: Error 1 occured at Scan From String (arg1) in test.vi Possible reason(s): LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. MEAS:CURR:PEAK? Returns the peak current MEAS:CURR:INRUSH? Haven't yet tested
I entered no characters such as ? or @. When i send MEAS:CURR:PEAK? it works.
Yeah... I was wondering about that.
SCPI queries usually end with a "?" but the manual does not show one on MEAS:CURR.
Have you tried MEAS:CURR?
Also have you tried using the LabVIEW drivers for this AC source? (the download is under Software)
11-06-2019 09:53 AM - edited 11-06-2019 09:53 AM
The missing question mark is definitely suspect. I would try to add that. A SCPI complying device should not return any data without the question mark at the end. The manual may be a bit misleading here since they try to show the command syntax in a hierarchical structure. The CURR word should have a question mark added only for the standard query, not when used with the more specific queries that follow.
11-11-2019 04:32 AM
Hi,
I tried the following commands but none can return the AC current:
CMD |
Comment |
MEAS:CURR |
I get the following error: Error 1 occured at Scan From String (arg1) in test.vi Possible reason(s): LabVIEW: An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @. |
MEAS:CURR? |
0 |
:MEAS:CURR? |
0 |
MEAS:CURR:PEAK? |
Returns the peak current.(it reads always 2.86A even if i restart the main VI) |
MEAS:PEAKCURR? |
Returns the peak current. (it reads always 2.86A even if i restart the main VI) |
:MEASure:CURRent? |
0 |
MEASure:CURRent? |
0 |
|
|
Note: If I send "SOUR:CURR?" then i get it right.
11-12-2019 09:50 AM - edited 11-12-2019 09:50 AM
@LTBALAZS wrote:
Note: If I send "SOUR:CURR?" then i get it right.
Is that a question? You tell us, you have the instrument.
Also I linked to the driver download above...
Speaking of the drivers I looked at the drivers I have for our Elgar Smartwave and inside the "ELSW Current Subsystem.VI" the SCPI command to get the current measurement is: SOUR:CURR:LEV?
BTW: Elgar is notorious for poor documentation.