LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Source Code for DAQmx Test Panel

Thanks for the prompt replies!

 

I'm a software guy who has an .exe created with Borland fifteen years ago as a spec.  When googling 'NIMax source code' this thread came up, I did not notice it was in the LabView forum.  Sorry about that.

 

I'm trying to recreate the .exe in C#.  So if NIMax is written in C# I could pull the source straight over, and dig through it to get the translation from dialog box settings to actual source.  Searching for IEPE in the sample C# code the only hit was ContAccelSamp_IntClk_AnlgStart.  This sample crashes with the 9234.  Eventually I found the Voltage related functions which allowed me to start collecting data.  Then it was another day to get parameters correct.

 

I played with NIMax for a day getting the graph to look correct (values hovering equally around 0).  Once I had that squared away it took another day to translate the TestPanel settings to C# code values.  Like the original post said, sure would be nice to be able to look at the WORKING NIMax code, instead of digging through samples for bits and pieces.

 

I *think* I have it working now. NIMax graphs displays Volts. The internal function I needed to use, CreateAccelerometerChannel, returns Gs.  The values correlate, albiet the Gs run 10x the voltage values.

 

Thanks again for the prompt responses.  Beg pardon for posting on the wrong forum.  Now that I see how active the NI forum is I'll be posting more often.

0 Kudos
Message 11 of 11
(245 Views)