Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I get data back from my PXI1011 SCXi modules

I have just received a PXI1011 chassis connected to my PC via MXI-3, slot 4 of the PXI has a PXI6052E DAQ card.
module 1 of my SCXI is an SCXI-1102B and I then have 3 SXI-1122 modules for RTD reading.
MAX has been configured correctly for the PXI1011 and has found the modules.

How do I read data back from these modules from Measurement Studio for VB.
Presumably I use cwAI but I am not clear on how to set up the link to a specific channel on a specific module.

Ideally I would like to create virtual channels in MAX data neighbourhood for all channels then my references would be easy

many thanks (I hope)

Graeme
0 Kudos
Message 1 of 2
(3,114 Views)
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?OpenDocument


Also, take a look at the example titled, "SCXI Continuous Acquisition.Vbp" which ships with Measurement Studio for VB. Lo
ok 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 first slot you would use the SCXI channel string "sc1!md1!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
0 Kudos
Message 2 of 2
(3,114 Views)