LabVIEW Interface for Arduino Blog - Page 2

Community Browser
Labels
cancel
Showing results for 
Search instead for 
Did you mean: 
17178 Views
1 Comment

hello

i have arduino mega  I have connecting it to labview and it work at first time but when i connecting it the second time it dosn't work

becuse it doesn't see the device so i restart the computer when i connecting the mega but it work on time only

and when i change the COM # it doesn't work and have this error

if any one have any suggestion i will be thanks for him .

11459 Views
0 Comments

Hello All,

  i have a problem (Arduino, SPI, Labview, ADC  MCp3204)

i have attached screenshot from the VI .

For Testing i want to read ADC data using spi  of LIFA. I have connected analog Input to the adc IC Mcp3204.

Thanks Virendra

10237 Views
0 Comments

cannot find my arduino uno in the init bloc of the labview example read analog In serial (error 5005, arduino not found, check connction and drivers) but arduino is connected and the upload to the uno of arduino FIFA_Base is finished without errror!

any ideas, why labview cant find arduino? i am working with labview 2013, arduino 1.05 and FIFA_Base 2.1.1.69

9971 Views
1 Comment

I use two leds to emit two kinds of lights, and use one sensor to detect both of the light wave. Then I need to seperate them to different waveform and calculate something about them. How can i do that?

9901 Views
0 Comments

I need to conect this code block with my arduino uno and also with a RGB Led, that would generate a light variance according to the scale i choose...could someone help me??

THANKS

800 Views
0 Comments

B Обливион смотреть онлайн Обливион смотреть онлайн бесплатно Обливион смотреть онлайн в хорошем качестве Обливион смотреть онлайн бесплатно в хорошем качестве Обливион смотреть онлайн в хорошем качестве полный фильм Обливион смотреть онлайн в hd качестве Обливион смотреть онлайн в хорошем качестве 720p Обливион смотреть онлайн в хорошем качестве hd Онлайн Обливион смотреть бесплатно в хорошем качестве Смотреть Обливион онлайн бесплатно в хорошем качестве Обливион 2013 смотреть онлайн Обливион фильм 2013 смотреть онлайн бесплатно Смотреть Обливион 2013 онлайн в хорошем качестве Онлайн Обливион 2013 смотреть бесплатно в хорошем качестве Смотреть онлайн Обливион 2013 в хорошем качестве полный фильм   Смотреть Обливион онлайн (фильм) новинка 2013 Смотреть Обливион онлайн бесплатно в хорошем качестве Смотреть Обливион онлайн (2013) в отличном качестве Смотреть Обливион онлайн (2013) в хорошем качестве Смотреть Обливион онлайн (2013) бесплатно в хорошем качестве смотреть Обливион в хорошем качестве онлайн Обливион смотреть в HD качестве Обливион смотреть онлайн Обливион (2013) смотреть онлайн Обливион смотреть онлайн в хорошем качестве Фильм Обливион (2013) смотреть онлайн бесплатно

940 Views
0 Comments

B Обливион смотреть онлайн Обливион смотреть онлайн бесплатно Обливион смотреть онлайн в хорошем качестве Обливион смотреть онлайн бесплатно в хорошем качестве Обливион смотреть онлайн в хорошем качестве полный фильм Обливион смотреть онлайн в hd качестве Обливион смотреть онлайн в хорошем качестве 720p Обливион смотреть онлайн в хорошем качестве hd Онлайн Обливион смотреть бесплатно в хорошем качестве Смотреть Обливион онлайн бесплатно в хорошем качестве Обливион 2013 смотреть онлайн Обливион фильм 2013 смотреть онлайн бесплатно Смотреть Обливион 2013 онлайн в хорошем качестве Онлайн Обливион 2013 смотреть бесплатно в хорошем качестве Смотреть онлайн Обливион 2013 в хорошем качестве полный фильм   Смотреть Обливион онлайн (фильм) новинка 2013 Смотреть Обливион онлайн бесплатно в хорошем качестве Смотреть Обливион онлайн (2013) в отличном качестве Смотреть Обливион онлайн (2013) в хорошем качестве Смотреть Обливион онлайн (2013) бесплатно в хорошем качестве смотреть Обливион в хорошем качестве онлайн Обливион смотреть в HD качестве Обливион смотреть онлайн Обливион (2013) смотреть онлайн Обливион смотреть онлайн в хорошем качестве Фильм Обливион (2013) смотреть онлайн бесплатно

