element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
NI LabVIEW Community
  • Products
  • Dev Tools
  • NI LabVIEW Community
  • More
  • Cancel
NI LabVIEW Community
Labview Blogs Automate Measuring the Analogue Front-end of Data Acquisition Board for Pi Pico - Pt. 2: control function generator
  • Blog
  • LabVIEW Challenge Blogs
  • Forum
  • Documents
  • Quiz
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join NI LabVIEW Community to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 5 Nov 2023 5:31 PM Date Created
  • Views 738 views
  • Likes 5 likes
  • Comments 3 comments
  • 2000-scan
  • dmm6500
  • pico
  • keithley
  • labview
  • raspberry_pi_projects
Related
Recommended

Automate Measuring the Analogue Front-end of Data Acquisition Board for Pi Pico - Pt. 2: control function generator

Jan Cumps
Jan Cumps
5 Nov 2023

In this little series, I'll automate this exercise: Measure the Analogue Front-end of Data Acquisition Board for Pi Pico .

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

In the second post: make the function generator generate DC test signals

summary:
The test flow will use a function generator to sweep a DC test input to the analogue front end between +4V and -4V, in steps of 0.5V.
At each step, 5 "interesting "voltages will be sampled with a multi-channel DMM.

image

LabVIEW flow to control function generator DC output

I've developed a driver for the function generator earlier:  MULTICOMP PRO MP750065 Function Generator - Programming Pt6: LabVIEW Driver Lib: High Level Functional blocks .

In this flow, I'll use those blocks to set the instrument to DC mode, switch on the output, and let it hop between -4 and +4V. The hop will be controlled by an incrementor block that I made as a LabVIEW exercise:  LabVIEW: Module to Generate Step Increments .

image

Set up the function generator

The generator is set to DC, offset 0V, and output switched on.

image

I've moved this to its own VI. That leaves more real estate for the main flow.

Sweep through offsets

The generator starts at a value, then increments that value for a number of times. This is parameterised.

image

If you set the start value to -4; increment to 0.5 and steps to 16, it 'll bop from -4 to +4V in 0.5V increments.
If you start at 4, set increment to -0.5V and steps to 16, it 'll hop between +4 and -4 in 0.5V decrements.

The waiting time is long enough to deal with settle time, and the time needed when crossing 0V. The generator switches polarity with a relay and needs time to do that. Later, the measurement block will fit after that wait section.

Wrap up after testing

The offset is set to 0V, and output switched off.

image

This is also placed in a submodule to save space on the main flow canvas.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply
  • DAB
    DAB over 1 year ago

    Good work Jan, testing as it should be done.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago

    Step 3 pre-tested

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    1 5V supply power

    2 3.3V supply power

    3 AIN_1 test voltage input

    4 AIN1_P opamp U1D out output

    5 AIN1_N opamp U1B out virtual ground

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 1 year ago

    Impressive! It's easy to forget that a function generator can be used as a configurable voltage source like this. Nice to see all the programmableness with LabView being used to create the testbed!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube