Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

live display and graph in VB6

I Currently am using VB6 and NI measurement and automation.
I am aquiring two analog input signals and scaling them to force and
distance. On the user interface that I have created in VB, I want to display the live read out of these two channels and also graph them live on that form.  At
the same time I need to be logging this data so that it can later be exported
to an existing excel file.  I am having a hard time fiquring out how to do this
being that I am new to programming and to the ni products.  I hope that this is
even possible.  Any help would be appreciated.
0 Kudos
Message 1 of 2
(3,216 Views)

Hello Diesel,

Are you able to acquire the data from your DAQ board correctly?  What DAQ board are you using?  What driver are you using along with its version number? (Traditional NI-DAQ or NI-DAQmx)  I am going to assume that you are using NI-DAQmx.

There are some precompiled examples that are written in VB and are shipped with the driver.  Make sure that you installed these examples onto your hard drive.  If you have not installed support for these examples, then you can just modify the driver to get them.  You should be able to find them at the following location: C:\Program Files\National Instruments\NI-DAQ\Examples\VBasic\Ai.

I would verify that your DAQ device is working correctly in Measurement & Automation Explorer (MAX) through a test panel first.  Then open some of the precompiled examples and make sure that they are working.  Finally, I would modify these examples to make your application work as expected.  We do sell NI Measurement Studio Development Systems, which is a software application that gives you the ability to graph your data.

 

 

 

 

 
Respectfully,

Rob F
Test Engineer
Condition Measurements
National Instruments
0 Kudos
Message 2 of 2
(3,203 Views)