05-04-2015 02:59 PM
Hello
As the subject says I am a complete noob when it comes to programming NI.
I am looking for someone to point me in the right direction
Setup:
Windows8 Desktop
Visual Studio 2013
NI 6255 PCI DAQ card
NI SCB-68 Connector Block
What I want to do:
I want to write a console application to measure voltage on signal ai16
-- I want to be able to manually start and stop the application
-- I want to be able to output the measured voltage to a csv file.
Where I am at:
I have compiled and run the "NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage" example
It says that I have "collected " samples but I dont know what that means, since I do not see an output file..
What I do not understand:
Samples - I do not understand this or even know where to start
File output - how do I get the file to save the data that is collected.
Thanks in advance
Chad
Solved! Go to Solution.
05-04-2015 05:17 PM
05-05-2015
12:23 PM
- last edited on
01-10-2025
04:14 PM
by
Content Cleaner
I believe this could be a valuable resource for you to use or reference in trying to log your data:
http://www.ni.com/tutorial/3633/en/#toc7
05-07-2015
10:27 AM
- last edited on
01-10-2025
04:15 PM
by
Content Cleaner
Hi Arron
Thanks for the link, unfortunatly, it did not help because the instructions were for Visual Basic and not C++. This was my fault for not putting the prog language that I needed help with in my initial post.
However, I did start to find help on this link: https://www.ni.com/en/support/documentation/supplemental/21/using-ni-daqmx-in-text-based-programming...
-- Using NI-DAQmx in Text Based Programming Environments