I have tried
'* place a reference to the max library first
dim aa as mxConfiguration
set aa = new mxconfiguration
aa.invokeMAX ' starts a MAX session
'aa.invokecreatenewwizard(0,"test") = "help" 'starts the wizard for a new channel
The above code starts MAX interface running. There seems to be several function for reading and writing configurations. Does anyone have some examples?
I want to be able to read each channel and get it's name and scaling so my app can be set up properly if another engineer changes or adds a channel.
I also want to be able to setup a configuration very fast on a new computer. I know I can save the config... but creating the config is a pain w
hen dealing with large quantities of analog and digital signals. MAX does not seem to be able to handle the load. I am thinking of a seperate interface that acts more like a database where I can sort the channels by SCXI board and channel number OR by name.
To see these functions add a 'reference in VB to National Instruments MaxCTRL 1.0. After that you can use the object browser on MXCTRLLib to see all of the functions.