From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Programmatically Change Network Address of cDAQ 9188

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Description

Overview

The following is LabVIEW code that allows the user to change network settings of a National Instruments cDAQ 9188.

 

Description

The following is LabVIEW code that allows the user to change network settings of a National Instruments cDAQ 9188.This uses the System Configuration API found here:

https://www.ni.com/en-us/support/downloads/drivers/download.system-configuration.html

 

Requirements

Software

  • LabVIEW 2012 or compatible
  • NI-DAQmx 9.5.5 or compatible

Hardware

  • NI cDAQ-9188 

Steps to Implement or Execute Code

  1. Configure the parameter for the right channel and device
  2. Connect your hardware appropriately
  3. Run the VI

 

Additional Information or References

 cDAQ Change IP.png

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Peter E
Applications Engineer
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
alemberskiy@earthlink.net
Member
Member
on

Can you post a VB.net code for this?