Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Using API with NI DAQmx simulated devices

Hello every one
 
I have installed NI DAQmx861.exe and i am simulating PCI 6255 (all 80 channels) to measure voltage. Now i want to export all 80 simulated channels data to a binary file. I am using Microsoft Visual  C++6.0. Can i use APIs (provided by Ni DAQma) to read simulated channels data also or these APIs are only used with real devices?
 
and if these APIs can be used with simulated devices, kindly mention some helping documents so that i can implement these API's in Microsoft Visual C++6.0.
 
Thanks
0 Kudos
Message 1 of 2
(2,756 Views)
Hi ASIM_SHATTI,

I want to make sure I understand your question.  You simulated a PCI 6255 and were successful in using it to measure voltage (simulated data).  You now want to save that data to a file.  Are you tring to save to a binary file or a TDM/TDMS file?  If you need to save to a TDM/TDMS file, refer to the KnowledgeBase article: KB 42AANPH0: Reading and Writing TDM/TDMS Files for information.  

If all you need is to write to a binary file, you can search the web for how to write to a binary file in C++. 


Best Regards

Hani R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,732 Views)