Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

NI-FGEN Simulated Devices

Hardware: Signal Sources (AWG/FG/AO)

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

Solution:
The NI-FGEN driver allows you to simulate a device so that you can run your application without the hardware present.

To simulate a function generator, follow these steps:

  1. Initialize the NI-FGEN task with an niFgen Initialize with Options.vi.
  2. Create a control on the Option String terminal.
  3. Change the Simulate=0 section to Simulate=1.

See the screenshot below for an example of this code.



Related Links:

 
Products & Services: NI Signal Generators Home
Product Reference: NI Signal Generators Help (NI 5401/5402/5404/5406/5411/5412/5421/5422/5431/5441)                                                             Knowledge Base: NI-SCOPE Simulated Devices                                                                            Knowledge Base: NI-DMM Simulated Devices



Attachments:


Simulate FGEN.JPG - Simulate FGEN.JPG


Report Date: 03/09/2007
Last Updated: 06/27/2008
Document ID: 478I5K84

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