Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ device emulation

-- I have the same issue as this previous post from 2005:

https://forums.ni.com/t5/Multifunction-DAQ/daq-device-emulation/m-p/184532?query.id=28253#M10113

-- We are planning to buy the NI PXI-6514 (32 Source/Sink DI, 32 Source DO). I am developing code to use the NI DAQmx to perform digital read/writes.  I have a licensed version of measurement studio for Visual Studio .Net installed (version 8.1.1). We havent received the actual hardware, as it is on order from NI. I found a walkthrough that explains NI simulated DAQ devices:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0PxCAI&l=en-US

-- While I wait for the hardware, I want to be able to simply test that my C#.Net is able to do digital reads and writes to a NI DAQ device. The article above doesnt explain how this can be done after i set up my simulated DAQ device. Please help.

-- I am using the following logic to do read/writes in my software:

https://forums.ni.com/t5/Measurement-Studio-for-NET/c-simple-example/m-p/541163?query.id=78556#M5404

thanks!

0 Kudos
Message 1 of 2
(3,366 Views)
 

Hi,

Programming for a simulated device is nearly identical as programming for a real device. The function calls are exactly the same, the algorithm is exactly the same, the only difference is what input/output/timing features are supported by the simulated device.

The last section of the Developer Zone tutorial you linked outlines what these differences are [1]. Provided you don't use a feature not supported by the simulated device, your code will work. The shipping examples will work as well under the same condition.

[1] Considerations for Using NI-DAQmx Simulated Devices
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0PxCAI&l=en-US#toc3

 
Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
0 Kudos
Message 2 of 2
(3,336 Views)