Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple daq cards running, with a multi-channel temperature acquisition from NI435X card.

I am writing a program in Visual Basic that will be obtaining data continuously from one ni card, while simultaneously checking temperatures via the 4351 card. I am checking for temperatures on more than one channel; my problem is how to get multiple channels out for the user to "see" other than in a graph. How are you supposed to treat the readings array for the 4351 in order to be able to get temps. for all channels being scanned?
0 Kudos
Message 1 of 2
(3,319 Views)

Sidney,

The way the data is being placed in the output parameter will depend on the function you are using.

The function "NI435X_Read" in the 435x driver will return the data read to the scansRead output parameter. When multiple channels are read then the data is interleaved. For example, if I am reading three channels, the first sample in the scansRead array corresponds to channel 0, the second sample to channel 1, the third sample to channel 2, the fourth sample to channel 0, and so on.

I recommned you to also take a look at the help that installs with the NI-435x driver (Start button>>Programs>>National Instruments 435x).

Hope this helps,

Claudia Lorente
Applications Engineer
National Instruments

0 Kudos
Message 2 of 2
(3,319 Views)