Twitter Toolkit for LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems casting the LabVIEW date from Twitter response

I'm having problems in my computer to get the tweets, and it looks like the problems is that my regional configurations and language is differnt from English.

I did a quick debug and the Twitter timestamp to Labview Timestamp.vi uses Scan from string and that by default uses the locale configurations.

In my case I have the spanish-mexico format and that's why is failling when trying to cast the Date.

The solution I found was converting the month text to numeric and that was enough for the scan from string to set the correct date (I discard the weekday name since this is not necessary to cast the date).

Best Regards

0 Kudos
Message 1 of 3
(6,547 Views)

podrias mostrar la solucion ?

Saludos Cordiales

0 Kudos
Message 2 of 3
(5,573 Views)

En el VI \vi.lib\LVH\i3 Twitter\SubVIs\Twitter Timestamp to LabVIEW Timestamp.vi

remplace el codigo de la imagen.

Saludos

TwitterTimestamp.png

0 Kudos
Message 3 of 3
(5,573 Views)