From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

VB.NET ContAcqVoltageSamples_IntClk (DAQmx) Example question

Hi There,
 
For our final project for university we have to couple an aircraft cockpit to Microsoft Flight Simulator using the DAQ NI USB-6008. For this we've coupled potentiometers to the throttles, and this gives nice voltage values in labview.
 
To be able to couple the throtles to MSFS we have to put the voltage in a continuous updating variable (VB.NET). By making calculations on this variable we can pass the info to MSFS using a special .dll. (the voltage level is related with the power level of the throttle). However when we tried out the VB.NET examples (for example ContAcqVoltageSamples_IntClk, we've noticed that all measured data is stored in a 2 dimensional array of doubles.
 
Unfortunately we canot pass this 2 dimensional array of doubles to MSFS, we need a single voltage value in the form of an integer or a double. Is it possible to create the system like this, so we have 1 data variable (integer or double) which is constantly updating? (no more datagrids)
 
As i'am a newbie into VB.NET, is there anyone out here who could help me realizing this?
 
Thanks a lot in advance...
0 Kudos
Message 1 of 1
(2,997 Views)