Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

stream to disc with VB and USB-6343?

One of my co-workers knows C++.    Can someone point me to a C++ example code

for a simple two-button (i.e., start/stop) program for multiplexed full-speed stream-to-disk?

I think this would be an easier solution than trying to write a .dll.  (I'm not a programmer,

which is why I use VB).

 

Thanks and HAPPY NEW YEAR

PattiMichelle

0 Kudos
Message 11 of 12
(3,025 Views)

Patti,

 

Here you can find an overview compatibility chart for what we offer for various text-based languages interfacing with DAQmx. Specifically for Visual C++ 6.0, you can see this link (in the related links section of the previous tutorial). In the second link, there is a section called "Visual C++ 6.0 without Measurement Studio" which is, I believe, the steps you're looking for.  The very end of that section shows how to load up the ANSI C examples we discussed before into Visual C++ 6.0  environment and run them.

 

Again, I would suggest starting with the TDMS examples I mentioned before, under \Analog In\Measure Voltage.  You can then make the changes as necessary to multiplex in (specifically, by changing the string parameter in the DAQmxConfigureLogging to multiple values, such as "Dev1/ai0,Dev1/ai1,Dev1/ai2," and so on.)  Your coworker would find the DAQmxConfigureLogging function prototype (the image I attached in my second post, on 12-27) helpful in explaining how the parameters affect the streaming to disk functionality.

 

Hope this helps,

Andrew

 

 

National Instruments
0 Kudos
Message 12 of 12
(3,000 Views)