Graeme,
You can reference your SCXI channels using one of two methods -- using the SCXI channel string or using a Virtual Channel configured in MAX.
Step-by-step instructions on creating a Virtual Channel are available in the Measurement & Automation Explorer Help. As for SCXI Channel Strings, please reference the following Knowledge Base article. The channel string is the same for Measurement Studio and LabVIEW so the article is still valid for you as a Measurement Studio for VB user.
Valid SCXI Channel String Arrays under LabVIEW
http://digital.ni.com/public.nsf/ websearch/ 6FC83B7AC9ACA5788625615B00823D65?OpenDoc ument
Also, take a look at the example titled, "SCXI Continuous Acquisition.Vbp" which ships with Measurement Studio for VB
. Look in \Program Files\National Instruments\MeasurementStudio\VB\Samples\DAQ\Scxi\Continuous Acquisition on your computer for this example.
Therefore, if you are wanting to read from channel 0 of a module in the second slot you would use the SCXI channel string "sc1!md2!0". If you configured a Virtual Channel called "Channel0" you would use "Channel0" instead of "sc1!md1!0".
Regards,
Justin Britten
Applications Engineer
National Instruments