Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
2 ratings:
 5 out of 5   

How Do I Simulate a NI-Scope Device in LabVIEW?



Primary Software:
Primary Software Version: 3.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Modular Instruments>>High-Speed Digitizers (Scopes)

Problem:
I would like to program using the NI-SCOPE driver but do not yet have the hardware. How can I simulate the device so that I can test my programming?

Solution:
The NI-SCOPE driver allows you to simulate a device so that you can run your application without the hardware present. A static sine wave can be generated from a generic device.

For NI-SCOPE 3.1 and later you can simulate a device in MAX by right-clicking on NI-DAQmx Devices and selecting Create New NI-DAQmx Device...»NI-DAQmx Simulated Device. If you are using NI-SCOPE 3.0 and earlier, or would like to simulate a legacy device such as the NI 5102, 5112, or 5911, please follow the steps below.
  1. Initialize the NI-SCOPE task with the niScope Initialize with Options VI.
  2. Right-click on the option string input of the VI and select Create»Constant.
  3. Change the Simulate=0 section of the constant to Simulate=1.
  4. To specify a device, add the following syntax in option string:

    DriverSetup=Model:<driver model number>;BoardType:<module type>
See the screenshot below for an example of this code. Additionally, you may find an example for simulating a device with NI-SCOPE at <labview>\examples\instr\niScope\niScope EX Simulated Acquisition.vi.



Related Links:
Products & Services: NI High-Speed Digitizers Home
Product Manuals: NI High-Speed Digitizers Help
Drivers and Updates: NI-Scope 15.1.1 - Windows 8/Windows 7/Vista x64/Vista x86/XP

Attachments:
Simulate_Scope.pngSimulate_Scope.png




Report Date: 01/31/2006
Last Updated: 05/04/2016
Document ID: 3TUECLQ4

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit