此內容不適用於您所偏好的語言。

此內容已顯示為其他適用語言。 您的瀏覽器可能含有可協助翻譯的套件。

Communicate with an NI Device Using SCPI Commands

Updated Dec 28, 2023

Reported In

Hardware

  • CompactDAQ Chassis
  • PXI Source Measure Unit

Driver

  • NI-DAQmx
  • NI-DCPower

Issue Details

 
I have a DAQ device (cDAQ, USB, or PXI(e)) and I would like to communicate with it using low-level VISA SCPI commands. Is this possible and is there a manual with the SCPI commands?
 
Also, do SMU cards like the PXIe-4138 support using SCPI commands?
 
 

Solution

 
No, NI DAQ (or PXI(e)) devices are not SCPI compliant. Instead, we have developed NI-DAQmx which is the driver needed to communicate with our NI hardware. The NI-DAQmx driver can be used to program in LabVIEW, LabWindows/CVI, and Measurement Studio for Visual Studio .NET.
 
 
As for SMU devices, they also do not support SCPI commands, and instead, the NI-DCPower driver API should be used for communicating with such devices.
 

Additional Information

It is possible to control your cDAQ with Python and DAQmx as well.