![National Instruments NI PXIe-5450 User Manual Download Page 152](http://html2.mh-extra.com/html/national-instruments/ni-pxie-5450/ni-pxie-5450_user-manual_3486740152.webp)
Chapter 4
Programming
©
National Instruments Corporation
4-33
NI PXIe-5450 User Manual
LabVIEW Example
In LabVIEW, simulation is enabled with the Option String parameter of the
niFgen Initialize With Options VI. Enable simulation (Simulate=1) and
specify the device you want to simulate with the option string input.
The following example enables simulation of the NI PCI-5421 with
256 MB of onboard memory:
For more information, refer to the niFgen Initialize With Options VI.
C Example
In LabWindows/CVI, simulation is enabled with the
niFgen_InitWithOptions
function. Enable simulation (Simulate=1)
and specify the device you want to simulate with the option string
parameter.
The following example enables simulation of the NI PCI-5421 with
256 MB of onboard memory:
niFgen_InitWithOptions (Resource, VI_ON, VI_ON,
"Simulate=1,
DriverSetup=Model:5421;BoardType:PCI;MemorySize:2684354
56",&vi );
For more information, refer to the
niFgen_InitWithOptions
function.