Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

NiDAQmx and reading a 5B37

Hello,

I would like to use NiDAQmx to continously read a thermocouple. The thermocouple is connected to a 6025E DAQ through a 5B37 module which is connected to a 5B01 board.

Can I use DAQmxCreateAIThrmcplChan() with cjcSource parameter set to DAQmx_Val_BuiltIn or should I use DAQmxCreateAITempBuiltInSensorChan()? Will either one work with the 5B37 module?

When I tried to configure a NiDAQmx Task or NiDAQmx Global Channel in Measurement and Automation Explorer I was prompted with "This software application is not currently licensed."

Does that mean that in order to use Measurement And Automation Explorer to configure Tasks or Global Channels I need to purchase a license? Should I be able to configure Tasks using the NiDAQmx C librar
y in Visual Studio without a license? In other words, do I need to purchase a license to use the NiDAQmx ANSI C library? And if so, how much does it cost?

- Tree
0 Kudos
Message 1 of 6
(3,544 Views)
Hello Tree,

Thank you for contacting National Instruments.

Please follow the link below to a Knowledge Base concerning 5B37.
Because the board is non-linear, you cannot use the DAQ Channel
Wizard. The linked Knowledge Base explains how to set up the 5B37.

http://digital.ni.com/public.nsf/websearch/24CEFB238FB571F286256B9C005C109A?OpenDocument


I hope this helps,

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,544 Views)
Hello,

Thank you for your response. However, the link you provided does not
solve my problem. I am using the NiDAQmx ANSI C library, not LabView.
Could you please answer the questions below with respect to the
NiDAQmx ANSI C library?

Can I use DAQmxCreateAIThrmcplChan() with cjcSource parameter set to
DAQmx_Val_BuiltIn or should I use
DAQmxCreateAITempBuiltInSensorChan()? Will either one work with the
5B37 module?


When I tried to configure a NiDAQmx Task or NiDAQmx Global Channel in
Measurement and Automation Explorer I was prompted with "This software
application is not currently licensed."


Does that mean that in order to use Measurement And Automation
Explorer to configure Tasks or Global Channels I need to purchase a
license? Should I be able t
o configure Tasks using the NiDAQmx C
library in Visual Studio without a license? In other words, do I need
to purchase a license to use the NiDAQmx ANSI C library? And if so,
how much does it cost?

- Tree
0 Kudos
Message 3 of 6
(3,544 Views)
Hello Tree,

You do not need a license to run either Measurement and Automation
Explorer (MAX) or the ANSI C library.

Could you post a screen shot of the error you are getting when you try
to configure the DAQmx Task or Channel?

Have you tried configuring the channel with DAQmxCreateAIThrmcplChan()
or DAQmxCreateAITempBuiltInSensorChan()? Are you getting an error
from this as well?

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,544 Views)
Hello,

Attached is screenshot.jpg and RuntimeError.jpg

I am trying to run an example program, specifically
VC_ContThermcplSampsIntClk. It is giving me a runtime error that
states the physical channel specified does not exist. This do not make
sense. Initially, I set the physical channel name to "ai0". That did
not work. THen I created a global virtual channel in MAX and used that
name (VoltageAi0). And that too did not work. I am confused. All I
want to do is continously read an analog input channel in Visual C++.

- Tree
Download All
0 Kudos
Message 5 of 6
(3,544 Views)
Hello Tree,

After some research I discovered that the 5B series are not supported
with DAQmx. Try configuring the device in Traditional DAQ. Follow
the link below for instructions and an example.

http://digital.ni.com/public.nsf/websearch/52471E46A96FEE3F862567B7004DF219?OpenDocument

Do you still get the licensing issue after these steps?


Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,544 Views)