Programming an Arduino Uno with LabVIEW

I was wondering if there was any way to reprogram an arduino board using LabVIEW rather than the default arduino software. Specifically, here if my code, which delays an input square wave signal by a number of microseconds specified by the user:

#define DELAYUP 40 //actual delay will be this number plus about 3 us
#define DELAYDOWN 40

void IRQup()
{
  // DELAY PART - finetuned
  delayMicroseconds(DELAYUP);  
  __asm__("nop\n\t""nop\n\t""nop\n\t"); //each nop delays arduino by 1 clock cycle (16 MHz)
  // SET LINE HIGH
  PORTD = B11100000;  // bit 7,6,5 === PIN 7,6,5
}

void IRQdown()
{
  // DELAY PART
  delayMicroseconds(DELAYDOWN);
  // SET PIN 7,6,5 LOW
  PORTD = B00000000; 
}

void setup()
{
  Serial.begin(115200);
  Serial.println("Photon delay 0.1");  // reminder for what has been configured

  Serial.print("  UP delay: ");
  Serial.println(DELAYUP, DEC);
  Serial.print("DOWN delay: ");
  Serial.println(DELAYDOWN, DEC);

  pinMode(7, OUTPUT);
  pinMode(6, OUTPUT);
  pinMode(5, OUTPUT);  
  digitalWrite(7, LOW);
  digitalWrite(6, LOW);
  digitalWrite(5, LOW);// initial state output pin

  pinMode(2, INPUT);    // is irq 0 pin
  pinMode(3, INPUT);    // is irq 1 pin

  attachInterrupt(0, IRQup, RISING);
  attachInterrupt(1, IRQdown, FALLING);
}

void loop() {}  // do nothing

What I want to do is create a GUI using the front panel of LabVIEW in order to run this program and be able to input the values for DELAYUP, DELAYDOWN, and the PORTD values (so that I can change which pins to output to). I want to do this so that I don't have to continually change the arduino code and upload it to the board every time I want to change the delay/output pins.

Is this possible to do through LabVIEW? If so, will it introduce a significant delay while running, or only when I change a value?

Please do not multi-post... http://arduino.cc/forum/index.php/topic,65774.0.html

Sorry I wasn't sure which forum this topic fell under so I didn't think it would be too much trouble to post to both.

This is most certainly possible - the only questions is which route to take. I can tell you right now that you could easily communicate to the Arduino over serial.

Check out some of the links listed below. If you need any example code just ask.

http://goo.gl/Bvdng