Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

LabJack in LabVIEW


  • Please log in to reply
1 reply to this topic

#1 aishwaryag27

aishwaryag27
  • Members
  • 1 posts

Posted 25 June 2015 - 08:05 AM

Hi,

 

I am using LabJack U3-HV. I am completely new to this. I am looking to acquire sensor data (voltage signal) using LabJack and use it in labVIEW programming. I would like to know if there is any specific icon in labVIEW to acquire the data using LabJack (like DAQ). I have attached the screenshot of the icons and utilities related to LabJack, that I see in my labVIEW window. Kindly let me know if anything in addition would be needed ( so as to confirm that I have installed everything related to this). I looked at an example but still I am not sure how this works. It would be helpful if you could tell me how to bring the sensor data into LabView and also about setting the sampling rate for reading the data. Please help me with getting started.

Attached Thumbnails

  • labjack_icon1.jpg
  • labjack_icon2.jpg
  • ljutilities1.jpg
  • ljutilities2.jpg


#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 25 June 2015 - 08:40 AM

Sounds like you are new to LabVIEW.  First, understand that it is not a simple tool like Microsoft Excel, but rather is a full-blown programming language.  There are lots of resources for learning LabVIEW, and here is one:

http://www.ni.com/ac.../learn-labview/

Those 9 steps go over just the basics of LabVIEW.  You could skip step 8, but the other 8 steps are all very fundamental, and if you don't know those 8 steps well you are not going to be able to do much in LabVIEW at all.

If you already know another programming language, like C, you will find it easy to learn LabVIEW as in most ways it is the same as any other programming language except it uses graphics rather than text.  If you don't have any programming experience, you are really starting from scratch and need to learn the basics of programming structures, data structures, and logic.

 

Once you know LabVIEW in general, to get started using the U3 in LabVIEW follow the 6 steps here:

http://labjack.com/s...xamples/labview

 

 

I am looking to acquire sensor data (voltage signal) using LabJack and use it in labVIEW programming. I would like to know if there is any specific icon in labVIEW to acquire the data using LabJack.

The simplest way to acquire a reading from an analog input is with a call to eAIN:

http://labjack.com/s...rs-guide/4.2.17

http://labjack.com/s...ers-guide/4.3.9

See "U3 eAIN Example.vi" to get started.

 

 

and also about setting the sampling rate for reading the data.

If you use stream mode, the sampling rate is dictated by hardware.  If you use command-response mode the sampling rate is dictated by software:

http://labjack.com/s...3/users-guide/3

We suggest you use command-response mode first, and move to stream mode later if you have to.  Check out "U3 eAIN Loop with Chart.vi" for an example of software-paced acquisition.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users