10401 Views
1 Comment

hi ,

I am trying to upload the lvifa_base.ino fileto my arduino ide 1.5.2 beta...but while compiling it throws "syncLV" error .....and the location is at the void setup loop's " \\ Place your custom setup code here " position .... please help....SYNC.jpg

13045 Views
0 Comments

Hey Andretaris,

The project went really well I got everything running just as I wanted. Ill write you an in depth guide within the next few days. Once everything is running correctly you have complete labview abilities using an arduino either wirelessly or wired. Ill write the guide based on wireless use if you are planning on have the board wired to the computer you can skip those steps.

Best,

Daniel Sawyer

10487 Views
0 Comments

I need your help on Multiple Aquisition Data Sampling using Arduino. I am having the same problem as the following post;

https://decibel.ni.com/content/message/50853#50853

I need to collect 15 analogue measurments and send 5 digital output synchronously with a sample rate of 0.01 sec. What do you suchest me to do?

You mentioned one might be able to do that by "createing a custom command that reads x samples from the user specified pins"... could you please give an example of that?

I can use multiple arduinos if you think it will help.

Thanks

Hesam

11537 Views
1 Comment

hello sir while we installing the VISA driver for interfacing arduino with labview.. we came to encounter such problem..how we gonna fix it pls help us..!!! ...we are now currently using arduino version 1.0 labview 2010 atmega 2560... the error we encounter is 1073807343

11096 Views
1 Comment

I had a need to use the Adafruit LDP8806-based LED strip for a project. And I wanted to use LabVIEW to do it. The Arduino provided an inexpensive way of controlling so long as I could figure out the control protocol for the LDP8806.

After some toiling, I figured it out using both a bitbang and SPI approach. Bitbang with the Arduino Uno is ridiculously slow; it lies on the LIFA digitalWrite.vi which limits speeds to about >90Hz, effectively, and things get flaky any faster. Although it is interesting to see the slow control of the LED strip, it's not practical to wait so long as a consequence of the communication method. SPI is much faster. New LED states are set "instantaneously".

The trick is in the attached "LED_list_to_hex_and_bool.vi". It creates the bytes needed to properly control the LED strip. Read the comments in the VI.

The main application is "write_data_spi.vi". Use the default MOSI and SCLK pins (13,11 on Arduino Uno) as the "DI" and "CI" pins, respectively, as labeled on the LED strips.

10166 Views
0 Comments

