Trying to build a DHT22 that is Wireless and logs to Excel using PLX-DAQ

All,

I have gotten this code to upload to my wireless Nano but it is not logging to Excel. It still is sending Temp and Humidity data to Vera though. I guess I need to remove the data printing to Vera then see what happens? If someone knows of code out there that already does this if you could direct me to it that would be great too. I changed the name of the Adafruit DHT class to DHTP and renamed the DHT instances in DHT.h and .cpp to DHTP to get the code to compile. But still no dice. Any suggestions?

#include <Sleep_n0m1.h>
#include <SPI.h>
#include <EEPROM.h>
#include <RF24.h>
#include <Sensor.h>
#include <DHT.h>
#include <DHTP.h>//

#define CHILD_ID_HUM 0
#define CHILD_ID_TEMP 1
#define HUMIDITY_SENSOR_DIGITAL_PIN 3
unsigned long SLEEP_TIME = 30; // Sleep time between reads (in seconds)

#define DHTPIN 3//
#define DHTTYPE DHT22//

Sensor gw;
DHT dht;
Sleep sleep;
float lastTemp;
float lastHum;
boolean metric = true;

DHTP dhtp(DHTPIN, DHTTYPE);//

void setup()
{
gw.begin();
dht.setup(HUMIDITY_SENSOR_DIGITAL_PIN);

// Send the Sketch Version Information to the Gateway
gw.sendSketchInfo(“Humidity”, “1.0”);

// Register all sensors to gw (they will be created as child devices)
gw.sendSensorPresentation(CHILD_ID_HUM, S_HUM);
gw.sendSensorPresentation(CHILD_ID_TEMP, S_TEMP);

metric = gw.isMetricSystem();{

Serial.begin(38400);//
Serial.println(“LABEL,Time,Temperature (F), Humidity (%)”); //

dhtp.begin();//
}
}

void loop()
{
delay(dht.getMinimumSamplingPeriod());

float temperature = dht.getTemperature();
if (isnan(temperature)) {
Serial.println(“Failed reading temperature from DHT”);
} else if (temperature != lastTemp) {
lastTemp = temperature;
if (!metric) {
temperature = dht.toFahrenheit(temperature);
}
gw.sendVariable(CHILD_ID_TEMP, V_TEMP, temperature, 1);
Serial.print("T: ");
Serial.println(temperature);
}

float humidity = dht.getHumidity();
if (isnan(humidity)) {
Serial.println(“Failed reading humidity from DHT”);
} else if (humidity != lastHum) {
lastHum = humidity;
gw.sendVariable(CHILD_ID_HUM, V_HUM, humidity, 1);
Serial.print("H: ");
Serial.println(humidity);
}

{//
// Reading temperature or humidity takes about 250 milliseconds!
// Sensor readings may also be up to 2 seconds ‘old’ (its a very slow sensor)
float h = dhtp.readHumidity();//
float t = dhtp.readTemperature();//
t = ((t*1.8)+32);//Converted from Celsius to Farenheit
delay(60000);//

// check if returns are valid, if they are NaN (not a number) then something went wrong!
if (isnan(t) || isnan(h)) {//
Serial.println(“Failed to read from DHT”);//
} else {
Serial.print(“DATA,TIME,”); Serial.print(t); Serial.print(“,”); Serial.println(h);
}//
}//

// Power down the radio. Note that the radio will get powered back up
// on the next write() call.
delay(1000); //delay to allow serial to fully print before sleep
gw.powerDown();
sleep.pwrDownMode(); //set sleep mode
sleep.sleepDelay(SLEEP_TIME * 1000); //sleep for: sleepTime
}

The error in PLC-DAQ says Data < ASCII 10 or > ASCII 200