From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
NI 6501的數位I/O輸出5V。而Push-Pull推晚(active drive)的選項可以讓裝置改變輸出由5V到3.3V。C# 和LabVIEW的範例如下。
C#的範例程式 :
DOChannel myChannel = digitalWriteTask.DOChannels.CreateChannel(physicalChannelComboBox.Text, "", ChannelLineGrouping.OneChannelForAllLines);
myChannel.OutputDriveType = DOOutputDriveType.ActiveDrive;
|