We needed to be able to remotely focus some of our IR cameras in the lab so we came up with this solution using ~$100 worth of gear purchased from Sparkfun that uses LabVIEW and Arduino. This little build is extremely useful for situations where we can manually operate the camera on location (For example: https://www.youtube.com/watch?v=pjAIwtdAyQA). If there is enough interest, I would be happy to share the code. All of the parts described in this video are available at Sparkfun (minus the IR camera of course).

Demo: http://www.youtube.com/watch?v=MVjbMyj2YgY&feature=youtu.be

Ethernet shield

https://www.sparkfun.com/products/9026

Motor Driver

https://www.sparkfun.com/products/10267

Motor

https://www.sparkfun.com/products/9238

Arduino Uno+LabVIEW Bundle

https://www.sparkfun.com/products/11225

10224 Views
2 Comments

Hi , i am building a Sentry Gun with a Camera , a paintball gun , 2 stepper motors and an arduino. i am using labview to program the whole project from image processing and recognition to Stepper Motor control via Arduino. i am able to capture and track the image with coordonates of his centre . how can i  transfert those coordonates to the arduino so that it can be convert into the angle of rotation or steps for the stepper motor??

Thanks for your reply

i have attached a sample of the code i wrote for the image acquisition and processing . i don t know how to go about sending the coordonates to arduino so that they can be convert into precise steps.

10569 Views
5 Comments

Dear all,

I am currently testing the LabView for Arduino toolkit.

I need to generate a 0-5V DC voltage out of a PWM channel to control the sensitivity of a photomultiplier.

This control voltage will generate a high voltage of 0-1250V at the photomultiplier tube circuit.

(I plan to use a 2-pole lowpass filter based on an LM358 OpAmp to smoothen the PWM signal)

I have so far just connected an LED (of course plus serial resistor) to the PWM output and can dim the LED with the PWM using a 0-255 control.

So far so good.

However, when I connect the LED to the PWM output it is fully lit already when the Arduino (UNO) is conncted to the PC, even though the vi is not yet running, so the lopass would propbably already supply a full 5V to the photomultiplier at that stage.

This is not good as a 5V output would switch the photomultipler to its full high voltage of 1250V instantly, whereas I would normally start much lower and increase hi voltage (= sensitivity) only as needed by the light levels.

As soon as I start the vi, the LED turns off and I can use the dial to adjust the brightness from zero to full, but the damage will be done to the photomultiplier already, because it receives a 5V control voltage from the Arduino even before the vi comes to play.

Why is the PMT output hi and not not zero before the vi starts???

What can I do to force a zero signal at the PWM output when the Arduino is connected to the PC but the vi to control the whole thing is not yet started?

Many thanks

Holger

12302 Views
1 Comment

This is my first blog post/code share so please don't hesitate to let me know if it can be improved.

I was tasked with validating an LCD screen brightness and RGB quality. Fortunately Sparkfun has a color light sensor http://www.sparkfun.com/products/10701.

I followed the connection instructions found in the Arduino example sketch and made a few minor modifications to the example code (sketch with my edits can be found on the block diagram of the VI, make sure you have the Wire library installed in your IDE) so that the Arduino outputs the RGB and light values about every 200 ms instead of on request.

  • This VI (LV2012) reads CSV from the port, converts them to 8 bit numbers, renders the values in a color box and records the values in an array of clusters. 

  • There is also an offset/tuning adjustment for each color, RED, GREEN, BLUE that are fun to play with.

  • The "CLEAR" value is supposed to be a light measurement but I haven't tried to convert it to Lumens yet. Right now it's expressed as an 8 bit number like the RGB values.

  • The original sketch has a calibration function and I've bypassed it, if you're trying to make very fine measurements you may want to begin with the original sketch and go from there. I'm just performing a rough validation of RED, GREEN, and BLUE

One more thing: Don't bother connecting the LED pin on the sensor board, it is so close to the sensor that everything gets washed out and only "white" is returned.

ReadColorLightSensorp.png

10491 Views
0 Comments

Good morning folks,

I am new to Arduino (but not to LV).

In an attempt to get my freeduino board (Duemilanove clone) working in LV (2011) I followed the guidelines here (of course after successful setting up of the board first):

http://vishots.com/getting-started-with-the-labview-interface-for-arduino/

Got the Package Manager installed and then got the Labview-interface-for-arduino installed in the LV vi.lib dir the the PM.

Now tried to upload

C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\LabVIEW Interface for Arduino\Firmware\LVIFA_Base\LVIFA_Base.pde

to the board, but could not find this file.

In fact - after installing the Arduino toolkit for LV, I have - in the firmware dir - a LIFA_BASE folder and not a LVIFA_BASE folder ???

There is something wrong with either the instructions or the package...

Any help is greatly appreciated.

Thanks

Holger

11536 Views
2 Comments

Does anyone know how to generate a sine wave on one of the analog outputs using Labview and an Arduino board? I've found some stuff on the web which says you can do it using the PWM output using the arduino compiler/uploader, but I don't know how to translate this code to Labview. I'm new to using arduino and Labview, so any help would be appreicated.

11453 Views
1 Comment

I think that LIFA is really an awsome tool by allowing a unique GUI interface to the Arduino. I wanted to share this project that I did for school. It's a wireless electrocardiogram that uses 3 leads. Inside the black box, is the ATMega328 processor (what is found on the Arduino) with all the signal conditioning and a Xbee unit. The device measures 3.8" x 2.4" x 1" and is carried in a simple case attached to a pocket. The ECG signal is transmitted to a computer for LabView to graph. But wait there's more! The ECG is also saved to a database to be viewed in real time over a webpage or Android App. All possible thanks to LIFA.

Attached is a word document with device and program screenshots.

11800 Views
0 Comments

Dear all,

Despite the obvious possibilities of using Arduino via LabView (or via Matlab or Python) to control instruments in scientific research settings, the Arduino platform had not been used very commonly. In an attempt to demonstrate the possibilities in driving LED intensity in neuroscience applications, we published the following paper:

Teikari, Petteri, Raymond P. Najjar, Hemi A.I. Malkki, Kenneth Knoblauch, Dominique Dumortier, Claude Gronfier, and Howard M. Cooper. “An Inexpensive Arduino-based LED Stimulator System for Vision Research.” Journal of Neuroscience Methods in press (2012). http://dx.doi.org/10.1016/j.jneumeth.2012.09.012

With the program code examples (LabView, Matlab and Python) available from Google Code:

http://code.google.com/p/arduino-v-neusci/

Hopefully our example will inspire other scientists to use Arduino with their research problems.

Best,

Petteri

10716 Views
0 Comments

I have been trying to install LIFA for the last 1month,but am still failing,i have LABVIEW 2010 SETUP.

21440 Views
13 Comments

Hi,

I am new to LIFA. i have a project , in which i want to  continously aquire my 2 sensors anlog voltage signal with labview using ardino. i am able to aquire one sensor output using th example: continous signal aquiring(given in the examples). but i want to aquire 2 sensor signals from analog port 0 and port 1simultaneously. how is it possible? can any one help me please.

12084 Views
3 Comments

Hello

I'm new to labview and arduino, I have installed all the needed software and hardware need to run labview and arduino uno.

I have an easy drive 4.4, stepper motor and power supply.

I have done all the arduino learn kit cirects using labview and all worked OK, so I think have all the needed software and hardware correctly.

when i try to operate a stepper motor using the labview example (the one which comes with the LVIFA) nothing happens, i tested the motor and the hardware using the arduino example code and the motor work.

can someone help me i'm quite desperate.

arduino code:

int Distance = 0; // Record the number of steps we've taken

void setup() {               
pinMode(8, OUTPUT); 
pinMode(9, OUTPUT);
digitalWrite(8, LOW);
digitalWrite(9, LOW);
}

void loop() {
digitalWrite(9, HIGH);
delayMicroseconds(100); 
digitalWrite(9, LOW); 
delayMicroseconds(100);
  Distance = Distance + 1;   // record this step
  
  // Check to see if we are at the end of our move
  if (Distance == 3600)
  {
    // We are! Reverse direction (invert DIR signal)
if (digitalRead(8) == LOW)
    {
digitalWrite(8, HIGH);
    }
    else
    {
digitalWrite(8, LOW);
    }
    // Reset our distance back to zero since we're
    // starting a new move
    Distance = 0;
    // Now pause for half a second
    delay(500);
  }
}

thank.

kobi

9892 Views
0 Comments

Hi friends myself working with my LabVIEW project which is also based on the 3D image construction so please help me out with a perfect software in NI so that i will install it and finish my project for NI Yantra

2178 Views
0 Comments

Hi friends myself working with my LabVIEW project which is also based on the 3D image construction so please help me out with a perfect software in NI so that i will install it and finish my project for NI Yantra

11952 Views
0 Comments

Hello All,

I am creating a multifunction machine being controlled by an Arduino AT MEGA. I am in need of controlling TWO CAN motorized actuators with Lab View being used as my control interface..Does someone have any suggestions as to how to acomplish this? I am relatively new to Lab View and would appreciate any insights here.

Thanks Larry

13667 Views
0 Comments

Hello, my name is Paul and I need some ideas on how to make a project.

I need to control a fake antenna (I am saying fake because it won't be attached to anything, just for display purposes) using LabView.

The antenna will be very small (about 15cm in diameter and made from light materials). I am using 2 stepper motors with 2 EasyDriver 4.4 drivers and an Arduino UNO R3 board.

The antenna needs to move 360 degrees on a round base and 90 degrees of elevation.

I found a video on youtube that is a lot more complicated and a lot heavier than what I need, but should give you a better perspective of what I am talking about.

http://www.youtube.com/watch?v=vihdaseWNQw

I'm trying to get the antenna to track a satellite. I have to enter the azimuth and elevation of the satellite into LabView, and the antenna, from the 0 position (I will use the magnetic north as 0) will have to move accordingly to face the satellite.

So the base will have to be capable of a 360 degrees turn (for azimuth) and the elevation a 90 degree angle (for elevation).

I drew a quick sketch hoping you will understand better what I'm trying to do. I only connected one stepper motor for a test run. I opened the "Arduino Stepper Motor.vi" in LabView and tested on stepper motor 1. It didn't move (but maybe I didn't set it up correctly in labview). The setup was made exactly as the picture I attached.

The stepper motor 1 (which controls elevation) has to move the antenna 90 degrees. So I'm guesing I have to divide the 90 degrees to 1.8 degrees (the motors deg/step) to find out how many steps I need in total. And the same for stepper motor 2 (360 / 1.8).

So I need a .vi that automaticaly transforms the degrees which you set the elevation and azimuth to steps for the stepper motors. And when I press "Start" the two motors move to the desired position. I also need a "Reset" button to automaticaly come back to the original position (which will be 0 degrees azimuth and 0 degrees elevation - let's say the magnetic north) each time I run the program.

And one more thing: is there an explanation document for the "Arduino Stepper Motor.vi" ?

There are a few things I don't know how to set up, like the "Stepper Configure.vi" - seems like anything I change doesn't really do anything and the same thing with the "Init.vi" , "Stepper write.vi", "Stepper ToGo.vi" or "Stepper Close.vi".

http://img232.imageshack.us/img232/6739/setupdrawing.jpg

http://img20.imageshack.us/img20/5483/setupga.jpg

http://img43.imageshack.us/img43/7730/easydriversteppermotord.png

Thank you !

9877 Views
4 Comments

Hey guys:

I've a bit of a problem. I'm trying to program my Uno to send PWM voltages to a wheelchair (to direct it). Sounds simple, right. Well LIFA is all new to me. I built a simple program to send the signal in response to a button (boolean). As you would guess, the program needs to run continuously. My problem is that the voltages keep cycle without giving either a steady 1.25V when true or 0V when false. I need these values to be steady to get the chair moving. Attached is one segment of the program (all other segments will be similar).

9718 Views
0 Comments

I am receiving error code 5005 when trying to run the examples from Labview. I have the Arduino Uno/LabVIEW 2011 bundle running on Windows XP SP3. I have sucessfully installed all the Software and drivers. I have also successfully uploaded the LIFA base to the Arduino Uno. I have noticed that after installing the Arduino Uno driver, the port displays as "Communication Port (COM3)". All the installation screen captures I have seen have the port listed as "Arduino Uno (COMx)" where x is the port number.

The Arduino Uno is on COM3. MAX has verified the port without errors.

Could the COM port name "Communication Port (COM3)" be the reason for Error Code 5005? Please, I need some help.

14734 Views
4 Comments

Hi

I am newbie in labview and i had interfaced arduino and H bridge motor circuit for direction control and i want to control the motor direction either directly through labview or labview and arduino control i.e

1. Is there any way for controlling motor using L293,NI USB 6008 and labview directly?

2. I had controlled 4 motors using two H bridge with arduino . Now that LIFA is successfully installed , i thought of controlling motors from my labview with arduino as controller interface.How to interface the digital output to labview directly . I own NI USB 6008 , is it possible to interface NI USB 6008 with L293 and control the motors?

Here I have enclosed arduino and labview vi code for controlling the motor using l293d

Regards

Vishal