LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni 435x in Labview 8.2

I have a PXI-8105 controller in a PXI-1045 chassis with labview 8.2 installed.  I would like to use a PXI-4351 board to measure a thermistor.   I can measure volatges and resistances with NI MAX, and now I would like to program with lab view 8.2.  I have never programmed with lab view with before and would like to know how to do this quickly.  Thanks
0 Kudos
Message 1 of 5
(3,091 Views)

Hi,

One easy way to automatically generate the code is to first make a DAQmx task in MAX since it seems familiar to you. Rightclick Data Neighborhood >> Create new >> NI DAQmx Task >> Choose your measurement configuration for e.g. a voltage measurement i.e analog input. Then add another channel from the setup window and choose your other mesurement, e.g. resistance. Then save it.

Open LabVIEW>>Blank VI>>Block diagram>>Search Button>>Search for DAQmx Task Name>>Drag it to the block diagram>>Click browse button and choose your task>>Rightclick on the task constant>>Generate code>>Configuration and example. Change to Front panel and watch the plot when you press the run button.

Hope this helps

Pelle S
Account Manager
National Instruments Sweden
0 Kudos
Message 2 of 5
(3,075 Views)
I just realized that board is using NI-DAQ Traditional driver instead of Daqmx. So the above options aren't available....Please have a look at the Example Finder where is located under Help>>Find Examples in the LabVIEW menu>>Hardware Input and Output>>Tradional DAQ>>Analog Input and have a look at the acqusition vi's. Otherwise there is another example for your specific device at this page: http://zone.ni.com/devzone/cda/epd/p/id/838
Pelle S
Account Manager
National Instruments Sweden
0 Kudos
Message 3 of 5
(3,073 Views)
I found an example program at  http://forums.ni.com/ni/board/message?board.id=170&message.id=216052 that seems to be do just what I want it to do.  However, when I run the VI, I get an erro code -1306 indicating that I need to check the accessory.  I have set the accesory in MAX to be TBX-68 and can correctly read out the resistance in MAX.  Why the problem in Labview?
0 Kudos
Message 4 of 5
(3,067 Views)
Hi,

Have you tried this Knowledge Base article?

Abhinav T.
Applications Engineer
National Instruments
Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 5 of 5
(3,045 Views)