Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

create simple read out of a analog pci card

Hi
 
First , please carry over with me since im totally newbee to DAQ
 
 
Pseudo code in vb.net (visual studio 2008)

'NI PCI-6229 Analog RTD Thermistor

 

MyTemperatureClass

 

'create an device object

Dim dev As Device

dev = DaqSystem.Local.LoadDevice("Dev1")

 

'Read the channel "Dev1,ai0" temperature

'and store it in a double datatype

Dim x As Double

Dev.read(channel,ai0,”)

 

I have created the virtual card in "Measurement & Automation explorer" since I don’t have

The actual machine with the card(s).

 

I have also created a simulated task that is supposed to

Read values between 4 – 20 milli-amperes from the thermistor input

 

i am not keen of  using any of

the wizards provided by NI but rather creating an object oriented approach.

 

Can someone please help me to clerify

 

Thanks

Jens

 

0 Kudos
Message 1 of 1
(3,225 Views)