[SENSe:]FUNCtion
[SENSe:]FUNCtion
Syntax
[SENSe:]FUNCtion "<function>"[,(@<ch_list>)]
[SENSe:]FUNCtion? [(@<ch_list>)]
Description
Select the measurement function on the specified channels. The function name must be enclosed in quotes in the command string (for example, FUNC "VOLT:DC").
Parameters
Name Type Range of Values Default Value <function> Discrete {TEMPerature | VOLTage[:DC] | VOLTage:AC | RESistance | FRESistance | CURRent[:DC] | CURRent:AC | FREQuency | PERiod}
This is a required parameter. <ch_list> Channel List One or more channels, as shown:
(@310) - channel 10 on the module in slot 300.
(@305:310) - channels 05 through 10 on the module in slot 300.
(@202:207,209,302:308) - channels 02 through 07 and 09 on the module in slot 200 and channels 02 through 08 on the module in slot 300.
If you omit the optional <ch_list> parameter, this command applies to the currently defined scan list.
Remarks
- This command is not available on digital cards.
- Note that when you change the measurement function on a channel, all of the other measurement attributes (range, resolution, etc.) are set to their default values.
- You cannot set any function-specific measurement attributes unless the channel is already configured for that function. For example, you cannot set the AC filter unless that channel is already configured for AC voltage or AC current measurements.
Return Format
The query returns a quoted string indicating the short form of the function name (example: "VOLT") on each channel. Multiple channels are separated by commas.
Examples
The following commands specify functions for the channels shown.
FUNC "TEMPerature",(@301)
FUNC "FREQuency",(@204)
The following query returns the functions specified for the channels shown.
FUNC? (@204,301)
Typical response: "FREQ","TEMP"
See Also